Exemplo n.º 1
0
 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 });
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
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.º 5
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);
 }
Exemplo n.º 7
0
 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();
 }