Beispiel #1
0
        private void InitializeComponent(RetrievingAssemblyData assemblyData)
        {
            this.pMenu  = new PanelMenu();
            this.bTools = new ToolsButton();
            this.pMenu.SuspendLayout();
            this.SuspendLayout();
            //
            // InitializeMenuButtons
            //
            InitializeMenuButtons();
            //
            // InitializePanels
            //
            InitializePanels();
            //
            // MainForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
            this.ClientSize          = new System.Drawing.Size(1184, 766);
            this.FormBorderStyle     = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "MainForm";
            this.Text = assemblyData.AssemblyTitle;

            this.Controls.Add(this.bTools);
            this.Controls.Add(this.pMenu);
            this.pMenu.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Beispiel #2
0
        public MainForm()
        {
            Thread splashThread = new Thread(new ThreadStart(SplashscreenStart));

            splashThread.Start();
            Thread.Sleep(3000);
            var assemblyData = new RetrievingAssemblyData();

            queries = new Classes.MapDB.Queries();
            InitializeComponent(assemblyData);
            splashThread.Abort();
        }