421 lines
19 KiB
C#
421 lines
19 KiB
C#
namespace CloudBuilder.Security.Gui
|
|
{
|
|
partial class SecurityUserEnquiryPage
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
|
|
mainPanel = new TableLayoutPanel();
|
|
topPanel = new TableLayoutPanel();
|
|
deleteLabel = new Krypton.Toolkit.KryptonLabel();
|
|
userNameLabel = new Krypton.Toolkit.KryptonLabel();
|
|
userNameTxt = new Krypton.Toolkit.KryptonTextBox();
|
|
searchPanel = new TableLayoutPanel();
|
|
searchBut = new Krypton.Toolkit.KryptonButton();
|
|
resetBut = new Krypton.Toolkit.KryptonButton();
|
|
createBut = new Krypton.Toolkit.KryptonButton();
|
|
userIsValidIndcCombo = new Krypton.Toolkit.KryptonComboBox();
|
|
contextPanel = new TableLayoutPanel();
|
|
dataGv = new Krypton.Toolkit.KryptonDataGridView();
|
|
gridViewPagination = new CloudBuilder.Gui.GridViewPagination();
|
|
bottomPanel = new TableLayoutPanel();
|
|
operationPanel = new TableLayoutPanel();
|
|
viewBut = new Krypton.Toolkit.KryptonButton();
|
|
amendBut = new Krypton.Toolkit.KryptonButton();
|
|
deleteBut = new Krypton.Toolkit.KryptonButton();
|
|
dialogPanel = new TableLayoutPanel();
|
|
okBut = new Krypton.Toolkit.KryptonButton();
|
|
cancelBut = new Krypton.Toolkit.KryptonButton();
|
|
userNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
|
userMobileCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
|
userIsValidIndcCol = new Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn();
|
|
mainPanel.SuspendLayout();
|
|
topPanel.SuspendLayout();
|
|
searchPanel.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)userIsValidIndcCombo).BeginInit();
|
|
contextPanel.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGv).BeginInit();
|
|
bottomPanel.SuspendLayout();
|
|
operationPanel.SuspendLayout();
|
|
dialogPanel.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// mainPanel
|
|
//
|
|
mainPanel.ColumnCount = 1;
|
|
mainPanel.ColumnStyles.Add(new ColumnStyle());
|
|
mainPanel.Controls.Add(topPanel, 0, 0);
|
|
mainPanel.Controls.Add(contextPanel, 0, 1);
|
|
mainPanel.Controls.Add(bottomPanel, 0, 2);
|
|
mainPanel.Dock = DockStyle.Fill;
|
|
mainPanel.Location = new Point(0, 0);
|
|
mainPanel.Name = "mainPanel";
|
|
mainPanel.RowCount = 3;
|
|
mainPanel.RowStyles.Add(new RowStyle());
|
|
mainPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
|
mainPanel.RowStyles.Add(new RowStyle());
|
|
mainPanel.Size = new Size(1024, 800);
|
|
mainPanel.TabIndex = 0;
|
|
//
|
|
// topPanel
|
|
//
|
|
topPanel.AutoSize = true;
|
|
topPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
topPanel.ColumnCount = 5;
|
|
topPanel.ColumnStyles.Add(new ColumnStyle());
|
|
topPanel.ColumnStyles.Add(new ColumnStyle());
|
|
topPanel.ColumnStyles.Add(new ColumnStyle());
|
|
topPanel.ColumnStyles.Add(new ColumnStyle());
|
|
topPanel.ColumnStyles.Add(new ColumnStyle());
|
|
topPanel.Controls.Add(deleteLabel, 2, 0);
|
|
topPanel.Controls.Add(userNameLabel, 0, 0);
|
|
topPanel.Controls.Add(userNameTxt, 1, 0);
|
|
topPanel.Controls.Add(searchPanel, 4, 0);
|
|
topPanel.Controls.Add(userIsValidIndcCombo, 3, 0);
|
|
topPanel.Dock = DockStyle.Fill;
|
|
topPanel.Location = new Point(3, 3);
|
|
topPanel.Name = "topPanel";
|
|
topPanel.RowCount = 1;
|
|
topPanel.RowStyles.Add(new RowStyle());
|
|
topPanel.Size = new Size(1018, 31);
|
|
topPanel.TabIndex = 0;
|
|
//
|
|
// deleteLabel
|
|
//
|
|
deleteLabel.Location = new Point(294, 3);
|
|
deleteLabel.Margin = new Padding(30, 3, 3, 3);
|
|
deleteLabel.Name = "deleteLabel";
|
|
deleteLabel.Size = new Size(39, 20);
|
|
deleteLabel.TabIndex = 999;
|
|
deleteLabel.Values.Text = "有效:";
|
|
//
|
|
// userNameLabel
|
|
//
|
|
userNameLabel.Location = new Point(3, 3);
|
|
userNameLabel.Name = "userNameLabel";
|
|
userNameLabel.Size = new Size(52, 20);
|
|
userNameLabel.TabIndex = 999;
|
|
userNameLabel.Values.Text = "用户名:";
|
|
//
|
|
// userNameTxt
|
|
//
|
|
userNameTxt.Location = new Point(61, 3);
|
|
userNameTxt.Name = "userNameTxt";
|
|
userNameTxt.Size = new Size(200, 23);
|
|
userNameTxt.TabIndex = 0;
|
|
//
|
|
// searchPanel
|
|
//
|
|
searchPanel.AutoSize = true;
|
|
searchPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
searchPanel.ColumnCount = 3;
|
|
searchPanel.ColumnStyles.Add(new ColumnStyle());
|
|
searchPanel.ColumnStyles.Add(new ColumnStyle());
|
|
searchPanel.ColumnStyles.Add(new ColumnStyle());
|
|
searchPanel.Controls.Add(searchBut, 0, 0);
|
|
searchPanel.Controls.Add(resetBut, 1, 0);
|
|
searchPanel.Controls.Add(createBut, 2, 0);
|
|
searchPanel.Location = new Point(602, 0);
|
|
searchPanel.Margin = new Padding(60, 0, 0, 0);
|
|
searchPanel.Name = "searchPanel";
|
|
searchPanel.RowCount = 1;
|
|
searchPanel.RowStyles.Add(new RowStyle());
|
|
searchPanel.Size = new Size(288, 31);
|
|
searchPanel.TabIndex = 999;
|
|
//
|
|
// searchBut
|
|
//
|
|
searchBut.Location = new Point(3, 3);
|
|
searchBut.Name = "searchBut";
|
|
searchBut.Size = new Size(90, 25);
|
|
searchBut.TabIndex = 0;
|
|
searchBut.Values.Image = Properties.Resources.search_16;
|
|
searchBut.Values.Text = "查询(&S)";
|
|
searchBut.Click += searchBut_Click;
|
|
//
|
|
// resetBut
|
|
//
|
|
resetBut.Location = new Point(99, 3);
|
|
resetBut.Name = "resetBut";
|
|
resetBut.Size = new Size(90, 25);
|
|
resetBut.TabIndex = 0;
|
|
resetBut.Values.Image = Properties.Resources.reset_16;
|
|
resetBut.Values.Text = "重置(&R)";
|
|
resetBut.Click += resetBut_Click;
|
|
//
|
|
// createBut
|
|
//
|
|
createBut.Location = new Point(195, 3);
|
|
createBut.Name = "createBut";
|
|
createBut.Size = new Size(90, 25);
|
|
createBut.TabIndex = 0;
|
|
createBut.Values.Image = Properties.Resources.create_16;
|
|
createBut.Values.Text = "新增(&C)";
|
|
createBut.Click += createBut_Click;
|
|
//
|
|
// userIsValidIndcCombo
|
|
//
|
|
userIsValidIndcCombo.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
userIsValidIndcCombo.DropDownWidth = 200;
|
|
userIsValidIndcCombo.IntegralHeight = false;
|
|
userIsValidIndcCombo.Location = new Point(339, 3);
|
|
userIsValidIndcCombo.Name = "userIsValidIndcCombo";
|
|
userIsValidIndcCombo.Size = new Size(200, 22);
|
|
userIsValidIndcCombo.StateCommon.ComboBox.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Near;
|
|
userIsValidIndcCombo.TabIndex = 1;
|
|
//
|
|
// contextPanel
|
|
//
|
|
contextPanel.ColumnCount = 1;
|
|
contextPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
contextPanel.Controls.Add(dataGv, 0, 0);
|
|
contextPanel.Controls.Add(gridViewPagination, 0, 1);
|
|
contextPanel.Dock = DockStyle.Fill;
|
|
contextPanel.Location = new Point(3, 40);
|
|
contextPanel.Name = "contextPanel";
|
|
contextPanel.RowCount = 2;
|
|
contextPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
|
contextPanel.RowStyles.Add(new RowStyle());
|
|
contextPanel.Size = new Size(1018, 683);
|
|
contextPanel.TabIndex = 999;
|
|
//
|
|
// dataGv
|
|
//
|
|
dataGv.AllowUserToAddRows = false;
|
|
dataGv.AllowUserToDeleteRows = false;
|
|
dataGv.BorderStyle = BorderStyle.None;
|
|
dataGv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGv.Columns.AddRange(new DataGridViewColumn[] { userNameCol, userMobileCol, userIsValidIndcCol });
|
|
dataGv.Dock = DockStyle.Fill;
|
|
dataGv.Location = new Point(3, 3);
|
|
dataGv.Name = "dataGv";
|
|
dataGv.Size = new Size(1012, 647);
|
|
dataGv.TabIndex = 0;
|
|
dataGv.CellDoubleClick += dataGv_CellDoubleClick;
|
|
//
|
|
// gridViewPagination
|
|
//
|
|
gridViewPagination.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
gridViewPagination.CurrentPage = 0;
|
|
gridViewPagination.Dock = DockStyle.Fill;
|
|
gridViewPagination.Limit = 20;
|
|
gridViewPagination.Location = new Point(0, 653);
|
|
gridViewPagination.Margin = new Padding(0);
|
|
gridViewPagination.Name = "gridViewPagination";
|
|
gridViewPagination.Page = 0;
|
|
gridViewPagination.Size = new Size(1018, 30);
|
|
gridViewPagination.TabIndex = 999;
|
|
gridViewPagination.Total = 0;
|
|
//
|
|
// bottomPanel
|
|
//
|
|
bottomPanel.AutoSize = true;
|
|
bottomPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
bottomPanel.ColumnCount = 2;
|
|
bottomPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
|
bottomPanel.ColumnStyles.Add(new ColumnStyle());
|
|
bottomPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F));
|
|
bottomPanel.Controls.Add(operationPanel, 0, 0);
|
|
bottomPanel.Controls.Add(dialogPanel, 2, 1);
|
|
bottomPanel.Dock = DockStyle.Fill;
|
|
bottomPanel.Location = new Point(3, 729);
|
|
bottomPanel.Name = "bottomPanel";
|
|
bottomPanel.RowCount = 2;
|
|
bottomPanel.RowStyles.Add(new RowStyle());
|
|
bottomPanel.RowStyles.Add(new RowStyle());
|
|
bottomPanel.Size = new Size(1018, 68);
|
|
bottomPanel.TabIndex = 999;
|
|
//
|
|
// operationPanel
|
|
//
|
|
operationPanel.AutoSize = true;
|
|
operationPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
operationPanel.ColumnCount = 3;
|
|
operationPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
operationPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 101F));
|
|
operationPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
operationPanel.Controls.Add(viewBut, 0, 0);
|
|
operationPanel.Controls.Add(amendBut, 1, 0);
|
|
operationPanel.Controls.Add(deleteBut, 2, 0);
|
|
operationPanel.Location = new Point(0, 0);
|
|
operationPanel.Margin = new Padding(0);
|
|
operationPanel.Name = "operationPanel";
|
|
operationPanel.RowCount = 1;
|
|
operationPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
|
operationPanel.Size = new Size(293, 31);
|
|
operationPanel.TabIndex = 0;
|
|
//
|
|
// viewBut
|
|
//
|
|
viewBut.Location = new Point(3, 3);
|
|
viewBut.Name = "viewBut";
|
|
viewBut.Size = new Size(90, 25);
|
|
viewBut.TabIndex = 0;
|
|
viewBut.Values.Image = Properties.Resources.view_16;
|
|
viewBut.Values.Text = "查看(&V)";
|
|
viewBut.Click += viewBut_Click;
|
|
//
|
|
// amendBut
|
|
//
|
|
amendBut.Location = new Point(99, 3);
|
|
amendBut.Name = "amendBut";
|
|
amendBut.Size = new Size(90, 25);
|
|
amendBut.TabIndex = 0;
|
|
amendBut.Values.Image = Properties.Resources.amend_16;
|
|
amendBut.Values.Text = "修改(&A)";
|
|
amendBut.Click += amendBut_Click;
|
|
//
|
|
// deleteBut
|
|
//
|
|
deleteBut.Location = new Point(200, 3);
|
|
deleteBut.Name = "deleteBut";
|
|
deleteBut.Size = new Size(90, 25);
|
|
deleteBut.TabIndex = 0;
|
|
deleteBut.Values.Image = Properties.Resources.delete_16;
|
|
deleteBut.Values.Text = "无效(&D)";
|
|
deleteBut.Click += deleteBut_Click;
|
|
//
|
|
// dialogPanel
|
|
//
|
|
dialogPanel.AutoSize = true;
|
|
dialogPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
dialogPanel.ColumnCount = 2;
|
|
dialogPanel.ColumnStyles.Add(new ColumnStyle());
|
|
dialogPanel.ColumnStyles.Add(new ColumnStyle());
|
|
dialogPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F));
|
|
dialogPanel.Controls.Add(okBut, 0, 0);
|
|
dialogPanel.Controls.Add(cancelBut, 1, 0);
|
|
dialogPanel.Dock = DockStyle.Fill;
|
|
dialogPanel.Location = new Point(823, 34);
|
|
dialogPanel.Name = "dialogPanel";
|
|
dialogPanel.RowCount = 1;
|
|
dialogPanel.RowStyles.Add(new RowStyle());
|
|
dialogPanel.Size = new Size(192, 31);
|
|
dialogPanel.TabIndex = 1;
|
|
//
|
|
// okBut
|
|
//
|
|
okBut.Location = new Point(3, 3);
|
|
okBut.Name = "okBut";
|
|
okBut.Size = new Size(90, 25);
|
|
okBut.TabIndex = 0;
|
|
okBut.Values.Image = Properties.Resources.ok_16;
|
|
okBut.Values.Text = "确定(&O)";
|
|
okBut.Click += okBut_Click;
|
|
//
|
|
// cancelBut
|
|
//
|
|
cancelBut.Location = new Point(99, 3);
|
|
cancelBut.Name = "cancelBut";
|
|
cancelBut.Size = new Size(90, 25);
|
|
cancelBut.TabIndex = 0;
|
|
cancelBut.Values.Image = Properties.Resources.close_16;
|
|
cancelBut.Values.Text = "取消(&C)";
|
|
cancelBut.Click += cancelBut_Click;
|
|
//
|
|
// userNameCol
|
|
//
|
|
userNameCol.DataPropertyName = "UserName";
|
|
userNameCol.DefaultCellStyle = dataGridViewCellStyle1;
|
|
userNameCol.HeaderText = "用户名";
|
|
userNameCol.Name = "userNameCol";
|
|
userNameCol.Width = 260;
|
|
//
|
|
// userMobileCol
|
|
//
|
|
userMobileCol.DataPropertyName = "UserMobile";
|
|
userMobileCol.DefaultCellStyle = dataGridViewCellStyle2;
|
|
userMobileCol.HeaderText = "手机号码";
|
|
userMobileCol.Name = "userMobileCol";
|
|
userMobileCol.Width = 260;
|
|
//
|
|
// userIsValidIndcCol
|
|
//
|
|
userIsValidIndcCol.DataPropertyName = "UserIsValidIndc";
|
|
dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle3.NullValue = false;
|
|
userIsValidIndcCol.DefaultCellStyle = dataGridViewCellStyle3;
|
|
userIsValidIndcCol.FalseValue = "N";
|
|
userIsValidIndcCol.HeaderText = "有效?";
|
|
userIsValidIndcCol.IndeterminateValue = null;
|
|
userIsValidIndcCol.Name = "userIsValidIndcCol";
|
|
userIsValidIndcCol.Resizable = DataGridViewTriState.True;
|
|
userIsValidIndcCol.SortMode = DataGridViewColumnSortMode.Automatic;
|
|
userIsValidIndcCol.TrueValue = "Y";
|
|
userIsValidIndcCol.Width = 80;
|
|
//
|
|
// SecurityUserEnquiryPage
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
Controls.Add(mainPanel);
|
|
Name = "SecurityUserEnquiryPage";
|
|
mainPanel.ResumeLayout(false);
|
|
mainPanel.PerformLayout();
|
|
topPanel.ResumeLayout(false);
|
|
topPanel.PerformLayout();
|
|
searchPanel.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)userIsValidIndcCombo).EndInit();
|
|
contextPanel.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGv).EndInit();
|
|
bottomPanel.ResumeLayout(false);
|
|
bottomPanel.PerformLayout();
|
|
operationPanel.ResumeLayout(false);
|
|
dialogPanel.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TableLayoutPanel mainPanel;
|
|
private TableLayoutPanel topPanel;
|
|
private TableLayoutPanel searchPanel;
|
|
private Krypton.Toolkit.KryptonButton searchBut;
|
|
private Krypton.Toolkit.KryptonButton resetBut;
|
|
private Krypton.Toolkit.KryptonButton createBut;
|
|
private TableLayoutPanel contextPanel;
|
|
private TableLayoutPanel bottomPanel;
|
|
private TableLayoutPanel operationPanel;
|
|
private Krypton.Toolkit.KryptonButton viewBut;
|
|
private Krypton.Toolkit.KryptonButton amendBut;
|
|
private Krypton.Toolkit.KryptonButton deleteBut;
|
|
private Krypton.Toolkit.KryptonLabel userNameLabel;
|
|
private Krypton.Toolkit.KryptonLabel deleteLabel;
|
|
private Krypton.Toolkit.KryptonTextBox userNameTxt;
|
|
private Krypton.Toolkit.KryptonComboBox userIsValidIndcCombo;
|
|
private Krypton.Toolkit.KryptonDataGridView dataGv;
|
|
private TableLayoutPanel dialogPanel;
|
|
private Krypton.Toolkit.KryptonButton okBut;
|
|
private Krypton.Toolkit.KryptonButton cancelBut;
|
|
private CloudBuilder.Gui.GridViewPagination gridViewPagination;
|
|
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn userNameCol;
|
|
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn userMobileCol;
|
|
private Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn userIsValidIndcCol;
|
|
}
|
|
} |