Ejemplo n.º 1
0
 public static Login_Form GetInstance()
 {
     if (Login_Form.loginFormInstance == null)
     {
         Login_Form.loginFormInstance             = new Login_Form();
         Login_Form.loginFormInstance.FormClosed += new FormClosedEventHandler(loginFormInstance_FormClosed);
     }
     return(Login_Form.loginFormInstance);
 }
Ejemplo n.º 2
0
 static void loginFormInstance_FormClosed(object sender, FormClosedEventArgs e)
 {
     Login_Form.loginFormInstance = null;
 }