private void gridProcess_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { try { SelectedProcess = Process.GetProcessById((gridProcess.SelectedItem as Process).Id); var objWindow = new DetailsWindow(); objWindow.Resources["MainResources"] = this; objWindow.ShowDialog(); } catch(Exception ex) { MessageBox.Show(ex.Message); } }
private void gridProcess_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { try { SelectedProcess = Process.GetProcessById((gridProcess.SelectedItem as Process).Id); var objWindow = new DetailsWindow(); objWindow.Resources["MainResources"] = this; objWindow.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }