Beispiel #1
0
        private async void Add_Click(object sender, RoutedEventArgs e)
        {
            TransactionViewModel.transaction = new Transaction();
            AddTransactionDialog md = new AddTransactionDialog(TransactionViewModel);
            MessageDialog        a  = new MessageDialog("Transaction Created!");

            await md.ShowAsync();
        }
        private void AddTransactionButton_Click(object sender, RoutedEventArgs e)
        {
            AddTransactionDialog addTransactionDialog = new AddTransactionDialog();

            addTransactionDialog.ShowAsync();
        }