public ShellNewItem(ShellNewList list, string regPath) { this.Owner = list; InitializeComponents(); this.RegPath = regPath; SetSortabled(ShellNewLockItem.IsLocked); }
public ShellNewItem(ShellNewList list, string regPath) { this.Owner = list; InitializeComponents(); this.RegPath = regPath; BtnMoveUp.Visible = BtnMoveDown.Visible = this.CanSort && LockNewItem.IsLocked(); }
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); }