Exemple #1
0
 public static ActionsControl GetInstance()
 {
     if (Instance is null)
     {
         Instance = new ActionsControl();
     }
     return(Instance);
 }
        public static ActionsControl GetInstance()
        {
            var kitten = new Kitteh();

            var control = Instance;

            if (control != null)
            {
                return(control);
            }

            return(Instance = new ActionsControl());
        }