internal void RaisePropertyChanged(WatchController item) { if (null != PropertyChanged) { PropertyChanged(item, new PropertyChangedEventArgs("")); } }
public AddinGuardControl() { try { InitializeComponent(); if (!DesignMode) { panelDeactivatedElements.Location = panelRegistryValues.Location; panelDeactivatedElements.Size = panelRegistryValues.Size; labelColorLegendCaption.Location = labelIconLegendCaption.Location; splitContainer1.Panel2.Controls.Add(panelInfos); panelInfos.Location = panelRegistryValues.Location; panelInfos.Size = panelRegistryValues.Size; panelInfos.Visible = true; panelColorLegend.Location = panelIconLegend.Location; panelColorLegend.Size = panelIconLegend.Size; _controller = new WatchController(); _controller.PropertyChanged += new PropertyChangedEventHandler(_controller_PropertyChanged); _controller.WatchNotify.MessageFired += new EventHandler(WatchNotify_MessageFired); pictureBoxNoAdmin.Visible = !IsAdministrator(); labelNoAdminHint.Visible = !IsAdministrator(); labelNoAdminHintIcon.Visible = !IsAdministrator(); _controller.ReadOnlyModeForMachineKeys = !IsAdministrator(); } } catch (Exception exception) { ErrorForm errorForm = new ErrorForm(exception, ErrorCategory.NonCritical, _currentLanguageID); errorForm.ShowDialog(this); } }
internal AddinKeyValue(WatchController root, AddinKey parent, string valueName, RegistryValueKind valueKind, object value) { _root = root; _parent = parent; _valueName = valueName; _valueKind = valueKind; _value = value; }
internal DisabledValue(WatchController root, DisabledKey item, string valueName, object value) { _root = root; _parent = item; _valueName = valueName; _disabledItemName = GetDisabledItemName(value as string); _value = value; }
public DisabledKey(WatchController parent, string name, RegistryKey rootKey, string registryPath) { _parent = parent; _rootKey = rootKey; _name = name; _registryPath = registryPath; GetKeyValueCount(); }
internal AddinKey(WatchController root, AddinsKey item, string registryPath, string subKeyName) { _root = root; _parent = item; _registryPath = registryPath; _subKeyName = subKeyName; GetKeyValueCount(); GetValueInfos(); }
public AddinsKey(WatchController parent, string name, RegistryKey rootKey, string registryPath) { _parent = parent; _rootKey = rootKey; _name = name; _registryPath = registryPath; _addinList = new List <AddinKey>(); GetKeySubKeys(); }
internal AddinItems(WatchController parent) { _parent = parent; }
internal DisabledItems(WatchController parent) { _parent = parent; }
internal WatchNotify(WatchController parent) { _parent = parent; _trayIcon = new NotifyIcon(new System.ComponentModel.Container()); }
public AddinsKey(WatchController parent,string name, RegistryKey rootKey, string registryPath) { _parent = parent; _rootKey = rootKey; _name = name; _registryPath = registryPath; _addinList = new List<AddinKey>(); GetKeySubKeys(); }
internal void RaisePropertyChanged(WatchController item) { if (null != PropertyChanged) PropertyChanged(item, new PropertyChangedEventArgs("")); }