Exemplo n.º 1
0
 public static ActionsControl GetInstance()
 {
     if (Instance is null)
     {
         Instance = new ActionsControl();
     }
     return(Instance);
 }
Exemplo n.º 2
0
        public static ActionsControl GetInstance()
        {
            var kitten = new Kitteh();

            var control = Instance;

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

            return(Instance = new ActionsControl());
        }