private void ListView_SelectionChanged(object sender, SelectionChangedEventArgs e) { Debug.Print(selectedItem.accountName.ToString()); Dispatcher.BeginInvoke(new Action(() => { var editwindow = new AccountView(); editwindow.Show(); })); }
private void Button_Click(object sender, RoutedEventArgs e) { var button = sender as Button; string theValue = button.Tag.ToString(); Debug.Print(theValue); var newWindow = new AccountView(); newWindow.Show(); }
private void NewAccount_Click(object sender, RoutedEventArgs e) { var newAccount = new AccountView(); newAccount.Show(); }
private void EditAccount_Click(object sender, RoutedEventArgs e) { var editAccount = new AccountView(selectedAccount.accountID); editAccount.Show(); }