コード例 #1
0
 public static HXCControlButtonBase Instance()
 {
     if (_instance == null)
     {
         lock (_syncLock)
         {
             if (_instance == null)
             {
                 _instance = new HXCControlButtonBase();
             }
         }
     }
     return _instance;
 }
コード例 #2
0
 public static HXCControlButtonBase Instance()
 {
     if (_instance == null)
     {
         lock (_syncLock)
         {
             if (_instance == null)
             {
                 _instance = new HXCControlButtonBase();
             }
         }
     }
     return(_instance);
 }