| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.Runtime.CompilerServices;
- using System.Windows.Forms;
- using Microsoft.VisualBasic.CompilerServices;
- namespace Dongke.IBOSS.PRD.Framework.Controls
- {
- [EditorBrowsable(EditorBrowsableState.Never)]
- [DesignerGenerated]
- public sealed class AboutBox1 : Form
- {
- [AccessedThroughProperty("TableLayoutPanel")]
- private TableLayoutPanel _TableLayoutPanel;
- [AccessedThroughProperty("LogoPictureBox")]
- private PictureBox _LogoPictureBox;
- [AccessedThroughProperty("LabelProductName")]
- private Label _LabelProductName;
- [AccessedThroughProperty("LabelVersion")]
- private Label _LabelVersion;
- [AccessedThroughProperty("TextBoxDescription")]
- private TextBox _TextBoxDescription;
- [AccessedThroughProperty("OKButton")]
- private Button _OKButton;
- [AccessedThroughProperty("LabelCopyright")]
- private Label _LabelCopyright;
- private IContainer components;
- internal TableLayoutPanel TableLayoutPanel
- {
- get
- {
- return _TableLayoutPanel;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- _TableLayoutPanel = value;
- }
- }
- internal PictureBox LogoPictureBox
- {
- get
- {
- return _LogoPictureBox;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- _LogoPictureBox = value;
- }
- }
- internal Label LabelProductName
- {
- get
- {
- return _LabelProductName;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- _LabelProductName = value;
- }
- }
- internal Label LabelVersion
- {
- get
- {
- return _LabelVersion;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- _LabelVersion = value;
- }
- }
- internal TextBox TextBoxDescription
- {
- get
- {
- return _TextBoxDescription;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- _TextBoxDescription = value;
- }
- }
- internal Button OKButton
- {
- get
- {
- return _OKButton;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = OKButton_Click;
- if (_OKButton != null)
- {
- _OKButton.Click -= value2;
- }
- _OKButton = value;
- if (_OKButton != null)
- {
- _OKButton.Click += value2;
- }
- }
- }
- internal Label LabelCopyright
- {
- get
- {
- return _LabelCopyright;
- }
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- _LabelCopyright = value;
- }
- }
- public AboutBox1()
- {
- base.Load += AboutBox1_Load;
- InitializeComponent();
- }
- [DebuggerNonUserCode]
- protected override void Dispose(bool disposing)
- {
- try
- {
- if (disposing && components != null)
- {
- components.Dispose();
- }
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
- [System.Diagnostics.DebuggerStepThrough]
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dongke.IBOSS.Framework.Controls.AboutBox1));
- this.TableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
- this.LogoPictureBox = new System.Windows.Forms.PictureBox();
- this.LabelProductName = new System.Windows.Forms.Label();
- this.LabelVersion = new System.Windows.Forms.Label();
- this.LabelCopyright = new System.Windows.Forms.Label();
- this.TextBoxDescription = new System.Windows.Forms.TextBox();
- this.OKButton = new System.Windows.Forms.Button();
- this.TableLayoutPanel.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)this.LogoPictureBox).BeginInit();
- base.SuspendLayout();
- this.TableLayoutPanel.ColumnCount = 2;
- this.TableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.122f));
- this.TableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 83.878f));
- this.TableLayoutPanel.Controls.Add(this.LogoPictureBox, 0, 0);
- this.TableLayoutPanel.Controls.Add(this.LabelProductName, 1, 0);
- this.TableLayoutPanel.Controls.Add(this.LabelVersion, 1, 1);
- this.TableLayoutPanel.Controls.Add(this.LabelCopyright, 1, 2);
- this.TableLayoutPanel.Controls.Add(this.TextBoxDescription, 1, 4);
- this.TableLayoutPanel.Controls.Add(this.OKButton, 1, 5);
- this.TableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
- System.Windows.Forms.Control tableLayoutPanel = this.TableLayoutPanel;
- System.Drawing.Point location = new System.Drawing.Point(9, 8);
- tableLayoutPanel.Location = location;
- this.TableLayoutPanel.Name = "TableLayoutPanel";
- this.TableLayoutPanel.RowCount = 6;
- this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7.371795f));
- this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.410256f));
- this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7.371795f));
- this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 2.702703f));
- this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 66.89189f));
- this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 8.974359f));
- System.Windows.Forms.Control tableLayoutPanel2 = this.TableLayoutPanel;
- System.Drawing.Size size = new System.Drawing.Size(415, 289);
- tableLayoutPanel2.Size = size;
- this.TableLayoutPanel.TabIndex = 0;
- this.LogoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
- this.LogoPictureBox.Image = (System.Drawing.Image)resources.GetObject("LogoPictureBox.Image");
- System.Windows.Forms.Control logoPictureBox = this.LogoPictureBox;
- location = new System.Drawing.Point(3, 3);
- logoPictureBox.Location = location;
- this.LogoPictureBox.Name = "LogoPictureBox";
- this.TableLayoutPanel.SetRowSpan(this.LogoPictureBox, 6);
- System.Windows.Forms.Control logoPictureBox2 = this.LogoPictureBox;
- size = new System.Drawing.Size(60, 283);
- logoPictureBox2.Size = size;
- this.LogoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.LogoPictureBox.TabIndex = 0;
- this.LogoPictureBox.TabStop = false;
- this.LabelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
- System.Windows.Forms.Control labelProductName = this.LabelProductName;
- location = new System.Drawing.Point(72, 0);
- labelProductName.Location = location;
- System.Windows.Forms.Control labelProductName2 = this.LabelProductName;
- System.Windows.Forms.Padding margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
- labelProductName2.Margin = margin;
- System.Windows.Forms.Control labelProductName3 = this.LabelProductName;
- size = new System.Drawing.Size(0, 16);
- labelProductName3.MaximumSize = size;
- this.LabelProductName.Name = "LabelProductName";
- System.Windows.Forms.Control labelProductName4 = this.LabelProductName;
- size = new System.Drawing.Size(340, 16);
- labelProductName4.Size = size;
- this.LabelProductName.TabIndex = 0;
- this.LabelProductName.Text = "产品名称:.NET轻松打印控件";
- this.LabelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.LabelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
- System.Windows.Forms.Control labelVersion = this.LabelVersion;
- location = new System.Drawing.Point(72, 21);
- labelVersion.Location = location;
- System.Windows.Forms.Control labelVersion2 = this.LabelVersion;
- margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
- labelVersion2.Margin = margin;
- System.Windows.Forms.Control labelVersion3 = this.LabelVersion;
- size = new System.Drawing.Size(0, 16);
- labelVersion3.MaximumSize = size;
- this.LabelVersion.Name = "LabelVersion";
- System.Windows.Forms.Control labelVersion4 = this.LabelVersion;
- size = new System.Drawing.Size(340, 16);
- labelVersion4.Size = size;
- this.LabelVersion.TabIndex = 0;
- this.LabelVersion.Text = "版 本:5.80 2015年7月12日修订";
- this.LabelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.LabelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
- System.Windows.Forms.Control labelCopyright = this.LabelCopyright;
- location = new System.Drawing.Point(72, 39);
- labelCopyright.Location = location;
- System.Windows.Forms.Control labelCopyright2 = this.LabelCopyright;
- margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
- labelCopyright2.Margin = margin;
- System.Windows.Forms.Control labelCopyright3 = this.LabelCopyright;
- size = new System.Drawing.Size(0, 16);
- labelCopyright3.MaximumSize = size;
- this.LabelCopyright.Name = "LabelCopyright";
- System.Windows.Forms.Control labelCopyright4 = this.LabelCopyright;
- size = new System.Drawing.Size(340, 16);
- labelCopyright4.Size = size;
- this.LabelCopyright.TabIndex = 0;
- this.LabelCopyright.Text = "版 权:2010-2015年";
- this.LabelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.TextBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
- this.TextBoxDescription.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
- System.Windows.Forms.Control textBoxDescription = this.TextBoxDescription;
- location = new System.Drawing.Point(72, 70);
- textBoxDescription.Location = location;
- System.Windows.Forms.Control textBoxDescription2 = this.TextBoxDescription;
- margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
- textBoxDescription2.Margin = margin;
- this.TextBoxDescription.Multiline = true;
- this.TextBoxDescription.Name = "TextBoxDescription";
- this.TextBoxDescription.ReadOnly = true;
- this.TextBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- System.Windows.Forms.Control textBoxDescription3 = this.TextBoxDescription;
- size = new System.Drawing.Size(340, 187);
- textBoxDescription3.Size = size;
- this.TextBoxDescription.TabIndex = 0;
- this.TextBoxDescription.TabStop = false;
- this.TextBoxDescription.Text = resources.GetString("TextBoxDescription.Text");
- this.OKButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
- this.OKButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- System.Windows.Forms.Control oKButton = this.OKButton;
- location = new System.Drawing.Point(337, 265);
- oKButton.Location = location;
- this.OKButton.Name = "OKButton";
- System.Windows.Forms.Control oKButton2 = this.OKButton;
- size = new System.Drawing.Size(75, 21);
- oKButton2.Size = size;
- this.OKButton.TabIndex = 0;
- this.OKButton.Text = "确定(&O)";
- System.Drawing.SizeF sizeF = new System.Drawing.SizeF(6f, 12f);
- base.AutoScaleDimensions = sizeF;
- base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- base.CancelButton = this.OKButton;
- size = new System.Drawing.Size(433, 305);
- base.ClientSize = size;
- base.Controls.Add(this.TableLayoutPanel);
- base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- base.MaximizeBox = false;
- base.MinimizeBox = false;
- base.Name = "AboutBox1";
- margin = new System.Windows.Forms.Padding(9, 8, 9, 8);
- base.Padding = margin;
- base.ShowInTaskbar = false;
- base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "关于.NET轻松打印控件";
- this.TableLayoutPanel.ResumeLayout(false);
- this.TableLayoutPanel.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)this.LogoPictureBox).EndInit();
- base.ResumeLayout(false);
- }
- private void AboutBox1_Load(object sender, EventArgs e)
- {
- }
- private void OKButton_Click(object sender, EventArgs e)
- {
- Close();
- }
- }
- }
|