Form1.Designer.cs 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. namespace Calculator
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.button1 = new System.Windows.Forms.Button();
  29. this.button2 = new System.Windows.Forms.Button();
  30. this.button3 = new System.Windows.Forms.Button();
  31. this.button4 = new System.Windows.Forms.Button();
  32. this.button6 = new System.Windows.Forms.Button();
  33. this.button7 = new System.Windows.Forms.Button();
  34. this.button8 = new System.Windows.Forms.Button();
  35. this.button9 = new System.Windows.Forms.Button();
  36. this.button10 = new System.Windows.Forms.Button();
  37. this.button12 = new System.Windows.Forms.Button();
  38. this.button13 = new System.Windows.Forms.Button();
  39. this.button14 = new System.Windows.Forms.Button();
  40. this.button15 = new System.Windows.Forms.Button();
  41. this.button20 = new System.Windows.Forms.Button();
  42. this.button18 = new System.Windows.Forms.Button();
  43. this.button16 = new System.Windows.Forms.Button();
  44. this.button17 = new System.Windows.Forms.Button();
  45. this.textBox_Result = new System.Windows.Forms.TextBox();
  46. this.label_Show_Op = new System.Windows.Forms.Label();
  47. this.SuspendLayout();
  48. //
  49. // button1
  50. //
  51. this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  52. this.button1.Location = new System.Drawing.Point(12, 64);
  53. this.button1.Name = "button1";
  54. this.button1.Size = new System.Drawing.Size(45, 45);
  55. this.button1.TabIndex = 0;
  56. this.button1.Text = "7";
  57. this.button1.UseVisualStyleBackColor = true;
  58. this.button1.Click += new System.EventHandler(this.button15_Click);
  59. //
  60. // button2
  61. //
  62. this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  63. this.button2.Location = new System.Drawing.Point(63, 64);
  64. this.button2.Name = "button2";
  65. this.button2.Size = new System.Drawing.Size(45, 45);
  66. this.button2.TabIndex = 1;
  67. this.button2.Text = "8";
  68. this.button2.UseVisualStyleBackColor = true;
  69. this.button2.Click += new System.EventHandler(this.button15_Click);
  70. //
  71. // button3
  72. //
  73. this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  74. this.button3.Location = new System.Drawing.Point(165, 64);
  75. this.button3.Name = "button3";
  76. this.button3.Size = new System.Drawing.Size(45, 45);
  77. this.button3.TabIndex = 2;
  78. this.button3.Text = "÷";
  79. this.button3.UseVisualStyleBackColor = true;
  80. this.button3.Click += new System.EventHandler(this.Operator_click_Event);
  81. //
  82. // button4
  83. //
  84. this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  85. this.button4.Location = new System.Drawing.Point(114, 64);
  86. this.button4.Name = "button4";
  87. this.button4.Size = new System.Drawing.Size(45, 45);
  88. this.button4.TabIndex = 3;
  89. this.button4.Text = "9";
  90. this.button4.UseVisualStyleBackColor = true;
  91. this.button4.Click += new System.EventHandler(this.button15_Click);
  92. //
  93. // button6
  94. //
  95. this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  96. this.button6.Location = new System.Drawing.Point(216, 64);
  97. this.button6.Name = "button6";
  98. this.button6.Size = new System.Drawing.Size(45, 96);
  99. this.button6.TabIndex = 9;
  100. this.button6.Text = "C";
  101. this.button6.UseVisualStyleBackColor = true;
  102. this.button6.Click += new System.EventHandler(this.button6_Click);
  103. //
  104. // button7
  105. //
  106. this.button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  107. this.button7.Location = new System.Drawing.Point(114, 115);
  108. this.button7.Name = "button7";
  109. this.button7.Size = new System.Drawing.Size(45, 45);
  110. this.button7.TabIndex = 8;
  111. this.button7.Text = "6";
  112. this.button7.UseVisualStyleBackColor = true;
  113. this.button7.Click += new System.EventHandler(this.button15_Click);
  114. //
  115. // button8
  116. //
  117. this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  118. this.button8.Location = new System.Drawing.Point(165, 115);
  119. this.button8.Name = "button8";
  120. this.button8.Size = new System.Drawing.Size(45, 45);
  121. this.button8.TabIndex = 7;
  122. this.button8.Text = "x";
  123. this.button8.UseVisualStyleBackColor = true;
  124. this.button8.Click += new System.EventHandler(this.Operator_click_Event);
  125. //
  126. // button9
  127. //
  128. this.button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  129. this.button9.Location = new System.Drawing.Point(63, 115);
  130. this.button9.Name = "button9";
  131. this.button9.Size = new System.Drawing.Size(45, 45);
  132. this.button9.TabIndex = 6;
  133. this.button9.Text = "5";
  134. this.button9.UseVisualStyleBackColor = true;
  135. this.button9.Click += new System.EventHandler(this.button15_Click);
  136. //
  137. // button10
  138. //
  139. this.button10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  140. this.button10.Location = new System.Drawing.Point(12, 115);
  141. this.button10.Name = "button10";
  142. this.button10.Size = new System.Drawing.Size(45, 45);
  143. this.button10.TabIndex = 5;
  144. this.button10.Text = "4";
  145. this.button10.UseVisualStyleBackColor = true;
  146. this.button10.Click += new System.EventHandler(this.button15_Click);
  147. //
  148. // button12
  149. //
  150. this.button12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  151. this.button12.Location = new System.Drawing.Point(114, 166);
  152. this.button12.Name = "button12";
  153. this.button12.Size = new System.Drawing.Size(45, 45);
  154. this.button12.TabIndex = 13;
  155. this.button12.Text = "3";
  156. this.button12.UseVisualStyleBackColor = true;
  157. this.button12.Click += new System.EventHandler(this.button15_Click);
  158. //
  159. // button13
  160. //
  161. this.button13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  162. this.button13.Location = new System.Drawing.Point(165, 166);
  163. this.button13.Name = "button13";
  164. this.button13.Size = new System.Drawing.Size(45, 45);
  165. this.button13.TabIndex = 12;
  166. this.button13.Text = "-";
  167. this.button13.UseVisualStyleBackColor = true;
  168. this.button13.Click += new System.EventHandler(this.Operator_click_Event);
  169. //
  170. // button14
  171. //
  172. this.button14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  173. this.button14.Location = new System.Drawing.Point(63, 166);
  174. this.button14.Name = "button14";
  175. this.button14.Size = new System.Drawing.Size(45, 45);
  176. this.button14.TabIndex = 11;
  177. this.button14.Text = "2";
  178. this.button14.UseVisualStyleBackColor = true;
  179. this.button14.Click += new System.EventHandler(this.button15_Click);
  180. //
  181. // button15
  182. //
  183. this.button15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  184. this.button15.Location = new System.Drawing.Point(12, 166);
  185. this.button15.Name = "button15";
  186. this.button15.Size = new System.Drawing.Size(45, 45);
  187. this.button15.TabIndex = 10;
  188. this.button15.Text = "1";
  189. this.button15.UseVisualStyleBackColor = true;
  190. this.button15.Click += new System.EventHandler(this.button15_Click);
  191. //
  192. // button20
  193. //
  194. this.button20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  195. this.button20.Location = new System.Drawing.Point(12, 217);
  196. this.button20.Name = "button20";
  197. this.button20.Size = new System.Drawing.Size(96, 45);
  198. this.button20.TabIndex = 15;
  199. this.button20.Text = "0";
  200. this.button20.UseVisualStyleBackColor = true;
  201. this.button20.Click += new System.EventHandler(this.button15_Click);
  202. //
  203. // button18
  204. //
  205. this.button18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  206. this.button18.Location = new System.Drawing.Point(165, 217);
  207. this.button18.Name = "button18";
  208. this.button18.Size = new System.Drawing.Size(45, 45);
  209. this.button18.TabIndex = 17;
  210. this.button18.Text = "+";
  211. this.button18.UseVisualStyleBackColor = true;
  212. this.button18.Click += new System.EventHandler(this.Operator_click_Event);
  213. //
  214. // button16
  215. //
  216. this.button16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  217. this.button16.Location = new System.Drawing.Point(216, 166);
  218. this.button16.Name = "button16";
  219. this.button16.Size = new System.Drawing.Size(45, 96);
  220. this.button16.TabIndex = 19;
  221. this.button16.Text = "=";
  222. this.button16.UseVisualStyleBackColor = true;
  223. this.button16.Click += new System.EventHandler(this.button16_Click);
  224. //
  225. // button17
  226. //
  227. this.button17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  228. this.button17.Location = new System.Drawing.Point(114, 217);
  229. this.button17.Name = "button17";
  230. this.button17.Size = new System.Drawing.Size(45, 45);
  231. this.button17.TabIndex = 18;
  232. this.button17.Text = ".";
  233. this.button17.UseVisualStyleBackColor = true;
  234. this.button17.Click += new System.EventHandler(this.button15_Click);
  235. //
  236. // textBox_Result
  237. //
  238. this.textBox_Result.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  239. this.textBox_Result.Location = new System.Drawing.Point(11, 23);
  240. this.textBox_Result.Name = "textBox_Result";
  241. this.textBox_Result.Size = new System.Drawing.Size(249, 35);
  242. this.textBox_Result.TabIndex = 20;
  243. this.textBox_Result.Text = "0";
  244. this.textBox_Result.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
  245. //
  246. // label_Show_Op
  247. //
  248. this.label_Show_Op.AutoSize = true;
  249. this.label_Show_Op.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  250. this.label_Show_Op.Location = new System.Drawing.Point(12, 5);
  251. this.label_Show_Op.Name = "label_Show_Op";
  252. this.label_Show_Op.Size = new System.Drawing.Size(0, 15);
  253. this.label_Show_Op.TabIndex = 21;
  254. //
  255. // Form1
  256. //
  257. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  258. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  259. this.ClientSize = new System.Drawing.Size(272, 273);
  260. this.Controls.Add(this.label_Show_Op);
  261. this.Controls.Add(this.textBox_Result);
  262. this.Controls.Add(this.button16);
  263. this.Controls.Add(this.button17);
  264. this.Controls.Add(this.button18);
  265. this.Controls.Add(this.button20);
  266. this.Controls.Add(this.button12);
  267. this.Controls.Add(this.button13);
  268. this.Controls.Add(this.button14);
  269. this.Controls.Add(this.button15);
  270. this.Controls.Add(this.button6);
  271. this.Controls.Add(this.button7);
  272. this.Controls.Add(this.button8);
  273. this.Controls.Add(this.button9);
  274. this.Controls.Add(this.button10);
  275. this.Controls.Add(this.button4);
  276. this.Controls.Add(this.button3);
  277. this.Controls.Add(this.button2);
  278. this.Controls.Add(this.button1);
  279. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  280. this.MaximizeBox = false;
  281. this.Name = "Form1";
  282. this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
  283. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  284. this.Text = "Calculator";
  285. this.ResumeLayout(false);
  286. this.PerformLayout();
  287. }
  288. #endregion
  289. private System.Windows.Forms.Button button1;
  290. private System.Windows.Forms.Button button2;
  291. private System.Windows.Forms.Button button3;
  292. private System.Windows.Forms.Button button4;
  293. private System.Windows.Forms.Button button6;
  294. private System.Windows.Forms.Button button7;
  295. private System.Windows.Forms.Button button8;
  296. private System.Windows.Forms.Button button9;
  297. private System.Windows.Forms.Button button10;
  298. private System.Windows.Forms.Button button12;
  299. private System.Windows.Forms.Button button13;
  300. private System.Windows.Forms.Button button14;
  301. private System.Windows.Forms.Button button15;
  302. private System.Windows.Forms.Button button20;
  303. private System.Windows.Forms.Button button18;
  304. private System.Windows.Forms.Button button16;
  305. private System.Windows.Forms.Button button17;
  306. private System.Windows.Forms.TextBox textBox_Result;
  307. private System.Windows.Forms.Label label_Show_Op;
  308. }
  309. }