Пример #1
0
 private void mainLoad(object sender, EventArgs e)
 {
     using (var loginDialogue = new authForm())
     {
         if(loginDialogue.ShowDialog() == DialogResult.Cancel)
             Application.Exit();
     }
 }
Пример #2
0
 public authController(authForm myForm)
 {
     this.myForm = myForm;
 }