Exemplo n.º 1
0
 private void NewTransactionButton_Click(object sender, RoutedEventArgs e)
 {
     var window = new TransactionEntryWindow();
     window.CallingWindow = this;
     window.Show();
 }
Exemplo n.º 2
0
 private void dgTransactionLog_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (dgTransactionLog.SelectedItem != null && dgTransactionLog.SelectedItem is Transaction)
     {
         var transactionEntryWindow = new TransactionEntryWindow(((Transaction)dgTransactionLog.SelectedItem).Guid);
         transactionEntryWindow.CallingWindow = this;
         transactionEntryWindow.Show();
     }
 }