private VisibleRegRuleItem(ItemInfo info) : base(info) { ChkVisible = new VisibleCheckBox(this); MyToolTip.SetToolTip(ChkVisible, info.Tip); TsiRegLocation = new RegLocationMenuItem(this); this.ContextMenuStrip.Items.AddRange(new ToolStripItem[] { new ToolStripSeparator(), TsiRegLocation }); }
private RegRuleItem(ItemInfo info) { this.Text = info.Text; this.Image = info.Image; this.RestartExplorer = info.RestartExplorer; ChkVisible = new VisibleCheckBox(this); MyToolTip.SetToolTip(ChkVisible, info.Tip); }
private RegRuleItem(ItemInfo info) { this.Text = info.Text; this.Image = info.Image; this.RestartExplorer = info.RestartExplorer; BtnShowMenu = new MenuButton(this); ChkVisible = new VisibleCheckBox(this); MyToolTip.SetToolTip(ChkVisible, info.Tip); TsiSearch = new WebSearchMenuItem(this); this.ContextMenuStrip = new ContextMenuStrip(); this.ContextMenuStrip.Items.Add(TsiSearch); }
public ShellNewLockItem(ShellNewList list) { this.Owner = list; this.Image = AppImage.Lock; this.Text = AppString.Other.LockNewMenu; BtnShowMenu = new MenuButton(this); ChkVisible = new VisibleCheckBox(this) { Checked = IsLocked }; MyToolTip.SetToolTip(ChkVisible, AppString.Tip.LockNewMenu); TsiSearch = new WebSearchMenuItem(this); TsiRegLocation = new RegLocationMenuItem(this); this.ContextMenuStrip.Items.AddRange(new ToolStripItem[] { TsiSearch, new ToolStripSeparator(), TsiRegLocation }); }
public LockNewItem(ShellNewList list) { this.Owner = list; this.Image = AppImage.Lock; this.Text = AppString.Item.LockNewMenu; this.SetNoClickEvent(); ChkVisible = new VisibleCheckBox(this) { Margin = new Padding(Margin.Left, Margin.Top, RegRuleItem.SysMarginRignt, Margin.Bottom), Checked = IsLocked() }; MyToolTip.SetToolTip(ChkVisible, AppString.Tip.LockNewMenu); }
public ShellNewLockItem(ShellNewList list) { this.Owner = list; this.Image = AppImage.Lock; this.Text = AppString.Other.LockNewMenu; this.SetNoClickEvent(); BtnShowMenu = new MenuButton(this); ChkVisible = new VisibleCheckBox(this) { Checked = IsLocked }; MyToolTip.SetToolTip(ChkVisible, AppString.Tip.LockNewMenu); TsiSearch = new WebSearchMenuItem(this); this.ContextMenuStrip = new ContextMenuStrip(); this.ContextMenuStrip.Items.Add(TsiSearch); }
private void InitializeComponents() { BtnShowMenu = new MenuButton(this); ChkVisible = new VisibleCheckBox(this); TsiSearch = new WebSearchMenuItem(this); TsiFileLocation = new FileLocationMenuItem(this); TsiFileProperties = new FilePropertiesMenuItem(this); TsiRegLocation = new RegLocationMenuItem(this); TsiDeleteMe = new DeleteMeMenuItem(this); TsiRegExport = new RegExportMenuItem(this); TsiHandleGuid = new HandleGuidMenuItem(this); this.ContextMenuStrip.Items.AddRange(new ToolStripItem[] { TsiHandleGuid, new ToolStripSeparator(), TsiDetails, new ToolStripSeparator(), TsiDeleteMe }); TsiDetails.DropDownItems.AddRange(new ToolStripItem[] { TsiSearch, new ToolStripSeparator(), TsiFileProperties, TsiFileLocation, TsiRegLocation, TsiRegExport }); }
public EnhanceShellItem() { ChkVisible = new VisibleCheckBox(this); this.SetNoClickEvent(); }
public EnhanceShellItem() { ChkVisible = new VisibleCheckBox(this); this.Indent(); }