Esempio n. 1
0
 private void InitializeComponent()
 {
     this.closeButton    = new PdnPushButton();
     this.copyrightLabel = new PdnLabel();
     this.pdnBanner      = new PdnBanner();
     this.versionLabel   = new PdnLabel();
     this.separator      = new PaintDotNet.Controls.SeparatorLine();
     base.SuspendLayout();
     this.closeButton.DialogResult   = DialogResult.Cancel;
     this.closeButton.AutoSize       = true;
     this.closeButton.Name           = "okButton";
     this.closeButton.TabIndex       = 0;
     this.copyrightLabel.BorderStyle = BorderStyle.None;
     this.copyrightLabel.Location    = new Point(10, 0x5f);
     this.copyrightLabel.Name        = "copyrightLabel";
     this.copyrightLabel.Size        = new Size(0x1e1, 0x24);
     this.copyrightLabel.TabIndex    = 4;
     this.pdnBanner.Location         = new Point(0, 0);
     this.pdnBanner.Name             = "pdnBanner";
     this.pdnBanner.Size             = new Size(0x1ef, 0x47);
     this.pdnBanner.TabIndex         = 7;
     this.versionLabel.BorderStyle   = BorderStyle.None;
     this.versionLabel.Location      = new Point(10, 0x4d);
     this.versionLabel.Name          = "versionLabel";
     this.versionLabel.Size          = new Size(0x1e1, 13);
     this.versionLabel.TabIndex      = 8;
     this.separator.Name             = "separator";
     base.AcceptButton        = this.closeButton;
     base.AutoScaleDimensions = new SizeF(96f, 96f);
     base.AutoScaleMode       = AutoScaleMode.Dpi;
     base.CancelButton        = this.closeButton;
     base.ClientSize          = new Size(0x1ef, 0xa8);
     base.Controls.Add(this.versionLabel);
     base.Controls.Add(this.copyrightLabel);
     base.Controls.Add(this.pdnBanner);
     base.Controls.Add(this.separator);
     base.Controls.Add(this.closeButton);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.Location        = new Point(0, 0);
     base.MaximizeBox     = false;
     base.MinimizeBox     = false;
     base.Name            = "AboutDialog";
     base.ShowInTaskbar   = false;
     base.SizeGripStyle   = SizeGripStyle.Hide;
     base.StartPosition   = FormStartPosition.CenterParent;
     base.Controls.SetChildIndex(this.closeButton, 0);
     base.Controls.SetChildIndex(this.pdnBanner, 0);
     base.Controls.SetChildIndex(this.copyrightLabel, 0);
     base.Controls.SetChildIndex(this.versionLabel, 0);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Esempio n. 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.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);
 }