Está en la página 1de 2

public partial class Form1 : Form { DateTime current = DateTime.Now; //Convert.

ToDateTime(07/11/2013); public Form1() { InitializeComponent(); } private void InitializeComponent() { this.label2 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.btnASEPTAR = new System.Windows.Forms.Button(); this.btnSALIR =new System.Windows.Forms.Button(); this.suspendLayout(); // // Label1 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(4, 37); this.label2.Name = "label1"; this.label2.Size = new System.Drawing.Size(133, 13); this.label2.TabIndex = 0; this.label2.Text = "Por favor digite su nombre:"; // //textbox1 // this.textBox1.Location = new System.Drawing.Point(138, 37); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(166, 20); this.textBox1.TabIndex = 1; this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); // //btnAceptar // private void textBox1_TextChanged(object sender, EventArgs e) { //textBox1.TextAlignChanged += new EventHandler(textBox1_TextChanged); //Text = "Hola, Windows Form"; if (textBox1.Text != String.Empty) Text = "Hola , " + textBox1.Text; }

//DateTime current= 00:00; string[] messages = { "Por favor digite su nombre antes de precionar Aceptar", "Bienvenido a su primer programa de Windows Form" }; string[] titles = { "Dialogo de datos errneos",

"Dialodo de Windows Hola" };

Te invito a un lugar precioso; a un lugar donde me mirars de otra forma y con otros ojos. Ven conmigo hacia esa otra realidad. Ven conmigo a ese lugar sin titubear. Toma mi mano y huyamos de ac. Toma mi mano y fugumonos hacia un sueo, hacia un oasis en el desierto, o hacia un club de poetas muertos.

También podría gustarte