Пример #1
0
        public HtmlHelp2SearchPad InitializeSearchPad( )
        {
            HtmlHelp2SearchPad pad = HtmlHelp2SearchPad.Current;

            if (pad == null)
            {
                HtmlHelp2SearchPad.Current = new HtmlHelp2SearchPad();
                pad = HtmlHelp2SearchPad.Current;
            }
            return(pad);
        }
Пример #2
0
        public override void Run( )
        {
            HtmlHelp2SearchPad pad = InitializeSearchPad();

            HostServicesSingleton.HostServices.ShowForm(pad, AddInDockState.DockRightAutoHide);
        }