Exemplo n.º 1
0
 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);
    }
 }
Exemplo n.º 2
0
 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);
     }
 }