상속: NetIde.Shell.NiWindowPane
예제 #1
0
        public HResult CreateCommandBarWindow(Guid id, out INiWindowPane commandBar)
        {
            commandBar = null;

            try
            {
                commandBar = new CommandBarWindow(id);
                commandBar.SetSite(this);

                return(HResult.OK);
            }
            catch (Exception ex)
            {
                return(ErrorUtil.GetHResult(ex));
            }
        }
예제 #2
0
        public HResult CreateCommandBarWindow(Guid id, out INiWindowPane commandBar)
        {
            commandBar = null;

            try
            {
                commandBar = new CommandBarWindow(id);
                commandBar.SetSite(this);

                return HResult.OK;
            }
            catch (Exception ex)
            {
                return ErrorUtil.GetHResult(ex);
            }
        }