Пример #1
0
 public void SetMenuConfiguration(Utility.MenuConfiguration configIn)
 {
     // Set the current menu configuration, and configure the tool bar.
     m_CurrentMenuConfiguration      = configIn;
     m_MainForm.ToolBarConfiguration = configIn.ToolStandardItems;
     m_CurrentCommandHandler         = null;
 }
 protected override void ShowRefresh()
 {
     Interfaces.ICommandHandler ctl = (Interfaces.ICommandHandler)CurrentlyShownControl;
     if (ctl != null)
     {
         ctl.ProcessCommand(Utility.ViewSpecificCommand.Refresh);
     }
 }
Пример #3
0
        public void SetMenuConfiguration(
            Utility.MenuConfiguration configIn,
            Interfaces.ICommandHandler cmdHandler
            )
        {
            Debug.Assert(cmdHandler != null);

            // Set the current menu configuration, and configure the tool bar.
            m_CurrentMenuConfiguration      = configIn;
            m_MainForm.ToolBarConfiguration = configIn.ToolStandardItems;
            m_CurrentCommandHandler         = cmdHandler;
        }