Beispiel #1
0
        void Button5Click(object sender, EventArgs e)
        {
            tablas t1 = new tablas();

            t1.Show();
            this.Dispose();
        }
Beispiel #2
0
 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");}
 }
Beispiel #3
0
 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");
     }
 }
Beispiel #4
0
 void Button5Click(object sender, EventArgs e)
 {
     tablas t1=new tablas();
     t1.Show();
     this.Hide();
 }