Beispiel #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.banner         = new PdnBanner();
     this.copyrightLabel = new System.Windows.Forms.Label();
     this.progressBar    = new ProgressBar();
     this.SuspendLayout();
     //
     // banner
     //
     this.banner.Name     = "banner";
     this.banner.Location = new Point(0, 0);
     this.banner.Dock     = DockStyle.Top;
     //
     // copyrightLabel
     //
     this.copyrightLabel.BackColor = System.Drawing.Color.White;
     this.copyrightLabel.Dock      = DockStyle.Top;
     this.copyrightLabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.copyrightLabel.Name      = "copyrightLabel";
     this.copyrightLabel.Size      = new System.Drawing.Size(this.banner.ClientSize.Width, 28);
     this.copyrightLabel.TabIndex  = 3;
     this.copyrightLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // progressBar
     //
     this.progressBar.Minimum = 0;
     this.progressBar.Maximum = 0;
     this.progressBar.Value   = 0;
     this.progressBar.Style   = ProgressBarStyle.Marquee;
     this.progressBar.MarqueeAnimationSpeed = 30;
     this.progressBar.Dock = DockStyle.Top;
     this.progressBar.Size = new Size(this.banner.ClientSize.Width, 0);
     //
     // SplashForm
     //
     this.AutoScaleDimensions = new SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(
         this.banner.ClientSize.Width,
         this.banner.ClientSize.Height + this.copyrightLabel.ClientSize.Height + this.progressBar.ClientSize.Height);
     this.ControlBox = false;
     this.Controls.Add(this.copyrightLabel);
     this.Controls.Add(this.progressBar);
     this.Controls.Add(this.banner);
     this.FormBorderStyle = FormBorderStyle.None;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SplashForm";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = SizeGripStyle.Hide;
     this.StartPosition   = FormStartPosition.CenterScreen;
     this.ResumeLayout(false);
 }
Beispiel #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.okButton       = new System.Windows.Forms.Button();
     this.creditsLabel   = new System.Windows.Forms.Label();
     this.richCreditsBox = new System.Windows.Forms.RichTextBox();
     this.copyrightLabel = new System.Windows.Forms.TextBox();
     this.pdnBanner      = new PixelDotNet.PdnBanner();
     this.versionLabel   = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.Anchor       = System.Windows.Forms.AnchorStyles.Bottom;
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.okButton.Location     = new System.Drawing.Point(139, 346);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 0;
     //
     // creditsLabel
     //
     this.creditsLabel.Location = new System.Drawing.Point(7, 132);
     this.creditsLabel.Name     = "creditsLabel";
     this.creditsLabel.Size     = new System.Drawing.Size(200, 16);
     this.creditsLabel.TabIndex = 5;
     //
     // richCreditsBox
     //
     this.richCreditsBox.CausesValidation = false;
     this.richCreditsBox.Location         = new System.Drawing.Point(10, 153);
     this.richCreditsBox.Name             = "richCreditsBox";
     this.richCreditsBox.ReadOnly         = true;
     this.richCreditsBox.Size             = new System.Drawing.Size(476, 187);
     this.richCreditsBox.TabIndex         = 6;
     this.richCreditsBox.Text             = "";
     this.richCreditsBox.LinkClicked     += new System.Windows.Forms.LinkClickedEventHandler(this.RichCreditsBox_LinkClicked);
     //
     // copyrightLabel
     //
     this.copyrightLabel.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.copyrightLabel.Location    = new System.Drawing.Point(10, 95);
     this.copyrightLabel.Multiline   = true;
     this.copyrightLabel.Name        = "copyrightLabel";
     this.copyrightLabel.ReadOnly    = true;
     this.copyrightLabel.Size        = new System.Drawing.Size(481, 36);
     this.copyrightLabel.TabIndex    = 4;
     //
     // pdnBanner
     //
     this.pdnBanner.BannerFont = new System.Drawing.Font("Tahoma", 10F);
     this.pdnBanner.BannerText = "headingText";
     this.pdnBanner.Location   = new System.Drawing.Point(0, 0);
     this.pdnBanner.Name       = "pdnBanner";
     this.pdnBanner.Size       = new System.Drawing.Size(495, 71);
     this.pdnBanner.TabIndex   = 7;
     //
     // versionLabel
     //
     this.versionLabel.AutoSize = true;
     this.versionLabel.Location = new System.Drawing.Point(7, 77);
     this.versionLabel.Name     = "versionLabel";
     this.versionLabel.Size     = new System.Drawing.Size(0, 13);
     this.versionLabel.TabIndex = 8;
     //
     // AboutDialog
     //
     this.AcceptButton        = this.okButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton        = this.okButton;
     this.ClientSize          = new System.Drawing.Size(495, 375);
     this.Controls.Add(this.versionLabel);
     this.Controls.Add(this.copyrightLabel);
     this.Controls.Add(this.richCreditsBox);
     this.Controls.Add(this.creditsLabel);
     this.Controls.Add(this.pdnBanner);
     this.Controls.Add(this.okButton);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Location        = new System.Drawing.Point(0, 0);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "AboutDialog";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Controls.SetChildIndex(this.okButton, 0);
     this.Controls.SetChildIndex(this.pdnBanner, 0);
     this.Controls.SetChildIndex(this.creditsLabel, 0);
     this.Controls.SetChildIndex(this.richCreditsBox, 0);
     this.Controls.SetChildIndex(this.copyrightLabel, 0);
     this.Controls.SetChildIndex(this.versionLabel, 0);
     this.ResumeLayout(false);
     this.PerformLayout();
 }