/[RomCheater]/trunk/RomCheater/Docking/PIDSelector.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/PIDSelector.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/PIDSelector.cs	2012/06/05 10:52:57	296
+++ trunk/RomCheater/Docking/PIDSelector.cs	2012/06/07 16:33:41	323
@@ -26,12 +26,7 @@
         public PIDSelector(int pid) : this() { this.ProcessPID = pid; }
         [Obsolete("constructor PIDSelector(IConfigPlugin plugin, int pid) is not implemented", false)]
         public PIDSelector(IConfigPlugin plugin, int pid) : this(plugin) { this.ProcessPID = pid; }
-
-
-        private void OnProcessChanged(ProcessChangedEventArgs e)
-        {
-        }
-
+        
         #region IAcceptsProcessPID
         public int ProcessPID { get; set; }
         #endregion
@@ -78,7 +73,7 @@
             logger.Debug.WriteLine("Using Process: ({0} : {1})", SelectedProcess.Id, SelectedProcess.ProcessName);
             //this.Close();
             if (OnSelectedProcessChanged != null)
-                OnSelectedProcessChanged(new ProcessChangedEventArgs(this.ProcessPID));           
+                OnSelectedProcessChanged(new ProcessChangedEventArgs(this, this.ProcessPID));           
         }
         private void btnOK_Click(object sender, EventArgs e)
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22