387 lines
17 KiB
C#
387 lines
17 KiB
C#
namespace CloudBuilder.Security.Gui
|
|
{
|
|
partial class SecurityGroupEnquiryPage
|
|
{
|
|
/// <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 dataGridViewCellStyle7 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle8 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle9 = new DataGridViewCellStyle();
|
|
mainPanel = new TableLayoutPanel();
|
|
topPanel = new TableLayoutPanel();
|
|
searchGroupNameLabel = new Krypton.Toolkit.KryptonLabel();
|
|
groupNameTxt = new Krypton.Toolkit.KryptonTextBox();
|
|
searchPanel = new TableLayoutPanel();
|
|
searchBut = new Krypton.Toolkit.KryptonButton();
|
|
resetBut = new Krypton.Toolkit.KryptonButton();
|
|
createBut = new Krypton.Toolkit.KryptonButton();
|
|
contextPanel = new TableLayoutPanel();
|
|
dataGv = new Krypton.Toolkit.KryptonDataGridView();
|
|
groupNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
|
groupLocalNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
|
groupEngNameCol = new Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
|
|
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();
|
|
mainPanel.SuspendLayout();
|
|
topPanel.SuspendLayout();
|
|
searchPanel.SuspendLayout();
|
|
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(searchGroupNameLabel, 0, 0);
|
|
topPanel.Controls.Add(groupNameTxt, 1, 0);
|
|
topPanel.Controls.Add(searchPanel, 4, 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;
|
|
//
|
|
// searchGroupNameLabel
|
|
//
|
|
searchGroupNameLabel.Location = new Point(3, 3);
|
|
searchGroupNameLabel.Name = "searchGroupNameLabel";
|
|
searchGroupNameLabel.Size = new Size(52, 20);
|
|
searchGroupNameLabel.TabIndex = 999;
|
|
searchGroupNameLabel.Values.Text = "组别名:";
|
|
//
|
|
// groupNameTxt
|
|
//
|
|
groupNameTxt.Location = new Point(61, 3);
|
|
groupNameTxt.Name = "groupNameTxt";
|
|
groupNameTxt.Size = new Size(200, 23);
|
|
groupNameTxt.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(324, 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;
|
|
//
|
|
// 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[] { groupNameCol, groupLocalNameCol, groupEngNameCol });
|
|
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;
|
|
//
|
|
// groupNameCol
|
|
//
|
|
groupNameCol.DataPropertyName = "GroupName";
|
|
groupNameCol.DefaultCellStyle = dataGridViewCellStyle7;
|
|
groupNameCol.HeaderText = "组别名";
|
|
groupNameCol.Name = "groupNameCol";
|
|
groupNameCol.Width = 260;
|
|
//
|
|
// groupLocalNameCol
|
|
//
|
|
groupLocalNameCol.DataPropertyName = "GroupLocalName";
|
|
groupLocalNameCol.DefaultCellStyle = dataGridViewCellStyle8;
|
|
groupLocalNameCol.HeaderText = "中文名";
|
|
groupLocalNameCol.Name = "groupLocalNameCol";
|
|
groupLocalNameCol.Width = 260;
|
|
//
|
|
// groupEngNameCol
|
|
//
|
|
groupEngNameCol.DataPropertyName = "GroupEngName";
|
|
groupEngNameCol.DefaultCellStyle = dataGridViewCellStyle9;
|
|
groupEngNameCol.HeaderText = "英文名";
|
|
groupEngNameCol.Name = "groupEngNameCol";
|
|
groupEngNameCol.Resizable = DataGridViewTriState.True;
|
|
groupEngNameCol.Width = 260;
|
|
//
|
|
// 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;
|
|
//
|
|
// SecurityGroupEnquiryPage
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
Controls.Add(mainPanel);
|
|
Name = "SecurityGroupEnquiryPage";
|
|
mainPanel.ResumeLayout(false);
|
|
mainPanel.PerformLayout();
|
|
topPanel.ResumeLayout(false);
|
|
topPanel.PerformLayout();
|
|
searchPanel.ResumeLayout(false);
|
|
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 searchGroupNameLabel;
|
|
private Krypton.Toolkit.KryptonTextBox groupNameTxt;
|
|
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 groupNameCol;
|
|
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn groupLocalNameCol;
|
|
private Krypton.Toolkit.KryptonDataGridViewTextBoxColumn groupEngNameCol;
|
|
}
|
|
} |