예제 #1
0
        public void OpenLogin()
        {
            Hide();
            var login = new Login.Login(this);

            login.Show();
        }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Login.Login login = new Login.Login();
     this.Hide();
     login.ShowDialog(this);
     this.Close();
 }
예제 #3
0
파일: Main.cs 프로젝트: PacoErik/TPGDD
        private void Usuario_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form f1 = new Login.Login(this);

            f1.ShowDialog();
            this.Show();
        }
예제 #4
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (Globals.tipoRol != 0)
     {
         var newForm = new Login.Login();
         newForm.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Acceso restringido");
     }
 }