示例#1
0
 private static void ClearMemory()
 {
     Confirm             = null;
     Choice              = null;
     PinWindow           = null;
     Closing             = null;
     BalanceWindow       = null;
     AdvWithdrawWindow   = null;
     ReceiptWindow       = null;
     ReceiptWindow       = null;
     ReceiptWindow       = null;
     PleaseWaitWindow    = null;
     ThanksGoodbyeWindow = null;
     ErrorOccurredWindow = null;
     Return              = null;
 }
示例#2
0
        public static void OpenClosing()
        {
            Application.Current.Dispatcher.Invoke(new Action(() =>
            {
                Window y = GetWindow("Closing");

                if (y != null)
                {
                    y.Activate();
                }
                else
                {
                    Closing = new Closing();
                    Closing.Show();
                }
            }));
        }