private void close() { if (!dontClose) { alive = false; instance = null; this.Close(); } }
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); } }