Пример #1
0
 /** [シングルトン]インスタンス。作成。
  */
 public static void CreateInstance()
 {
     if (s_instance == null)
     {
         s_instance = new TaskW();
     }
 }
Пример #2
0
 /** [シングルトン]インスタンス。削除。
  */
 public static void DeleteInstance()
 {
     if (s_instance != null)
     {
         s_instance.Delete();
         s_instance = null;
     }
 }