private void OnEditClick(object sender, RoutedEventArgs e) { View.WorkerEditing editor = new View.WorkerEditing(); editor.ShowDialog(); }
private void OnEditClick(object sender, RoutedEventArgs e) { WorkerEditing editor = new WorkerEditing(listWorkers.SelectedIndex); editor.ShowDialog(); }