39eee7587dc8bb9e96ce86fb8fbdba0857a69c52.svn-base 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. namespace Core.Mes.ClientManager
  7. {
  8. /// <summary>
  9. /// FrmAbout 的摘要说明。
  10. /// </summary>
  11. public class FrmAbout : System.Windows.Forms.Form
  12. {
  13. private System.Windows.Forms.PictureBox pictureBox1;
  14. private System.Windows.Forms.LinkLabel linkLabel1;
  15. private System.Windows.Forms.Label label1;
  16. private System.Windows.Forms.Label label2;
  17. private System.Windows.Forms.Label label3;
  18. private System.Windows.Forms.Label label4;
  19. private System.Windows.Forms.Label label5;
  20. private System.Windows.Forms.Button button1;
  21. private System.Windows.Forms.Label label6;
  22. private System.Windows.Forms.Label label7;
  23. private System.Windows.Forms.Label label8;
  24. private System.Windows.Forms.Label label9;
  25. private System.Windows.Forms.Label label10;
  26. private System.Windows.Forms.Label label11;
  27. /// <summary>
  28. /// 必需的设计器变量。
  29. /// </summary>
  30. private System.ComponentModel.Container components = null;
  31. public FrmAbout()
  32. {
  33. //
  34. // Windows 窗体设计器支持所必需的
  35. //
  36. InitializeComponent();
  37. //
  38. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  39. //
  40. }
  41. /// <summary>
  42. /// 清理所有正在使用的资源。
  43. /// </summary>
  44. protected override void Dispose( bool disposing )
  45. {
  46. if( disposing )
  47. {
  48. if(components != null)
  49. {
  50. components.Dispose();
  51. }
  52. }
  53. base.Dispose( disposing );
  54. }
  55. #region Windows 窗体设计器生成的代码
  56. /// <summary>
  57. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  58. /// 此方法的内容。
  59. /// </summary>
  60. private void InitializeComponent()
  61. {
  62. System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmAbout));
  63. this.pictureBox1 = new System.Windows.Forms.PictureBox();
  64. this.linkLabel1 = new System.Windows.Forms.LinkLabel();
  65. this.label1 = new System.Windows.Forms.Label();
  66. this.label2 = new System.Windows.Forms.Label();
  67. this.label3 = new System.Windows.Forms.Label();
  68. this.label4 = new System.Windows.Forms.Label();
  69. this.label5 = new System.Windows.Forms.Label();
  70. this.button1 = new System.Windows.Forms.Button();
  71. this.label6 = new System.Windows.Forms.Label();
  72. this.label7 = new System.Windows.Forms.Label();
  73. this.label8 = new System.Windows.Forms.Label();
  74. this.label9 = new System.Windows.Forms.Label();
  75. this.label10 = new System.Windows.Forms.Label();
  76. this.label11 = new System.Windows.Forms.Label();
  77. this.SuspendLayout();
  78. //
  79. // pictureBox1
  80. //
  81. this.pictureBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
  82. this.pictureBox1.Location = new System.Drawing.Point(0, 0);
  83. this.pictureBox1.Name = "pictureBox1";
  84. this.pictureBox1.Size = new System.Drawing.Size(232, 64);
  85. this.pictureBox1.TabIndex = 0;
  86. this.pictureBox1.TabStop = false;
  87. //
  88. // linkLabel1
  89. //
  90. this.linkLabel1.AutoSize = true;
  91. this.linkLabel1.Location = new System.Drawing.Point(64, 160);
  92. this.linkLabel1.Name = "linkLabel1";
  93. this.linkLabel1.Size = new System.Drawing.Size(147, 17);
  94. this.linkLabel1.TabIndex = 1;
  95. this.linkLabel1.TabStop = true;
  96. this.linkLabel1.Text = "Http://www.hnshituo.com";
  97. this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
  98. //
  99. // label1
  100. //
  101. this.label1.AutoSize = true;
  102. this.label1.Location = new System.Drawing.Point(8, 160);
  103. this.label1.Name = "label1";
  104. this.label1.Size = new System.Drawing.Size(54, 17);
  105. this.label1.TabIndex = 2;
  106. this.label1.Text = "公司主页";
  107. //
  108. // label2
  109. //
  110. this.label2.AutoSize = true;
  111. this.label2.Location = new System.Drawing.Point(8, 184);
  112. this.label2.Name = "label2";
  113. this.label2.Size = new System.Drawing.Size(54, 17);
  114. this.label2.TabIndex = 3;
  115. this.label2.Text = "技术支持";
  116. //
  117. // label3
  118. //
  119. this.label3.AutoSize = true;
  120. this.label3.Location = new System.Drawing.Point(16, 208);
  121. this.label3.Name = "label3";
  122. this.label3.Size = new System.Drawing.Size(29, 17);
  123. this.label3.TabIndex = 5;
  124. this.label3.Text = "电话";
  125. //
  126. // label4
  127. //
  128. this.label4.AutoSize = true;
  129. this.label4.BackColor = System.Drawing.Color.Transparent;
  130. this.label4.Location = new System.Drawing.Point(16, 232);
  131. this.label4.Name = "label4";
  132. this.label4.Size = new System.Drawing.Size(29, 17);
  133. this.label4.TabIndex = 6;
  134. this.label4.Text = "传真";
  135. //
  136. // label5
  137. //
  138. this.label5.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
  139. this.label5.Location = new System.Drawing.Point(8, 88);
  140. this.label5.Name = "label5";
  141. this.label5.Size = new System.Drawing.Size(432, 27);
  142. this.label5.TabIndex = 7;
  143. this.label5.Text = "新余钢铁有限责任公司产销及MES系统V1.0";
  144. this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  145. //
  146. // button1
  147. //
  148. this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  149. this.button1.Location = new System.Drawing.Point(272, 192);
  150. this.button1.Name = "button1";
  151. this.button1.Size = new System.Drawing.Size(75, 32);
  152. this.button1.TabIndex = 8;
  153. this.button1.Text = "确定";
  154. this.button1.Click += new System.EventHandler(this.button1_Click);
  155. //
  156. // label6
  157. //
  158. this.label6.AutoSize = true;
  159. this.label6.Location = new System.Drawing.Point(64, 184);
  160. this.label6.Name = "label6";
  161. this.label6.Size = new System.Drawing.Size(134, 17);
  162. this.label6.TabIndex = 9;
  163. this.label6.Text = "servicet@hnshituo.com";
  164. //
  165. // label7
  166. //
  167. this.label7.AutoSize = true;
  168. this.label7.Location = new System.Drawing.Point(64, 208);
  169. this.label7.Name = "label7";
  170. this.label7.Size = new System.Drawing.Size(128, 17);
  171. this.label7.TabIndex = 10;
  172. this.label7.Text = "0731-5532871 5382837";
  173. //
  174. // label8
  175. //
  176. this.label8.AutoSize = true;
  177. this.label8.Location = new System.Drawing.Point(64, 232);
  178. this.label8.Name = "label8";
  179. this.label8.Size = new System.Drawing.Size(79, 17);
  180. this.label8.TabIndex = 11;
  181. this.label8.Text = "0731-5536491";
  182. //
  183. // label9
  184. //
  185. this.label9.AutoSize = true;
  186. this.label9.Location = new System.Drawing.Point(192, 232);
  187. this.label9.Name = "label9";
  188. this.label9.Size = new System.Drawing.Size(42, 17);
  189. this.label9.TabIndex = 13;
  190. this.label9.Text = "410007";
  191. //
  192. // label10
  193. //
  194. this.label10.AutoSize = true;
  195. this.label10.BackColor = System.Drawing.Color.Transparent;
  196. this.label10.Location = new System.Drawing.Point(160, 232);
  197. this.label10.Name = "label10";
  198. this.label10.Size = new System.Drawing.Size(29, 17);
  199. this.label10.TabIndex = 12;
  200. this.label10.Text = "邮编";
  201. //
  202. // label11
  203. //
  204. this.label11.AutoSize = true;
  205. this.label11.Font = new System.Drawing.Font("宋体", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
  206. this.label11.Location = new System.Drawing.Point(78, 128);
  207. this.label11.Name = "label11";
  208. this.label11.Size = new System.Drawing.Size(205, 15);
  209. this.label11.TabIndex = 14;
  210. this.label11.Text = "Copyright◎2003-2004 All Right Reserved";
  211. //
  212. // FrmAbout
  213. //
  214. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  215. this.BackColor = System.Drawing.Color.Gainsboro;
  216. this.ClientSize = new System.Drawing.Size(440, 256);
  217. this.Controls.Add(this.label11);
  218. this.Controls.Add(this.label9);
  219. this.Controls.Add(this.label10);
  220. this.Controls.Add(this.label8);
  221. this.Controls.Add(this.label7);
  222. this.Controls.Add(this.label6);
  223. this.Controls.Add(this.label4);
  224. this.Controls.Add(this.label3);
  225. this.Controls.Add(this.label2);
  226. this.Controls.Add(this.label1);
  227. this.Controls.Add(this.linkLabel1);
  228. this.Controls.Add(this.button1);
  229. this.Controls.Add(this.label5);
  230. this.Controls.Add(this.pictureBox1);
  231. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
  232. this.MaximizeBox = false;
  233. this.MinimizeBox = false;
  234. this.Name = "FrmAbout";
  235. this.ShowInTaskbar = false;
  236. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  237. this.Text = "FrmAbout";
  238. this.ResumeLayout(false);
  239. }
  240. #endregion
  241. private void button1_Click(object sender, System.EventArgs e)
  242. {
  243. this.Close();
  244. }
  245. private void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  246. {
  247. System.Diagnostics.Process.Start("Http://www.hnshituo.com");
  248. }
  249. public void InitPic(string strTitle)
  250. {
  251. this.label5.Text = strTitle;
  252. }
  253. }
  254. }