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