Ejemplo n.º 1
0
        public ObjectBrowserForm()
        {
            _instance = this;

            using (SplashDialog splash = new SplashDialog()) {
                splash.SplashProductName = ".NET Component Inspector";
                splash.Show();
                Application.DoEvents();
                InitializeComponent();

                new System.Resources.ResourceManager(typeof(ObjectBrowser));
            }

            Show();
            AssemblySupport.AddCurrentAssemblies();
        }
Ejemplo n.º 2
0
        public ObjectBrowser(bool showStatusPanel, bool tabbedLayout)
        {
            TOP_OBJ_NAME = StringParser.Parse("${res:ComponentInspector.ObjectBrowser.TopLevelObjects}");
            int start = Environment.TickCount;

            _objBrowser = this;
            InitTypeHandlers();
            InitializeComponent(showStatusPanel, tabbedLayout);
            CreateControl();

            // Create the designer host after everything is setup
            _designerHost = new DesignerHost(_objTree, _imagePanel.DesignPanel);

            AssemblySupport.AddCurrentAssemblies();
            _helpFile = Directory.GetCurrentDirectory() + "\\CompInsp_" + "1" + ".chm";
            int timeTaken = Environment.TickCount - start;
        }