AboutBox1.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. using System;
  2. using System.ComponentModel;
  3. using System.Diagnostics;
  4. using System.Drawing;
  5. using System.Runtime.CompilerServices;
  6. using System.Windows.Forms;
  7. using Microsoft.VisualBasic.CompilerServices;
  8. namespace Dongke.IBOSS.PRD.Framework.Controls
  9. {
  10. [EditorBrowsable(EditorBrowsableState.Never)]
  11. [DesignerGenerated]
  12. public sealed class AboutBox1 : Form
  13. {
  14. [AccessedThroughProperty("TableLayoutPanel")]
  15. private TableLayoutPanel _TableLayoutPanel;
  16. [AccessedThroughProperty("LogoPictureBox")]
  17. private PictureBox _LogoPictureBox;
  18. [AccessedThroughProperty("LabelProductName")]
  19. private Label _LabelProductName;
  20. [AccessedThroughProperty("LabelVersion")]
  21. private Label _LabelVersion;
  22. [AccessedThroughProperty("TextBoxDescription")]
  23. private TextBox _TextBoxDescription;
  24. [AccessedThroughProperty("OKButton")]
  25. private Button _OKButton;
  26. [AccessedThroughProperty("LabelCopyright")]
  27. private Label _LabelCopyright;
  28. private IContainer components;
  29. internal TableLayoutPanel TableLayoutPanel
  30. {
  31. get
  32. {
  33. return _TableLayoutPanel;
  34. }
  35. [MethodImpl(MethodImplOptions.Synchronized)]
  36. set
  37. {
  38. _TableLayoutPanel = value;
  39. }
  40. }
  41. internal PictureBox LogoPictureBox
  42. {
  43. get
  44. {
  45. return _LogoPictureBox;
  46. }
  47. [MethodImpl(MethodImplOptions.Synchronized)]
  48. set
  49. {
  50. _LogoPictureBox = value;
  51. }
  52. }
  53. internal Label LabelProductName
  54. {
  55. get
  56. {
  57. return _LabelProductName;
  58. }
  59. [MethodImpl(MethodImplOptions.Synchronized)]
  60. set
  61. {
  62. _LabelProductName = value;
  63. }
  64. }
  65. internal Label LabelVersion
  66. {
  67. get
  68. {
  69. return _LabelVersion;
  70. }
  71. [MethodImpl(MethodImplOptions.Synchronized)]
  72. set
  73. {
  74. _LabelVersion = value;
  75. }
  76. }
  77. internal TextBox TextBoxDescription
  78. {
  79. get
  80. {
  81. return _TextBoxDescription;
  82. }
  83. [MethodImpl(MethodImplOptions.Synchronized)]
  84. set
  85. {
  86. _TextBoxDescription = value;
  87. }
  88. }
  89. internal Button OKButton
  90. {
  91. get
  92. {
  93. return _OKButton;
  94. }
  95. [MethodImpl(MethodImplOptions.Synchronized)]
  96. set
  97. {
  98. EventHandler value2 = OKButton_Click;
  99. if (_OKButton != null)
  100. {
  101. _OKButton.Click -= value2;
  102. }
  103. _OKButton = value;
  104. if (_OKButton != null)
  105. {
  106. _OKButton.Click += value2;
  107. }
  108. }
  109. }
  110. internal Label LabelCopyright
  111. {
  112. get
  113. {
  114. return _LabelCopyright;
  115. }
  116. [MethodImpl(MethodImplOptions.Synchronized)]
  117. set
  118. {
  119. _LabelCopyright = value;
  120. }
  121. }
  122. public AboutBox1()
  123. {
  124. base.Load += AboutBox1_Load;
  125. InitializeComponent();
  126. }
  127. [DebuggerNonUserCode]
  128. protected override void Dispose(bool disposing)
  129. {
  130. try
  131. {
  132. if (disposing && components != null)
  133. {
  134. components.Dispose();
  135. }
  136. }
  137. finally
  138. {
  139. base.Dispose(disposing);
  140. }
  141. }
  142. [System.Diagnostics.DebuggerStepThrough]
  143. private void InitializeComponent()
  144. {
  145. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dongke.IBOSS.Framework.Controls.AboutBox1));
  146. this.TableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
  147. this.LogoPictureBox = new System.Windows.Forms.PictureBox();
  148. this.LabelProductName = new System.Windows.Forms.Label();
  149. this.LabelVersion = new System.Windows.Forms.Label();
  150. this.LabelCopyright = new System.Windows.Forms.Label();
  151. this.TextBoxDescription = new System.Windows.Forms.TextBox();
  152. this.OKButton = new System.Windows.Forms.Button();
  153. this.TableLayoutPanel.SuspendLayout();
  154. ((System.ComponentModel.ISupportInitialize)this.LogoPictureBox).BeginInit();
  155. base.SuspendLayout();
  156. this.TableLayoutPanel.ColumnCount = 2;
  157. this.TableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.122f));
  158. this.TableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 83.878f));
  159. this.TableLayoutPanel.Controls.Add(this.LogoPictureBox, 0, 0);
  160. this.TableLayoutPanel.Controls.Add(this.LabelProductName, 1, 0);
  161. this.TableLayoutPanel.Controls.Add(this.LabelVersion, 1, 1);
  162. this.TableLayoutPanel.Controls.Add(this.LabelCopyright, 1, 2);
  163. this.TableLayoutPanel.Controls.Add(this.TextBoxDescription, 1, 4);
  164. this.TableLayoutPanel.Controls.Add(this.OKButton, 1, 5);
  165. this.TableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
  166. System.Windows.Forms.Control tableLayoutPanel = this.TableLayoutPanel;
  167. System.Drawing.Point location = new System.Drawing.Point(9, 8);
  168. tableLayoutPanel.Location = location;
  169. this.TableLayoutPanel.Name = "TableLayoutPanel";
  170. this.TableLayoutPanel.RowCount = 6;
  171. this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7.371795f));
  172. this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.410256f));
  173. this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7.371795f));
  174. this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 2.702703f));
  175. this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 66.89189f));
  176. this.TableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 8.974359f));
  177. System.Windows.Forms.Control tableLayoutPanel2 = this.TableLayoutPanel;
  178. System.Drawing.Size size = new System.Drawing.Size(415, 289);
  179. tableLayoutPanel2.Size = size;
  180. this.TableLayoutPanel.TabIndex = 0;
  181. this.LogoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
  182. this.LogoPictureBox.Image = (System.Drawing.Image)resources.GetObject("LogoPictureBox.Image");
  183. System.Windows.Forms.Control logoPictureBox = this.LogoPictureBox;
  184. location = new System.Drawing.Point(3, 3);
  185. logoPictureBox.Location = location;
  186. this.LogoPictureBox.Name = "LogoPictureBox";
  187. this.TableLayoutPanel.SetRowSpan(this.LogoPictureBox, 6);
  188. System.Windows.Forms.Control logoPictureBox2 = this.LogoPictureBox;
  189. size = new System.Drawing.Size(60, 283);
  190. logoPictureBox2.Size = size;
  191. this.LogoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
  192. this.LogoPictureBox.TabIndex = 0;
  193. this.LogoPictureBox.TabStop = false;
  194. this.LabelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
  195. System.Windows.Forms.Control labelProductName = this.LabelProductName;
  196. location = new System.Drawing.Point(72, 0);
  197. labelProductName.Location = location;
  198. System.Windows.Forms.Control labelProductName2 = this.LabelProductName;
  199. System.Windows.Forms.Padding margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
  200. labelProductName2.Margin = margin;
  201. System.Windows.Forms.Control labelProductName3 = this.LabelProductName;
  202. size = new System.Drawing.Size(0, 16);
  203. labelProductName3.MaximumSize = size;
  204. this.LabelProductName.Name = "LabelProductName";
  205. System.Windows.Forms.Control labelProductName4 = this.LabelProductName;
  206. size = new System.Drawing.Size(340, 16);
  207. labelProductName4.Size = size;
  208. this.LabelProductName.TabIndex = 0;
  209. this.LabelProductName.Text = "产品名称:.NET轻松打印控件";
  210. this.LabelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  211. this.LabelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
  212. System.Windows.Forms.Control labelVersion = this.LabelVersion;
  213. location = new System.Drawing.Point(72, 21);
  214. labelVersion.Location = location;
  215. System.Windows.Forms.Control labelVersion2 = this.LabelVersion;
  216. margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
  217. labelVersion2.Margin = margin;
  218. System.Windows.Forms.Control labelVersion3 = this.LabelVersion;
  219. size = new System.Drawing.Size(0, 16);
  220. labelVersion3.MaximumSize = size;
  221. this.LabelVersion.Name = "LabelVersion";
  222. System.Windows.Forms.Control labelVersion4 = this.LabelVersion;
  223. size = new System.Drawing.Size(340, 16);
  224. labelVersion4.Size = size;
  225. this.LabelVersion.TabIndex = 0;
  226. this.LabelVersion.Text = "版 本:5.80 2015年7月12日修订";
  227. this.LabelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  228. this.LabelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
  229. System.Windows.Forms.Control labelCopyright = this.LabelCopyright;
  230. location = new System.Drawing.Point(72, 39);
  231. labelCopyright.Location = location;
  232. System.Windows.Forms.Control labelCopyright2 = this.LabelCopyright;
  233. margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
  234. labelCopyright2.Margin = margin;
  235. System.Windows.Forms.Control labelCopyright3 = this.LabelCopyright;
  236. size = new System.Drawing.Size(0, 16);
  237. labelCopyright3.MaximumSize = size;
  238. this.LabelCopyright.Name = "LabelCopyright";
  239. System.Windows.Forms.Control labelCopyright4 = this.LabelCopyright;
  240. size = new System.Drawing.Size(340, 16);
  241. labelCopyright4.Size = size;
  242. this.LabelCopyright.TabIndex = 0;
  243. this.LabelCopyright.Text = "版 权:2010-2015年";
  244. this.LabelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  245. this.TextBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
  246. this.TextBoxDescription.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
  247. System.Windows.Forms.Control textBoxDescription = this.TextBoxDescription;
  248. location = new System.Drawing.Point(72, 70);
  249. textBoxDescription.Location = location;
  250. System.Windows.Forms.Control textBoxDescription2 = this.TextBoxDescription;
  251. margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
  252. textBoxDescription2.Margin = margin;
  253. this.TextBoxDescription.Multiline = true;
  254. this.TextBoxDescription.Name = "TextBoxDescription";
  255. this.TextBoxDescription.ReadOnly = true;
  256. this.TextBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  257. System.Windows.Forms.Control textBoxDescription3 = this.TextBoxDescription;
  258. size = new System.Drawing.Size(340, 187);
  259. textBoxDescription3.Size = size;
  260. this.TextBoxDescription.TabIndex = 0;
  261. this.TextBoxDescription.TabStop = false;
  262. this.TextBoxDescription.Text = resources.GetString("TextBoxDescription.Text");
  263. this.OKButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
  264. this.OKButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
  265. System.Windows.Forms.Control oKButton = this.OKButton;
  266. location = new System.Drawing.Point(337, 265);
  267. oKButton.Location = location;
  268. this.OKButton.Name = "OKButton";
  269. System.Windows.Forms.Control oKButton2 = this.OKButton;
  270. size = new System.Drawing.Size(75, 21);
  271. oKButton2.Size = size;
  272. this.OKButton.TabIndex = 0;
  273. this.OKButton.Text = "确定(&O)";
  274. System.Drawing.SizeF sizeF = new System.Drawing.SizeF(6f, 12f);
  275. base.AutoScaleDimensions = sizeF;
  276. base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  277. base.CancelButton = this.OKButton;
  278. size = new System.Drawing.Size(433, 305);
  279. base.ClientSize = size;
  280. base.Controls.Add(this.TableLayoutPanel);
  281. base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  282. base.MaximizeBox = false;
  283. base.MinimizeBox = false;
  284. base.Name = "AboutBox1";
  285. margin = new System.Windows.Forms.Padding(9, 8, 9, 8);
  286. base.Padding = margin;
  287. base.ShowInTaskbar = false;
  288. base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
  289. this.Text = "关于.NET轻松打印控件";
  290. this.TableLayoutPanel.ResumeLayout(false);
  291. this.TableLayoutPanel.PerformLayout();
  292. ((System.ComponentModel.ISupportInitialize)this.LogoPictureBox).EndInit();
  293. base.ResumeLayout(false);
  294. }
  295. private void AboutBox1_Load(object sender, EventArgs e)
  296. {
  297. }
  298. private void OKButton_Click(object sender, EventArgs e)
  299. {
  300. Close();
  301. }
  302. }
  303. }