Exemple #1
0
 private void ShowProcessOutline(IntPtr handle)
 {
     try
     {
         if (processOutline == null)
         {
             processOutline = new ProcessOutline(handle);
             processOutline.Show();
         }
     }
     catch (Exception ex)
     {
         LogException(ex);
     }
 }
Exemple #2
0
 private void ShowProcessOutline(Process proc)
 {
     try
     {
         WindowItem windowItem = WindowItem.Create(proc);
         if (processOutline == null)
         {
             processOutline = new ProcessOutline(windowItem);
             processOutline.Show();
         }
     }
     catch (Exception ex)
     {
         LogException(ex);
     }
 }
Exemple #3
0
 private void CloseProcessOutline()
 {
     try
     {
         if (processOutline != null)
         {
             uDebugLogAdd("Closing process outline window");
             processOutline.Close();
             processOutline = null;
             uDebugLogAdd("Closed and null'd process outline window");
         }
     }
     catch (Exception ex)
     {
         LogException(ex);
     }
 }