PageUserManage.Designer.cs 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  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. //
  164. // btn_Update
  165. //
  166. btn_Update.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  167. btn_Update.Location = new Point(33, 359);
  168. btn_Update.MinimumSize = new Size(1, 1);
  169. btn_Update.Name = "btn_Update";
  170. btn_Update.Size = new Size(304, 56);
  171. btn_Update.Symbol = 362719;
  172. btn_Update.TabIndex = 9;
  173. btn_Update.Text = "修改用户";
  174. btn_Update.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
  175. //
  176. // btn_Delete
  177. //
  178. btn_Delete.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  179. btn_Delete.Location = new Point(33, 456);
  180. btn_Delete.MinimumSize = new Size(1, 1);
  181. btn_Delete.Name = "btn_Delete";
  182. btn_Delete.Size = new Size(304, 56);
  183. btn_Delete.Symbol = 561286;
  184. btn_Delete.TabIndex = 10;
  185. btn_Delete.Text = "删除用户";
  186. btn_Delete.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
  187. //
  188. // dgv_User
  189. //
  190. dgv_User.AllowUserToAddRows = false;
  191. dgv_User.AllowUserToDeleteRows = false;
  192. dataGridViewCellStyle1.BackColor = Color.FromArgb(235, 243, 255);
  193. dgv_User.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
  194. dgv_User.BackgroundColor = Color.White;
  195. dgv_User.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
  196. dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
  197. dataGridViewCellStyle2.BackColor = Color.FromArgb(80, 160, 255);
  198. dataGridViewCellStyle2.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  199. dataGridViewCellStyle2.ForeColor = Color.White;
  200. dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight;
  201. dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText;
  202. dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True;
  203. dgv_User.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
  204. dgv_User.ColumnHeadersHeight = 32;
  205. dgv_User.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
  206. dgv_User.Columns.AddRange(new DataGridViewColumn[] { Id, UserName, UserPassword, Role });
  207. dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft;
  208. dataGridViewCellStyle3.BackColor = SystemColors.Window;
  209. dataGridViewCellStyle3.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  210. dataGridViewCellStyle3.ForeColor = Color.FromArgb(48, 48, 48);
  211. dataGridViewCellStyle3.SelectionBackColor = SystemColors.Highlight;
  212. dataGridViewCellStyle3.SelectionForeColor = SystemColors.HighlightText;
  213. dataGridViewCellStyle3.WrapMode = DataGridViewTriState.False;
  214. dgv_User.DefaultCellStyle = dataGridViewCellStyle3;
  215. dgv_User.EnableHeadersVisualStyles = false;
  216. dgv_User.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  217. dgv_User.GridColor = Color.FromArgb(80, 160, 255);
  218. dgv_User.Location = new Point(392, 23);
  219. dgv_User.Name = "dgv_User";
  220. dgv_User.ReadOnly = true;
  221. dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleLeft;
  222. dataGridViewCellStyle4.BackColor = Color.FromArgb(235, 243, 255);
  223. dataGridViewCellStyle4.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  224. dataGridViewCellStyle4.ForeColor = Color.FromArgb(48, 48, 48);
  225. dataGridViewCellStyle4.SelectionBackColor = Color.FromArgb(80, 160, 255);
  226. dataGridViewCellStyle4.SelectionForeColor = Color.White;
  227. dataGridViewCellStyle4.WrapMode = DataGridViewTriState.True;
  228. dgv_User.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
  229. dgv_User.RowHeadersWidth = 51;
  230. dataGridViewCellStyle5.BackColor = Color.White;
  231. dataGridViewCellStyle5.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
  232. dgv_User.RowsDefaultCellStyle = dataGridViewCellStyle5;
  233. dgv_User.SelectedIndex = -1;
  234. dgv_User.Size = new Size(663, 489);
  235. dgv_User.StripeOddColor = Color.FromArgb(235, 243, 255);
  236. dgv_User.TabIndex = 11;
  237. //
  238. // Id
  239. //
  240. Id.HeaderText = "Id";
  241. Id.MinimumWidth = 6;
  242. Id.Name = "Id";
  243. Id.ReadOnly = true;
  244. Id.Width = 60;
  245. //
  246. // UserName
  247. //
  248. UserName.HeaderText = "用户名";
  249. UserName.MinimumWidth = 6;
  250. UserName.Name = "UserName";
  251. UserName.ReadOnly = true;
  252. UserName.Width = 200;
  253. //
  254. // UserPassword
  255. //
  256. UserPassword.HeaderText = "密码";
  257. UserPassword.MinimumWidth = 6;
  258. UserPassword.Name = "UserPassword";
  259. UserPassword.ReadOnly = true;
  260. UserPassword.Width = 200;
  261. //
  262. // Role
  263. //
  264. Role.HeaderText = "角色";
  265. Role.MinimumWidth = 6;
  266. Role.Name = "Role";
  267. Role.ReadOnly = true;
  268. Role.Width = 150;
  269. //
  270. // PageUserManage
  271. //
  272. AutoScaleMode = AutoScaleMode.None;
  273. ClientSize = new Size(1067, 544);
  274. Controls.Add(dgv_User);
  275. Controls.Add(btn_Delete);
  276. Controls.Add(btn_Update);
  277. Controls.Add(btn_AddUser);
  278. Controls.Add(cb_Auth);
  279. Controls.Add(uiLabel4);
  280. Controls.Add(txt_EnterPassword);
  281. Controls.Add(uiLabel3);
  282. Controls.Add(txt_Password);
  283. Controls.Add(uiLabel2);
  284. Controls.Add(txt_UserName);
  285. Controls.Add(uiLabel1);
  286. Name = "PageUserManage";
  287. Text = "用户管理";
  288. Initialize += PageUserManage_Initialize;
  289. Load += PageUserManage_Load;
  290. ((System.ComponentModel.ISupportInitialize)dgv_User).EndInit();
  291. ResumeLayout(false);
  292. }
  293. #endregion
  294. private Sunny.UI.UILabel uiLabel1;
  295. private Sunny.UI.UITextBox txt_UserName;
  296. private Sunny.UI.UITextBox txt_Password;
  297. private Sunny.UI.UILabel uiLabel2;
  298. private Sunny.UI.UITextBox txt_EnterPassword;
  299. private Sunny.UI.UILabel uiLabel3;
  300. private Sunny.UI.UILabel uiLabel4;
  301. private Sunny.UI.UIComboBox cb_Auth;
  302. private Sunny.UI.UISymbolButton btn_AddUser;
  303. private Sunny.UI.UISymbolButton btn_Update;
  304. private Sunny.UI.UISymbolButton btn_Delete;
  305. private Sunny.UI.UIDataGridView dgv_User;
  306. private DataGridViewTextBoxColumn Id;
  307. private DataGridViewTextBoxColumn UserName;
  308. private DataGridViewTextBoxColumn UserPassword;
  309. private DataGridViewTextBoxColumn Role;
  310. }
  311. }