//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// void InitialiseInterfaceListeners() { LoggingUtils.PrintFunction(); // // Register command (UI button/element) listener. // OleMenuCommandService menuCommandService = GetService(typeof(IMenuCommandService)) as OleMenuCommandService; m_interfaceEventListener = new UiCommandEventListener(this); m_interfaceEventListener.RegisterCallbacks(menuCommandService); }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// void InitialiseInterfaceListeners () { LoggingUtils.PrintFunction (); // // Register command (UI button/element) listener. // OleMenuCommandService menuCommandService = GetService (typeof (IMenuCommandService)) as OleMenuCommandService; m_interfaceEventListener = new UiCommandEventListener (this); m_interfaceEventListener.RegisterCallbacks (menuCommandService); }