Exemple #1
0
        private void initialize()
        {
            ExtensionManager pluginManager = ExtensionManager.GetInstance();

            pluginManager.Initialize(new string[] { Application.StartupPath + "\\NitroCast.Extensions.Default.dll" });

            DataTypeManager.Init();

            this.Icon = Properties.Resources.NitroCast;
            this.Text = Localization.Strings.NitroCast;

            progressStatusBar = new NitroCast.Controls.ProgressStatusBar();

            StatusBarPanel pnlInfo     = new StatusBarPanel();
            StatusBarPanel pnlProgress = new StatusBarPanel();

            pnlInfo.Text         = "Ready";
            pnlInfo.Width        = 450;
            pnlProgress.AutoSize = StatusBarPanelAutoSize.Spring;

            progressStatusBar.Panels.Add(pnlInfo);
            progressStatusBar.Panels.Add(pnlProgress);
            progressStatusBar.ShowPanels         = true;
            progressStatusBar.ProgressPanelIndex = 1;
            this.Controls.Add(progressStatusBar);



            mOutput           = new ModelOutput();
            mOutput.MdiParent = this;
            mOutput.Show();

            mExplorer           = new ModelExplorer();
            mExplorer.MdiParent = this;
            mExplorer.Show();
        }