コード例 #1
0
        private void cancelButton_Click(object sender, RoutedEventArgs e)
        {
            TransactionWindow openTransactionWindow = new TransactionWindow();

            openTransactionWindow.Show();
            this.Close();
        }
コード例 #2
0
 private void ShowTransactions(object sender, RoutedEventArgs e)
 {
     if (Transactions == null)
     {
         Transactions = new TransactionWindow();
         Transactions.Show();
         this.Hide();
     }
     else
     {
         Transactions.Show();
         this.Hide();
     }
 }