Пример #1
0
        private void button2_Click_1(object sender, EventArgs e)
        {
            Task_Login abre = new Task_Login();

            this.Hide();
            abre.ShowDialog();
        }
Пример #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("¿Esta seguro de que desea cerrar la sesion?", "Aviso", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         Task_Login abre = new Task_Login();
         this.Hide();
         abre.ShowDialog();
     }
 }