public MainWindow()
 {
     InitializeComponent();
     Loaded += fillDataGrid;
     Payment.TextChanged += Payment_TextChanged;
     wallet = new WalletWindow();
 }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            WalletWindow newWallet = new WalletWindow(wallet);

            newWallet.ShowDialog();
        }
示例#3
0
 public WalletWindow(WalletWindow wallet)
 {
     this.Content = wallet.Content;
 }