Form1.Designer.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. namespace WindowsFormsPartial
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 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 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.groupBox1 = new System.Windows.Forms.GroupBox();
  29. this.txtNo1 = new System.Windows.Forms.TextBox();
  30. this.comboBox1 = new System.Windows.Forms.ComboBox();
  31. this.txtNo2 = new System.Windows.Forms.TextBox();
  32. this.button1 = new System.Windows.Forms.Button();
  33. this.label1 = new System.Windows.Forms.Label();
  34. this.txtResult = new System.Windows.Forms.TextBox();
  35. this.groupBox1.SuspendLayout();
  36. this.SuspendLayout();
  37. //
  38. // groupBox1
  39. //
  40. this.groupBox1.Controls.Add(this.txtResult);
  41. this.groupBox1.Controls.Add(this.label1);
  42. this.groupBox1.Controls.Add(this.button1);
  43. this.groupBox1.Controls.Add(this.txtNo2);
  44. this.groupBox1.Controls.Add(this.comboBox1);
  45. this.groupBox1.Controls.Add(this.txtNo1);
  46. this.groupBox1.Location = new System.Drawing.Point(13, 13);
  47. this.groupBox1.Name = "groupBox1";
  48. this.groupBox1.Size = new System.Drawing.Size(451, 134);
  49. this.groupBox1.TabIndex = 0;
  50. this.groupBox1.TabStop = false;
  51. this.groupBox1.Text = "运算";
  52. //
  53. // txtNo1
  54. //
  55. this.txtNo1.Location = new System.Drawing.Point(28, 25);
  56. this.txtNo1.Name = "txtNo1";
  57. this.txtNo1.Size = new System.Drawing.Size(100, 25);
  58. this.txtNo1.TabIndex = 0;
  59. //
  60. // comboBox1
  61. //
  62. this.comboBox1.DropDownWidth = 59;
  63. this.comboBox1.FormattingEnabled = true;
  64. this.comboBox1.Items.AddRange(new object[] {
  65. "加",
  66. "减",
  67. "乘",
  68. "除"});
  69. this.comboBox1.Location = new System.Drawing.Point(147, 26);
  70. this.comboBox1.Name = "comboBox1";
  71. this.comboBox1.Size = new System.Drawing.Size(59, 23);
  72. this.comboBox1.TabIndex = 1;
  73. //
  74. // txtNo2
  75. //
  76. this.txtNo2.Location = new System.Drawing.Point(229, 26);
  77. this.txtNo2.Name = "txtNo2";
  78. this.txtNo2.Size = new System.Drawing.Size(100, 25);
  79. this.txtNo2.TabIndex = 2;
  80. //
  81. // button1
  82. //
  83. this.button1.Location = new System.Drawing.Point(353, 24);
  84. this.button1.Name = "button1";
  85. this.button1.Size = new System.Drawing.Size(94, 30);
  86. this.button1.TabIndex = 3;
  87. this.button1.Text = "等于";
  88. this.button1.UseVisualStyleBackColor = true;
  89. this.button1.Click += new System.EventHandler(this.button1_Click);
  90. //
  91. // label1
  92. //
  93. this.label1.AutoSize = true;
  94. this.label1.Location = new System.Drawing.Point(28, 79);
  95. this.label1.Name = "label1";
  96. this.label1.Size = new System.Drawing.Size(82, 15);
  97. this.label1.TabIndex = 4;
  98. this.label1.Text = "运算结果:";
  99. //
  100. // txtResult
  101. //
  102. this.txtResult.Location = new System.Drawing.Point(134, 74);
  103. this.txtResult.Name = "txtResult";
  104. this.txtResult.Size = new System.Drawing.Size(313, 25);
  105. this.txtResult.TabIndex = 5;
  106. //
  107. // Form1
  108. //
  109. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  110. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  111. this.ClientSize = new System.Drawing.Size(476, 162);
  112. this.Controls.Add(this.groupBox1);
  113. this.Name = "Form1";
  114. this.Text = "Form1";
  115. this.Load += new System.EventHandler(this.Form1_Load);
  116. this.groupBox1.ResumeLayout(false);
  117. this.groupBox1.PerformLayout();
  118. this.ResumeLayout(false);
  119. }
  120. #endregion
  121. private System.Windows.Forms.GroupBox groupBox1;
  122. private System.Windows.Forms.TextBox txtResult;
  123. private System.Windows.Forms.Label label1;
  124. private System.Windows.Forms.Button button1;
  125. private System.Windows.Forms.TextBox txtNo2;
  126. private System.Windows.Forms.ComboBox comboBox1;
  127. private System.Windows.Forms.TextBox txtNo1;
  128. }
  129. }