Inheritance: NetIde.Shell.NiWindowPane
Exemplo n.º 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));
            }
        }
Exemplo n.º 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);
            }
        }