override protected void InitialiseFeatures() { base.InitialiseFeatures(); CommandHandling.HideCommand("toolstripListOrdered", ToolBar.Items); CommandHandling.HideCommand("toolstripListUnordered", ToolBar.Items); CommandHandling.HideCommand("toolstripInsertTable", ToolBar.Items); }
private void InitialiseFeatures() { // remove whole 'Document' submenu base.InitialiseFeatures(true); // Don't need the Enable Edit because we implement Ctrl+Click CommandHandling.HideCommand("toolstripEnableEditing", ToolBar.Items); }
private void InitialiseFeatures() { // remove whole 'Document' submenu CommandHandling.HideCommand("contextDocument", ContextMenu.Items); CommandHandling.HideCommand("contextDocumentPrint", ContextMenu.Items); CommandHandling.HideCommand("toolstripDocumentPrint", ToolBar.Items); // // CommandHandling.SetMenuShortcut("contextFormatStrikeout", Keys.Control | Keys.Subtract, ContextMenu.Items); // CommandHandling.SetMenuShortcut("contextFormatIncrease", Keys.Control | Keys.Decimal, ContextMenu.Items); // CommandHandling.SetMenuShortcut("contextFormatDecrease", Keys.Control | Keys.Oemcomma, ContextMenu.Items); // TODO }
virtual protected void InitialiseFeatures() { // remove whole 'Document' submenu base.InitialiseFeatures(true); // extras CommandHandling.HideCommand("contextInsertLink", ContextMenu.Items); CommandHandling.HideCommand("toolstripEnableEditing", ToolBar.Items); CommandHandling.HideCommand("toolstripInsertLink", ToolBar.Items); //CommandHandling.HideCommand("", ToolBar.Items); //CommandHandling.HideCommand("", ToolBar.Items); //CommandHandling.HideCommand("", ToolBar.Items); }
virtual protected void InitialiseFeatures() { // remove whole 'Document' submenu CommandHandling.HideCommand("contextDocument", ContextMenu.Items); CommandHandling.HideCommand("contextDocumentPrint", ContextMenu.Items); CommandHandling.HideCommand("toolstripDocumentPrint", ToolBar.Items); CommandHandling.HideCommand("toolstripEnableEditing", ToolBar.Items); CommandHandling.HideCommand("toolstripFindReplace", ToolBar.Items); CommandHandling.HideCommand("toolstripInsertLink", ToolBar.Items); CommandHandling.HideCommand("", ToolBar.Items); CommandHandling.HideCommand("", ToolBar.Items); CommandHandling.HideCommand("", ToolBar.Items); }