private void EditRow(object sender, RoutedEventArgs e) { try { var itm = (TableRow)table.SelectedItem; var wnd = new NewRow(itm); wnd.Show(); } catch (Exception) { } }
private void AddRow(object sender, RoutedEventArgs e) { NewRow wnd = new NewRow(Table); wnd.ShowDialog(); }