ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/UI/UIMemoryViewer.cs (file contents):
Revision 198 by william, Thu May 31 07:13:43 2012 UTC vs.
Revision 199 by william, Thu May 31 07:20:43 2012 UTC

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/05/31 07:13:43	198
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/05/31 07:20:43	199
@@ -42,7 +42,17 @@ namespace RomCheater.Docking.UI
             this.AcceptedPlugin = null; this.AcceptedProcess = null;
         }
         #region IProcessConfig Members
-        public Process AcceptedProcess { get; set; }
+        private Process _AcceptedProcess;
+        public Process AcceptedProcess
+        {
+            get { return _AcceptedProcess; }
+            set
+            {
+                _AcceptedProcess = value;
+                update_timer.Enabled = (value != null);
+                UpdateEnabled = update_timer.Enabled;
+            }
+        }
         #endregion
         #region IAcceptsPlugin<IConfigPlugin> Members
         public IConfigPlugin AcceptedPlugin { get; set; }