コード例 #1
0
        /// <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();
        }
コード例 #2
0
ファイル: EntryMenu.cs プロジェクト: unseenshadow2/C_Sharp_1
 /// <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);
 }