| | |
| | | comboBoxPermission = new ComboBox(); |
| | | dataGridViewUM = new DataGridView(); |
| | | tableLayoutPanel4 = new TableLayoutPanel(); |
| | | btnDel = new HopeButton(); |
| | | btnEdit = new HopeButton(); |
| | | btnFind = new HopeButton(); |
| | | btnEdit = new HopeButton(); |
| | | btnAdd = new ForeverButton(); |
| | | btnDel = new HopeButton(); |
| | | grpSetting.SuspendLayout(); |
| | | tableLayoutPanel1.SuspendLayout(); |
| | | tableLayoutPanel2.SuspendLayout(); |
| | |
| | | // tableLayoutPanel2 |
| | | // |
| | | tableLayoutPanel2.ColumnCount = 2; |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 60F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 340F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel2.Controls.Add(tableLayoutPanel3, 0, 0); |
| | | tableLayoutPanel2.Controls.Add(dataGridViewUM, 1, 0); |
| | | tableLayoutPanel2.Dock = DockStyle.Fill; |
| | |
| | | // |
| | | dataGridViewUM.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewUM.Dock = DockStyle.Fill; |
| | | dataGridViewUM.Location = new Point(344, 3); |
| | | dataGridViewUM.Location = new Point(343, 3); |
| | | dataGridViewUM.Name = "dataGridViewUM"; |
| | | dataGridViewUM.RowHeadersWidth = 51; |
| | | dataGridViewUM.Size = new Size(507, 494); |
| | | dataGridViewUM.Size = new Size(508, 494); |
| | | dataGridViewUM.TabIndex = 1; |
| | | // |
| | | // tableLayoutPanel4 |
| | | // |
| | | tableLayoutPanel4.Anchor = AnchorStyles.Top | AnchorStyles.Right; |
| | | tableLayoutPanel4.ColumnCount = 4; |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); |
| | | tableLayoutPanel4.Controls.Add(btnEdit, 1, 0); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F)); |
| | | tableLayoutPanel4.Controls.Add(btnFind, 0, 0); |
| | | tableLayoutPanel4.Controls.Add(btnDel, 3, 0); |
| | | tableLayoutPanel4.Controls.Add(btnEdit, 1, 0); |
| | | tableLayoutPanel4.Controls.Add(btnAdd, 2, 0); |
| | | tableLayoutPanel4.Controls.Add(btnDel, 3, 0); |
| | | tableLayoutPanel4.Location = new Point(457, 509); |
| | | tableLayoutPanel4.Name = "tableLayoutPanel4"; |
| | | tableLayoutPanel4.RowCount = 1; |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel4.Size = new Size(400, 39); |
| | | tableLayoutPanel4.TabIndex = 1; |
| | | // |
| | | // btnFind |
| | | // |
| | | btnFind.BorderColor = Color.FromArgb(220, 223, 230); |
| | | btnFind.ButtonType = ReaLTaiizor.Util.HopeButtonType.Primary; |
| | | btnFind.DangerColor = Color.FromArgb(245, 108, 108); |
| | | btnFind.DefaultColor = Color.FromArgb(255, 255, 255); |
| | | btnFind.Font = new Font("Segoe UI", 12F); |
| | | btnFind.HoverTextColor = Color.FromArgb(48, 49, 51); |
| | | btnFind.InfoColor = Color.FromArgb(144, 147, 153); |
| | | btnFind.Location = new Point(3, 3); |
| | | btnFind.Name = "btnFind"; |
| | | btnFind.PrimaryColor = Color.FromArgb(64, 158, 255); |
| | | btnFind.Size = new Size(94, 33); |
| | | btnFind.SuccessColor = Color.FromArgb(103, 194, 58); |
| | | btnFind.TabIndex = 1; |
| | | btnFind.Text = "查询"; |
| | | btnFind.TextColor = Color.White; |
| | | btnFind.WarningColor = Color.FromArgb(230, 162, 60); |
| | | btnFind.Click += btnFind_Click; |
| | | // |
| | | // btnEdit |
| | | // |
| | | btnEdit.BorderColor = Color.FromArgb(220, 223, 230); |
| | | btnEdit.ButtonType = ReaLTaiizor.Util.HopeButtonType.Primary; |
| | | btnEdit.DangerColor = Color.FromArgb(245, 108, 108); |
| | | btnEdit.DefaultColor = Color.FromArgb(255, 255, 255); |
| | | btnEdit.Font = new Font("Segoe UI", 12F); |
| | | btnEdit.HoverTextColor = Color.FromArgb(48, 49, 51); |
| | | btnEdit.InfoColor = Color.FromArgb(144, 147, 153); |
| | | btnEdit.Location = new Point(103, 3); |
| | | btnEdit.Name = "btnEdit"; |
| | | btnEdit.PrimaryColor = Color.FromArgb(64, 158, 255); |
| | | btnEdit.Size = new Size(94, 33); |
| | | btnEdit.SuccessColor = Color.FromArgb(103, 194, 58); |
| | | btnEdit.TabIndex = 2; |
| | | btnEdit.Text = "修改"; |
| | | btnEdit.TextColor = Color.White; |
| | | btnEdit.WarningColor = Color.FromArgb(230, 162, 60); |
| | | btnEdit.Click += btnEdit_Click; |
| | | // |
| | | // btnAdd |
| | | // |
| | | btnAdd.BackColor = Color.Transparent; |
| | | btnAdd.BaseColor = Color.FromArgb(35, 168, 109); |
| | | btnAdd.Font = new Font("Segoe UI", 12F); |
| | | btnAdd.Location = new Point(203, 3); |
| | | btnAdd.Name = "btnAdd"; |
| | | btnAdd.Rounded = false; |
| | | btnAdd.Size = new Size(94, 33); |
| | | btnAdd.TabIndex = 4; |
| | | btnAdd.Text = "添加"; |
| | | btnAdd.TextColor = Color.FromArgb(243, 243, 243); |
| | | btnAdd.Click += btnAdd_Click; |
| | | // |
| | | // btnDel |
| | | // |
| | |
| | | btnDel.TextColor = Color.White; |
| | | btnDel.WarningColor = Color.FromArgb(230, 162, 60); |
| | | btnDel.Click += btnDel_Click; |
| | | // |
| | | // btnEdit |
| | | // |
| | | btnEdit.BorderColor = Color.FromArgb(220, 223, 230); |
| | | btnEdit.ButtonType = ReaLTaiizor.Util.HopeButtonType.Primary; |
| | | btnEdit.DangerColor = Color.FromArgb(245, 108, 108); |
| | | btnEdit.DefaultColor = Color.FromArgb(255, 255, 255); |
| | | btnEdit.Font = new Font("Segoe UI", 12F); |
| | | btnEdit.HoverTextColor = Color.FromArgb(48, 49, 51); |
| | | btnEdit.InfoColor = Color.FromArgb(144, 147, 153); |
| | | btnEdit.Location = new Point(103, 3); |
| | | btnEdit.Name = "btnEdit"; |
| | | btnEdit.PrimaryColor = Color.FromArgb(64, 158, 255); |
| | | btnEdit.Size = new Size(94, 33); |
| | | btnEdit.SuccessColor = Color.FromArgb(103, 194, 58); |
| | | btnEdit.TabIndex = 2; |
| | | btnEdit.Text = "修改"; |
| | | btnEdit.TextColor = Color.White; |
| | | btnEdit.WarningColor = Color.FromArgb(230, 162, 60); |
| | | // |
| | | // btnFind |
| | | // |
| | | btnFind.BorderColor = Color.FromArgb(220, 223, 230); |
| | | btnFind.ButtonType = ReaLTaiizor.Util.HopeButtonType.Primary; |
| | | btnFind.DangerColor = Color.FromArgb(245, 108, 108); |
| | | btnFind.DefaultColor = Color.FromArgb(255, 255, 255); |
| | | btnFind.Font = new Font("Segoe UI", 12F); |
| | | btnFind.HoverTextColor = Color.FromArgb(48, 49, 51); |
| | | btnFind.InfoColor = Color.FromArgb(144, 147, 153); |
| | | btnFind.Location = new Point(3, 3); |
| | | btnFind.Name = "btnFind"; |
| | | btnFind.PrimaryColor = Color.FromArgb(64, 158, 255); |
| | | btnFind.Size = new Size(94, 33); |
| | | btnFind.SuccessColor = Color.FromArgb(103, 194, 58); |
| | | btnFind.TabIndex = 1; |
| | | btnFind.Text = "查询"; |
| | | btnFind.TextColor = Color.White; |
| | | btnFind.WarningColor = Color.FromArgb(230, 162, 60); |
| | | // |
| | | // btnAdd |
| | | // |
| | | btnAdd.BackColor = Color.Transparent; |
| | | btnAdd.BaseColor = Color.FromArgb(35, 168, 109); |
| | | btnAdd.Font = new Font("Segoe UI", 12F); |
| | | btnAdd.Location = new Point(203, 3); |
| | | btnAdd.Name = "btnAdd"; |
| | | btnAdd.Rounded = false; |
| | | btnAdd.Size = new Size(94, 33); |
| | | btnAdd.TabIndex = 4; |
| | | btnAdd.Text = "添加"; |
| | | btnAdd.TextColor = Color.FromArgb(243, 243, 243); |
| | | btnAdd.Click += btnAdd_Click; |
| | | // |
| | | // UserManagementEditPage |
| | | // |