Example #1
0
            HRESULT IOleControlSite.ShowPropertyFrame()
            {
                if (_host.CanShowPropertyPages())
                {
                    _host.ShowPropertyPages();
                    return HRESULT.S_OK;
                }

                return HRESULT.E_NOTIMPL;
            }
Example #2
0
            HRESULT IOleControlSite.ShowPropertyFrame()
            {
                if (host.CanShowPropertyPages())
                {
                    host.ShowPropertyPages();
                    return(HRESULT.S_OK);
                }

                return(HRESULT.E_NOTIMPL);
            }
            internal virtual void Execute(AxHost ctl)
            {
                switch (this.id)
                {
                    case 1:
                        ctl.ShowPropertyPages();
                        return;

                    case 2:
                        ctl.ShowAboutBox();
                        return;

                    case 3:
                        ctl.InvokeEditMode();
                        return;
                }
            }