PageUserManage.Designer.cs 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. namespace Scada.Page
  2. {
  3. partial class PageUserManage
  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. DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
  29. DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
  30. DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
  31. DataGridViewCellStyle dataGridViewCellStyle4 = new DataGridViewCellStyle();
  32. DataGridViewCellStyle dataGridViewCellStyle5 = new DataGridViewCellStyle();
  33. uiLabel1 = new Sunny.UI.UILabel();
  34. txt_UserName = new Sunny.UI.UITextBox();
  35. txt_Password = new Sunny.UI.UITextBox();
  36. uiLabel2 = new Sunny.UI.UILabel();
  37. txt_EnterPassword = new Sunny.UI.UITextBox();
  38. uiLabel3 = new Sunny.UI.UILabel();
  39. uiLabel4 = new Sunny.UI.UILabel();
  40. cb_Auth = new Sunny.UI.UIComboBox();
  41. btn_AddUser = new Sunny.UI.UISymbolButton();
  42. btn_Update = new Sunny.UI.UISymbolButton();
  43. btn_Delete = new Sunny.UI.UISymbolButton();
  44. dgv_User = new Sunny.UI.UIDataGridView();
  45. Id = new DataGridViewTextBoxColumn();
  46. UserName = new DataGridViewTextBoxColumn();
  47. UserPassword = new DataGridViewTextBoxColumn();
  48. Role = new DataGridViewTextBoxColumn();
  49. ((System.ComponentModel.ISupportInitialize)dgv_User).BeginInit();
  50. SuspendLayout();
  51. //
  52. // uiLabel1
  53. //
  54. uiLabel1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  55. uiLabel1.ForeColor = Color.FromArgb(48, 48, 48);
  56. uiLabel1.Location = new Point(33, 30);
  57. uiLabel1.Name = "uiLabel1";
  58. uiLabel1.Size = new Size(125, 29);
  59. uiLabel1.TabIndex = 0;
  60. uiLabel1.Text = "用户名称:";
  61. //
  62. // txt_UserName
  63. //
  64. txt_UserName.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  65. txt_UserName.Location = new Point(149, 23);
  66. txt_UserName.Margin = new Padding(4, 5, 4, 5);
  67. txt_UserName.MinimumSize = new Size(1, 16);
  68. txt_UserName.Name = "txt_UserName";
  69. txt_UserName.Padding = new Padding(5);
  70. txt_UserName.ShowText = false;
  71. txt_UserName.Size = new Size(188, 36);
  72. txt_UserName.TabIndex = 1;
  73. txt_UserName.TextAlignment = ContentAlignment.MiddleLeft;
  74. txt_UserName.Watermark = "用户名称";
  75. //
  76. // txt_Password
  77. //
  78. txt_Password.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  79. txt_Password.Location = new Point(149, 82);
  80. txt_Password.Margin = new Padding(4, 5, 4, 5);
  81. txt_Password.MinimumSize = new Size(1, 16);
  82. txt_Password.Name = "txt_Password";
  83. txt_Password.Padding = new Padding(5);
  84. txt_Password.ShowText = false;
  85. txt_Password.Size = new Size(188, 36);
  86. txt_Password.TabIndex = 3;
  87. txt_Password.TextAlignment = ContentAlignment.MiddleLeft;
  88. txt_Password.Watermark = "用户密码";
  89. //
  90. // uiLabel2
  91. //
  92. uiLabel2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  93. uiLabel2.ForeColor = Color.FromArgb(48, 48, 48);
  94. uiLabel2.Location = new Point(33, 89);
  95. uiLabel2.Name = "uiLabel2";
  96. uiLabel2.Size = new Size(125, 29);
  97. uiLabel2.TabIndex = 2;
  98. uiLabel2.Text = "用户密码:";
  99. //
  100. // txt_EnterPassword
  101. //
  102. txt_EnterPassword.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  103. txt_EnterPassword.Location = new Point(149, 139);
  104. txt_EnterPassword.Margin = new Padding(4, 5, 4, 5);
  105. txt_EnterPassword.MinimumSize = new Size(1, 16);
  106. txt_EnterPassword.Name = "txt_EnterPassword";
  107. txt_EnterPassword.Padding = new Padding(5);
  108. txt_EnterPassword.ShowText = false;
  109. txt_EnterPassword.Size = new Size(188, 36);
  110. txt_EnterPassword.TabIndex = 5;
  111. txt_EnterPassword.TextAlignment = ContentAlignment.MiddleLeft;
  112. txt_EnterPassword.Watermark = "确认密码";
  113. //
  114. // uiLabel3
  115. //
  116. uiLabel3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  117. uiLabel3.ForeColor = Color.FromArgb(48, 48, 48);
  118. uiLabel3.Location = new Point(33, 146);
  119. uiLabel3.Name = "uiLabel3";
  120. uiLabel3.Size = new Size(125, 29);
  121. uiLabel3.TabIndex = 4;
  122. uiLabel3.Text = "确认密码:";
  123. //
  124. // uiLabel4
  125. //
  126. uiLabel4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  127. uiLabel4.ForeColor = Color.FromArgb(48, 48, 48);
  128. uiLabel4.Location = new Point(33, 204);
  129. uiLabel4.Name = "uiLabel4";
  130. uiLabel4.Size = new Size(125, 29);
  131. uiLabel4.TabIndex = 6;
  132. uiLabel4.Text = "权限选择:";
  133. //
  134. // cb_Auth
  135. //
  136. cb_Auth.DataSource = null;
  137. cb_Auth.FillColor = Color.White;
  138. cb_Auth.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  139. cb_Auth.ItemHoverColor = Color.FromArgb(155, 200, 255);
  140. cb_Auth.ItemSelectForeColor = Color.FromArgb(235, 243, 255);
  141. cb_Auth.Location = new Point(149, 197);
  142. cb_Auth.Margin = new Padding(4, 5, 4, 5);
  143. cb_Auth.MinimumSize = new Size(63, 0);
  144. cb_Auth.Name = "cb_Auth";
  145. cb_Auth.Padding = new Padding(0, 0, 30, 2);
  146. cb_Auth.Size = new Size(188, 36);
  147. cb_Auth.SymbolSize = 24;
  148. cb_Auth.TabIndex = 7;
  149. cb_Auth.TextAlignment = ContentAlignment.MiddleLeft;
  150. cb_Auth.Watermark = "权限选择";
  151. //
  152. // btn_AddUser
  153. //
  154. btn_AddUser.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  155. btn_AddUser.Location = new Point(33, 262);
  156. btn_AddUser.MinimumSize = new Size(1, 1);
  157. btn_AddUser.Name = "btn_AddUser";
  158. btn_AddUser.Size = new Size(304, 56);
  159. btn_AddUser.Symbol = 561285;
  160. btn_AddUser.TabIndex = 8;
  161. btn_AddUser.Text = "添加用户";
  162. btn_AddUser.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
  163. btn_AddUser.Click += btn_AddUser_Click;
  164. //
  165. // btn_Update
  166. //
  167. btn_Update.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  168. btn_Update.Location = new Point(33, 359);
  169. btn_Update.MinimumSize = new Size(1, 1);
  170. btn_Update.Name = "btn_Update";
  171. btn_Update.Size = new Size(304, 56);
  172. btn_Update.Symbol = 362719;
  173. btn_Update.TabIndex = 9;
  174. btn_Update.Text = "修改用户";
  175. btn_Update.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
  176. btn_Update.Click += btn_Update_Click;
  177. //
  178. // btn_Delete
  179. //
  180. btn_Delete.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  181. btn_Delete.Location = new Point(33, 456);
  182. btn_Delete.MinimumSize = new Size(1, 1);
  183. btn_Delete.Name = "btn_Delete";
  184. btn_Delete.Size = new Size(304, 56);
  185. btn_Delete.Symbol = 561286;
  186. btn_Delete.TabIndex = 10;
  187. btn_Delete.Text = "删除用户";
  188. btn_Delete.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
  189. btn_Delete.Click += btn_Delete_Click;
  190. //
  191. // dgv_User
  192. //
  193. dgv_User.AllowUserToAddRows = false;
  194. dgv_User.AllowUserToDeleteRows = false;
  195. dataGridViewCellStyle1.BackColor = Color.FromArgb(235, 243, 255);
  196. dgv_User.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
  197. dgv_User.BackgroundColor = Color.White;
  198. dgv_User.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
  199. dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
  200. dataGridViewCellStyle2.BackColor = Color.FromArgb(80, 160, 255);
  201. dataGridViewCellStyle2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  202. dataGridViewCellStyle2.ForeColor = Color.White;
  203. dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight;
  204. dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText;
  205. dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True;
  206. dgv_User.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
  207. dgv_User.ColumnHeadersHeight = 32;
  208. dgv_User.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
  209. dgv_User.Columns.AddRange(new DataGridViewColumn[] { Id, UserName, UserPassword, Role });
  210. dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft;
  211. dataGridViewCellStyle3.BackColor = SystemColors.Window;
  212. dataGridViewCellStyle3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  213. dataGridViewCellStyle3.ForeColor = Color.FromArgb(48, 48, 48);
  214. dataGridViewCellStyle3.SelectionBackColor = SystemColors.Highlight;
  215. dataGridViewCellStyle3.SelectionForeColor = SystemColors.HighlightText;
  216. dataGridViewCellStyle3.WrapMode = DataGridViewTriState.False;
  217. dgv_User.DefaultCellStyle = dataGridViewCellStyle3;
  218. dgv_User.EnableHeadersVisualStyles = false;
  219. dgv_User.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  220. dgv_User.GridColor = Color.FromArgb(80, 160, 255);
  221. dgv_User.Location = new Point(392, 23);
  222. dgv_User.Name = "dgv_User";
  223. dgv_User.ReadOnly = true;
  224. dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleLeft;
  225. dataGridViewCellStyle4.BackColor = Color.FromArgb(235, 243, 255);
  226. dataGridViewCellStyle4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  227. dataGridViewCellStyle4.ForeColor = Color.FromArgb(48, 48, 48);
  228. dataGridViewCellStyle4.SelectionBackColor = Color.FromArgb(80, 160, 255);
  229. dataGridViewCellStyle4.SelectionForeColor = Color.White;
  230. dataGridViewCellStyle4.WrapMode = DataGridViewTriState.True;
  231. dgv_User.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
  232. dgv_User.RowHeadersWidth = 51;
  233. dataGridViewCellStyle5.BackColor = Color.White;
  234. dataGridViewCellStyle5.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  235. dgv_User.RowsDefaultCellStyle = dataGridViewCellStyle5;
  236. dgv_User.SelectedIndex = -1;
  237. dgv_User.Size = new Size(663, 489);
  238. dgv_User.StripeOddColor = Color.FromArgb(235, 243, 255);
  239. dgv_User.TabIndex = 11;
  240. dgv_User.SelectIndexChange += dgv_User_SelectIndexChange;
  241. //
  242. // Id
  243. //
  244. Id.DataPropertyName = "Id";
  245. Id.HeaderText = "Id";
  246. Id.MinimumWidth = 6;
  247. Id.Name = "Id";
  248. Id.ReadOnly = true;
  249. Id.Width = 60;
  250. //
  251. // UserName
  252. //
  253. UserName.DataPropertyName = "UserName";
  254. UserName.HeaderText = "用户名";
  255. UserName.MinimumWidth = 6;
  256. UserName.Name = "UserName";
  257. UserName.ReadOnly = true;
  258. UserName.Width = 200;
  259. //
  260. // UserPassword
  261. //
  262. UserPassword.DataPropertyName = "UserPassword";
  263. UserPassword.HeaderText = "密码";
  264. UserPassword.MinimumWidth = 6;
  265. UserPassword.Name = "UserPassword";
  266. UserPassword.ReadOnly = true;
  267. UserPassword.Width = 200;
  268. //
  269. // Role
  270. //
  271. Role.DataPropertyName = "Role";
  272. Role.HeaderText = "角色";
  273. Role.MinimumWidth = 6;
  274. Role.Name = "Role";
  275. Role.ReadOnly = true;
  276. Role.Width = 150;
  277. //
  278. // PageUserManage
  279. //
  280. AutoScaleMode = AutoScaleMode.None;
  281. ClientSize = new Size(1067, 544);
  282. Controls.Add(dgv_User);
  283. Controls.Add(btn_Delete);
  284. Controls.Add(btn_Update);
  285. Controls.Add(btn_AddUser);
  286. Controls.Add(cb_Auth);
  287. Controls.Add(uiLabel4);
  288. Controls.Add(txt_EnterPassword);
  289. Controls.Add(uiLabel3);
  290. Controls.Add(txt_Password);
  291. Controls.Add(uiLabel2);
  292. Controls.Add(txt_UserName);
  293. Controls.Add(uiLabel1);
  294. Name = "PageUserManage";
  295. Text = "用户管理";
  296. Initialize += PageUserManage_Initialize;
  297. Load += PageUserManage_Load;
  298. ((System.ComponentModel.ISupportInitialize)dgv_User).EndInit();
  299. ResumeLayout(false);
  300. }
  301. #endregion
  302. private Sunny.UI.UILabel uiLabel1;
  303. private Sunny.UI.UITextBox txt_UserName;
  304. private Sunny.UI.UITextBox txt_Password;
  305. private Sunny.UI.UILabel uiLabel2;
  306. private Sunny.UI.UITextBox txt_EnterPassword;
  307. private Sunny.UI.UILabel uiLabel3;
  308. private Sunny.UI.UILabel uiLabel4;
  309. private Sunny.UI.UIComboBox cb_Auth;
  310. private Sunny.UI.UISymbolButton btn_AddUser;
  311. private Sunny.UI.UISymbolButton btn_Update;
  312. private Sunny.UI.UISymbolButton btn_Delete;
  313. private Sunny.UI.UIDataGridView dgv_User;
  314. private DataGridViewTextBoxColumn Id;
  315. private DataGridViewTextBoxColumn UserName;
  316. private DataGridViewTextBoxColumn UserPassword;
  317. private DataGridViewTextBoxColumn Role;
  318. }
  319. }