/* * Placeholder method to change to other */ private void Button_Click(object sender, RoutedEventArgs e) { System.Diagnostics.Debug.WriteLine("C# is gwn kut"); PinWindow pw = new PinWindow(); pw.Show(); }
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; }
public static void OpenPinWindow() { Application.Current.Dispatcher.Invoke(new Action(() => { Window w = GetWindow("PinWindow"); if (w != null) { w.Activate(); } else { PinWindow = new PinWindow(); PinWindow.Show(); } })); }