Ejemplo n.º 1
0
		public static ActionControl GetInstance() {
			if (instanceAction != null) {
				return instanceAction;
			}
			 lock (typeof(ActionControl)) {
						if (instanceAction == null) {
							instanceAction = new ActionControl();
						}
						return instanceAction;
					}
		}
Ejemplo n.º 2
0
 public static ActionControl GetInstance()
 {
     if (instanceAction != null)
     {
         return(instanceAction);
     }
     lock (typeof(ActionControl)) {
         if (instanceAction == null)
         {
             instanceAction = new ActionControl();
         }
         return(instanceAction);
     }
 }
Ejemplo n.º 3
0
 public void Paused(bool pause)
 {
     ActionControl.GetInstance().Paused(pause, original);
 }