public static Timer_State getinstance(System.Windows.Forms.Form form) { if (instance == null) { instance = new Timer_State(); } form.FormClosing += new System.Windows.Forms.FormClosingEventHandler(instance.formclosing); return(instance); }
public static Timer_State getinstance() { if (instance == null) { instance = new Timer_State(); } return(instance); }