コード例 #1
0
ファイル: SplashForm.cs プロジェクト: metadeta96/openpdn
 /// <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);
 }
コード例 #2
0
ファイル: SplashForm.cs プロジェクト: vip57884381/Paint.Net
 /// <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);
 }
コード例 #3
0
ファイル: SetupWizard.cs プロジェクト: nkaligin/paint-mono
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.nextButton = new Button();
     this.backButton = new Button();
     this.cancelButton = new Button();
     this.separator1 = new Label();
     this.headingSpacer = new Control();
     this.separator2 = new Label();
     this.languageIcon = new PictureBox();
     this.languageBox = new ComboBox();
     this.whiteBackground = new Control();
     this.pdnBanner = new PdnBanner();
     this.SuspendLayout();
     //
     // nextButton
     //
     this.nextButton.Location = new Point(412, 350);
     this.nextButton.Name = "nextButton";
     this.nextButton.Size = new Size(75, 23);
     this.nextButton.TabIndex = 0;
     this.nextButton.Click += new System.EventHandler(this.nextButton_Click);
     //
     // backButton
     //
     this.backButton.Location = new System.Drawing.Point(332, 350);
     this.backButton.Name = "backButton";
     this.backButton.Size = new System.Drawing.Size(75, 23);
     this.backButton.TabIndex = 1;
     this.backButton.Click += new System.EventHandler(this.backButton_Click);
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(244, 350);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 2;
     this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
     //
     // pdnBanner
     //
     this.pdnBanner.Location = new Point(0, 0);
     //
     // headingSpacer
     //
     this.headingSpacer.BackColor = System.Drawing.Color.White;
     this.headingSpacer.Location = new System.Drawing.Point(0, 48);
     this.headingSpacer.Name = "headingSpacer";
     this.headingSpacer.Size = new System.Drawing.Size(55, 23);
     this.headingSpacer.TabIndex = 5;
     this.headingSpacer.Text = "headingSpacer";
     //
     // separator1
     //
     this.separator1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.separator1.Location = new System.Drawing.Point(0, 339);
     this.separator1.Name = "separator1";
     this.separator1.Size = new System.Drawing.Size(503, 2);
     this.separator1.TabIndex = 3;
     //
     // separator2
     //
     this.separator2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.separator2.Location = new System.Drawing.Point(0, 71);
     this.separator2.Name = "separator2";
     this.separator2.Size = new System.Drawing.Size(503, 2);
     this.separator2.TabIndex = 6;
     //
     // whiteBackground
     //
     this.whiteBackground.Location = new System.Drawing.Point(0, 73);
     this.whiteBackground.Size = new System.Drawing.Size(503, 266);
     this.whiteBackground.BackColor = Color.FromArgb(255, 255, 255);
     //
     // languageIcon
     //
     this.languageIcon.Location = new System.Drawing.Point(10, 352);
     this.languageIcon.Name = "languageIcon";
     this.languageIcon.Size = new Size(16, 16);
     this.languageIcon.SizeMode = PictureBoxSizeMode.StretchImage;
     //
     // languageBox
     //
     this.languageBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.languageBox.Location = new System.Drawing.Point(32, 350);
     this.languageBox.Name = "languageBox";
     this.languageBox.Size = new System.Drawing.Size(140, 21);
     this.languageBox.TabIndex = 7;
     this.languageBox.SelectedIndexChanged += new System.EventHandler(this.LanguageBox_SelectedIndexChanged);
     //
     // SetupWizard
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(495, 382);
     this.Controls.Add(this.languageBox);
     this.Controls.Add(this.languageIcon);
     this.Controls.Add(this.separator2);
     this.Controls.Add(this.separator1);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.backButton);
     this.Controls.Add(this.nextButton);
     this.Controls.Add(this.pdnBanner);
     this.Controls.Add(this.headingSpacer);
     this.Controls.Add(this.whiteBackground);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.Name = "SetupWizard";
     this.StartPosition = FormStartPosition.CenterScreen;
     this.ResumeLayout(false);
 }
コード例 #4
0
ファイル: AboutDialog.cs プロジェクト: leejungho2/xynotecgui
 /// <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 PaintDotNet.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();
 }
コード例 #5
0
ファイル: AboutDialog.cs プロジェクト: herbqiao/paint.net
        /// <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 PaintDotNet.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();

        }