/// <summary> /// Enter the TransactionMenu from another window. /// </summary> /// <param name="account"></param> public static void EnterTransactionMenu(Account account) { TransactionMenu transactionMenu = new TransactionMenu(); transactionMenu.account = account; transactionMenu.Show(); }
/// <summary> /// Close the window and go to the TransactionMenu for the selected account. /// </summary> /// <param name="account"></param> private void GoToTransactionMenu(Account account) { Hide(); TransactionMenu.EnterTransactionMenu(account); }