internal void RaisePropertyChanged(WatchController item) { if (null != PropertyChanged) { PropertyChanged(item, new PropertyChangedEventArgs("")); } }
/// <summary> /// Creates an instance of the class /// </summary> public AddinGuardControl() { try { InitializeComponent(); if (!Program.IsDesign) { 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 = !Program.IsAdmin; labelNoAdminHint.Visible = !Program.IsAdmin; labelNoAdminHintIcon.Visible = !Program.IsAdmin; _controller.ReadOnlyModeForMachineKeys = !Program.IsAdmin; } } catch (Exception exception) { Forms.ErrorForm.ShowError(exception,ErrorCategory.NonCritical, 1033); } }
/// <summary> /// Creates an instance of the class /// </summary> public AddinGuardControl() { try { InitializeComponent(); if (!Program.IsDesign) { 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 = !Program.IsAdmin; labelNoAdminHint.Visible = !Program.IsAdmin; labelNoAdminHintIcon.Visible = !Program.IsAdmin; _controller.ReadOnlyModeForMachineKeys = !Program.IsAdmin; } } catch (Exception exception) { Forms.ErrorForm.ShowError(exception, ErrorCategory.NonCritical, 1033); } }
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 AddinKeyValue(WatchController root, AddinKey parent, string valueName, RegistryValueKind valueKind, object value) { _root = root; _parent = parent; _valueName = valueName; _valueKind = valueKind; _value = value; }
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(); }
public AddinsKey(WatchController parent,string name, RegistryKey rootKey, string registryPath) { _parent = parent; _rootKey = rootKey; _name = name; _registryPath = registryPath; _addinList = new List<AddinKey>(); GetKeySubKeys(); }
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 AddinKey(WatchController root, AddinsKey item, string registryPath, string subKeyName) { _root = root; _parent = item; _registryPath = registryPath; _subKeyName = subKeyName; GetKeyValueCount(); GetValueInfos(); }
internal DisabledItems(WatchController parent) { _parent = parent; }
internal AddinItems(WatchController parent) { _parent = parent; }
internal DisabledItems(WatchController parent) { _parent = parent; }
internal void RaisePropertyChanged(WatchController item) { if (null != PropertyChanged) PropertyChanged(item, new PropertyChangedEventArgs("")); }
internal WatchNotify(WatchController parent) { _parent = parent; _trayIcon = new NotifyIcon(new System.ComponentModel.Container()); }
internal AddinItems(WatchController parent) { _parent = parent; }
internal WatchNotify(WatchController parent) { _parent = parent; _trayIcon = new NotifyIcon(new System.ComponentModel.Container()); }