private void EditBtn_Click(object sender, RoutedEventArgs e) { var acc = this.AccountListView.SelectedItem as Account; if (acc == null) { this.LogLabel.Content = "Not selected"; } else { _accForm.EditMode(acc); _accForm.Show(); } }
private void EditBtn_Click(object sender, RoutedEventArgs e) { var acc = this.AccountListView.SelectedItem as Account; if (acc == null) { this.LogLabel.Content = "Not selected"; } else { _accForm.EditMode(acc); _accForm.Show(); } }