Form1.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. namespace WindowsApplication1
  7. {
  8. /// <summary>
  9. /// Summary description for Form1.
  10. /// </summary>
  11. public class Form1 : System.Windows.Forms.Form
  12. {
  13. private System.Windows.Forms.Button button1;
  14. private System.Windows.Forms.TextBox textBox1;
  15. private System.Windows.Forms.RadioButton radioButton1;
  16. private System.Windows.Forms.Label label1;
  17. /// <summary>
  18. /// Required designer variable.
  19. /// </summary>
  20. private System.ComponentModel.Container components = null;
  21. public Form1()
  22. {
  23. //
  24. // Required for Windows Form Designer support
  25. //
  26. InitializeComponent();
  27. //
  28. // TODO: Add any constructor code after InitializeComponent call
  29. //
  30. }
  31. /// <summary>
  32. /// Clean up any resources being used.
  33. /// </summary>
  34. protected override void Dispose( bool disposing )
  35. {
  36. if( disposing )
  37. {
  38. if (components != null)
  39. {
  40. components.Dispose();
  41. }
  42. }
  43. base.Dispose( disposing );
  44. }
  45. #region Windows Form Designer generated code
  46. /// <summary>
  47. /// Required method for Designer support - do not modify
  48. /// the contents of this method with the code editor.
  49. /// </summary>
  50. private void InitializeComponent()
  51. {
  52. this.button1 = new System.Windows.Forms.Button();
  53. this.textBox1 = new System.Windows.Forms.TextBox();
  54. this.radioButton1 = new System.Windows.Forms.RadioButton();
  55. this.label1 = new System.Windows.Forms.Label();
  56. this.SuspendLayout();
  57. //
  58. // button1
  59. //
  60. this.button1.Location = new System.Drawing.Point(168, 32);
  61. this.button1.Name = "button1";
  62. this.button1.Size = new System.Drawing.Size(104, 80);
  63. this.button1.TabIndex = 0;
  64. this.button1.Text = "button1";
  65. //
  66. // textBox1
  67. //
  68. this.textBox1.Location = new System.Drawing.Point(32, 160);
  69. this.textBox1.Name = "textBox1";
  70. this.textBox1.Size = new System.Drawing.Size(168, 20);
  71. this.textBox1.TabIndex = 1;
  72. this.textBox1.Text = "textBox1";
  73. //
  74. // radioButton1
  75. //
  76. this.radioButton1.Location = new System.Drawing.Point(40, 208);
  77. this.radioButton1.Name = "radioButton1";
  78. this.radioButton1.Size = new System.Drawing.Size(176, 40);
  79. this.radioButton1.TabIndex = 2;
  80. this.radioButton1.Text = "radioButton1";
  81. //
  82. // label1
  83. //
  84. this.label1.Location = new System.Drawing.Point(32, 56);
  85. this.label1.Name = "label1";
  86. this.label1.Size = new System.Drawing.Size(104, 64);
  87. this.label1.TabIndex = 3;
  88. this.label1.Text = "label1";
  89. //
  90. // Form1
  91. //
  92. this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
  93. this.ClientSize = new System.Drawing.Size(292, 273);
  94. this.Controls.Add(this.label1);
  95. this.Controls.Add(this.radioButton1);
  96. this.Controls.Add(this.textBox1);
  97. this.Controls.Add(this.button1);
  98. this.Name = "Form1";
  99. this.Text = "Form1";
  100. this.Load += new System.EventHandler(this.Form1_Load);
  101. this.ResumeLayout(false);
  102. }
  103. #endregion
  104. /// <summary>
  105. /// The main entry point for the application.
  106. /// </summary>
  107. [STAThread]
  108. static void Main()
  109. {
  110. Application.Run(new Form1());
  111. }
  112. private void Form1_Load(object sender, System.EventArgs e)
  113. {
  114. }
  115. }
  116. }