private void cancelButton_Click(object sender, RoutedEventArgs e) { TransactionWindow openTransactionWindow = new TransactionWindow(); openTransactionWindow.Show(); this.Close(); }
private void ShowTransactions(object sender, RoutedEventArgs e) { if (Transactions == null) { Transactions = new TransactionWindow(); Transactions.Show(); this.Hide(); } else { Transactions.Show(); this.Hide(); } }