Esempio n. 1
0
            /// <summary>
            /// Enable Dock Shortcuts
            /// </summary>
            private void EnableDockShortcuts()
            {
                RadDockCommand command = raddock.CommandManager.FindCommandByName(PredefinedCommandNames.NextDocument);

                command.Shortcuts.Clear();
                command.Shortcuts.Add(new RadShortcut(Keys.Shift, Keys.A, Keys.S));
            }
Esempio n. 2
0
        private void executeCommand_Click(object sender, EventArgs e)
        {
            RadDockCommand command = this.SelectedCommand;

            if (command != null)
            {
                this.radDock1.CommandManager.ExecuteCommand(command.Name);
            }
        }