userg2.cs
Upload User: fuyouda
Upload Date: 2021-03-17
Package Size: 8619k
Code Size: 5k
Category:

Windows Develop

Development Platform:

C/C++

  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. /// userg2 的摘要说明。
  10. /// </summary>
  11. public class userg2 : System.Windows.Forms.Form
  12. {
  13. private System.Windows.Forms.Panel panel1;
  14. private System.Windows.Forms.Label label1;
  15. private System.Windows.Forms.TextBox textBox1;
  16. private System.Windows.Forms.Label label2;
  17. private System.Windows.Forms.TextBox textBox2;
  18. private System.Windows.Forms.Button button1;
  19. private System.Windows.Forms.Button button2;
  20. private System.Windows.Forms.GroupBox groupBox1;
  21. private System.Windows.Forms.CheckedListBox checkedListBox1;
  22. /// <summary>
  23. /// 必需的设计器变量。
  24. /// </summary>
  25. private System.ComponentModel.Container components = null;
  26. public userg2()
  27. {
  28. //
  29. // Windows 窗体设计器支持所必需的
  30. //
  31. InitializeComponent();
  32. //
  33. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  34. //
  35. }
  36. /// <summary>
  37. /// 清理所有正在使用的资源。
  38. /// </summary>
  39. protected override void Dispose( bool disposing )
  40. {
  41. if( disposing )
  42. {
  43. if(components != null)
  44. {
  45. components.Dispose();
  46. }
  47. }
  48. base.Dispose( disposing );
  49. }
  50. #region Windows 窗体设计器生成的代码
  51. /// <summary>
  52. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  53. /// 此方法的内容。
  54. /// </summary>
  55. private void InitializeComponent()
  56. {
  57. this.panel1 = new System.Windows.Forms.Panel();
  58. this.label1 = new System.Windows.Forms.Label();
  59. this.textBox1 = new System.Windows.Forms.TextBox();
  60. this.label2 = new System.Windows.Forms.Label();
  61. this.textBox2 = new System.Windows.Forms.TextBox();
  62. this.button1 = new System.Windows.Forms.Button();
  63. this.button2 = new System.Windows.Forms.Button();
  64. this.groupBox1 = new System.Windows.Forms.GroupBox();
  65. this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
  66. this.panel1.SuspendLayout();
  67. this.groupBox1.SuspendLayout();
  68. this.SuspendLayout();
  69. // 
  70. // panel1
  71. // 
  72. this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  73. this.panel1.Controls.Add(this.button2);
  74. this.panel1.Controls.Add(this.button1);
  75. this.panel1.Controls.Add(this.textBox2);
  76. this.panel1.Controls.Add(this.label2);
  77. this.panel1.Controls.Add(this.textBox1);
  78. this.panel1.Controls.Add(this.label1);
  79. this.panel1.Location = new System.Drawing.Point(0, 0);
  80. this.panel1.Name = "panel1";
  81. this.panel1.Size = new System.Drawing.Size(560, 64);
  82. this.panel1.TabIndex = 0;
  83. // 
  84. // label1
  85. // 
  86. this.label1.Location = new System.Drawing.Point(24, 8);
  87. this.label1.Name = "label1";
  88. this.label1.Size = new System.Drawing.Size(56, 16);
  89. this.label1.TabIndex = 0;
  90. this.label1.Text = "用户名:";
  91. // 
  92. // textBox1
  93. // 
  94. this.textBox1.Location = new System.Drawing.Point(24, 32);
  95. this.textBox1.Name = "textBox1";
  96. this.textBox1.Size = new System.Drawing.Size(152, 21);
  97. this.textBox1.TabIndex = 1;
  98. this.textBox1.Text = "textBox1";
  99. // 
  100. // label2
  101. // 
  102. this.label2.Location = new System.Drawing.Point(200, 8);
  103. this.label2.Name = "label2";
  104. this.label2.Size = new System.Drawing.Size(56, 16);
  105. this.label2.TabIndex = 2;
  106. this.label2.Text = "密  码:";
  107. // 
  108. // textBox2
  109. // 
  110. this.textBox2.Location = new System.Drawing.Point(202, 30);
  111. this.textBox2.Name = "textBox2";
  112. this.textBox2.Size = new System.Drawing.Size(152, 21);
  113. this.textBox2.TabIndex = 3;
  114. this.textBox2.Text = "textBox2";
  115. // 
  116. // button1
  117. // 
  118. this.button1.Location = new System.Drawing.Point(368, 24);
  119. this.button1.Name = "button1";
  120. this.button1.Size = new System.Drawing.Size(64, 24);
  121. this.button1.TabIndex = 4;
  122. this.button1.Text = "确定";
  123. // 
  124. // button2
  125. // 
  126. this.button2.Location = new System.Drawing.Point(448, 24);
  127. this.button2.Name = "button2";
  128. this.button2.Size = new System.Drawing.Size(64, 24);
  129. this.button2.TabIndex = 5;
  130. this.button2.Text = "取消";
  131. // 
  132. // groupBox1
  133. // 
  134. this.groupBox1.Controls.Add(this.checkedListBox1);
  135. this.groupBox1.Location = new System.Drawing.Point(16, 80);
  136. this.groupBox1.Name = "groupBox1";
  137. this.groupBox1.Size = new System.Drawing.Size(536, 240);
  138. this.groupBox1.TabIndex = 1;
  139. this.groupBox1.TabStop = false;
  140. this.groupBox1.Text = "功能权限表";
  141. // 
  142. // checkedListBox1
  143. // 
  144. this.checkedListBox1.Location = new System.Drawing.Point(8, 16);
  145. this.checkedListBox1.Name = "checkedListBox1";
  146. this.checkedListBox1.Size = new System.Drawing.Size(520, 212);
  147. this.checkedListBox1.TabIndex = 0;
  148. // 
  149. // userg2
  150. // 
  151. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  152. this.ClientSize = new System.Drawing.Size(560, 328);
  153. this.Controls.Add(this.groupBox1);
  154. this.Controls.Add(this.panel1);
  155. this.Name = "userg2";
  156. this.Text = "添加、修改用户信息";
  157. this.panel1.ResumeLayout(false);
  158. this.groupBox1.ResumeLayout(false);
  159. this.ResumeLayout(false);
  160. }
  161. #endregion
  162. }
  163. }