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

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