void Button5Click(object sender, EventArgs e) { tablas t1 = new tablas(); t1.Show(); this.Dispose(); }
void Button1Click(object sender, EventArgs e) { if(this.textBox1.Text == "eduardo" && this.textBox2.Text == "123"){ this.Hide(); tablas t1=new tablas(); t1.Show(); System.Windows.Forms.DialogResult advertencia = MessageBox.Show("\t"+"Bienvenido Borja"); }else if (this.textBox1.Text == "arias" && this.textBox2.Text == "12345"){ this.Hide(); tablas t1=new tablas(); t1.Show(); System.Windows.Forms.DialogResult advertencia = MessageBox.Show("\t"+"Bienvenido Arias"); } else{System.Windows.Forms.DialogResult advertencia = MessageBox.Show("\t"+"ContraseƱa Erronea Intenta de nuevo");} }
void Button1Click(object sender, EventArgs e) { if (this.textBox1.Text == "eduardo" && this.textBox2.Text == "123") { this.Hide(); tablas t1 = new tablas(); t1.Show(); System.Windows.Forms.DialogResult advertencia = MessageBox.Show("\t" + "Bienvenido Borja"); } else if (this.textBox1.Text == "arias" && this.textBox2.Text == "12345") { this.Hide(); tablas t1 = new tablas(); t1.Show(); System.Windows.Forms.DialogResult advertencia = MessageBox.Show("\t" + "Bienvenido Arias"); } else { System.Windows.Forms.DialogResult advertencia = MessageBox.Show("\t" + "ContraseƱa Erronea Intenta de nuevo"); } }
void Button5Click(object sender, EventArgs e) { tablas t1=new tablas(); t1.Show(); this.Hide(); }