コード例 #1
0
 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);
 }
コード例 #2
0
        public static Timer_State getinstance()
        {
            if (instance == null)
            {
                instance = new Timer_State();
            }

            return(instance);
        }