Beispiel #1
0
 private void close()
 {
     if (!dontClose)
     {
         alive    = false;
         instance = null;
         this.Close();
     }
 }
Beispiel #2
0
        public static void Show(Controller Controller, ActionType Action)
        {
            controller = Controller;

            if (instance != null && instance.touch())
            {
                instance.action = Action;
                if (Action == ActionType.VolumeDown || Action == ActionType.VolumeUp)
                {
                    instance.doIt();
                }
                else
                {
                    Clock.DoOnMainThread(instance.doIt, 200);
                }
            }
            else
            {
                instance = new frmGlobalInfoBox(Action);
            }
        }