Ejemplo n.º 1
0
        public ShortcutBar()
        {
            _theInstance = this;

            // This call is required by the Windows.Forms Form Designer.
            InitializeComponentSelf();

            _lblOrganize      = new Label();
            _lblOrganize.Text = "Organize...";
        }
Ejemplo n.º 2
0
 public void Execute(IActionContext context)
 {
     ShortcutBar.GetInstance().OrganizeShortcuts();
 }
Ejemplo n.º 3
0
 public void Update(IActionContext context, ref ActionPresentation presentation)
 {
     presentation.Enabled = ShortcutBar.GetInstance() != null &&
                            ShortcutBar.GetInstance().ShortcutCount > 0;
 }
Ejemplo n.º 4
0
 public override void Execute(IActionContext context)
 {
     ShortcutBar.GetInstance().AddShortcutsFromList(context.SelectedResources);
     Core.UIManager.ShortcutBarVisible = true;
 }