257 lines
11 KiB
C#
257 lines
11 KiB
C#
namespace EmployeeManager
|
|
{
|
|
partial class FrmMain
|
|
{
|
|
/// <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()
|
|
{
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.EmployeeId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.EmployeeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Sex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
this.listBox1 = new System.Windows.Forms.ListBox();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox();
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.EmployeeId,
|
|
this.EmployeeName,
|
|
this.Sex});
|
|
this.dataGridView1.Location = new System.Drawing.Point(31, 12);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
this.dataGridView1.Size = new System.Drawing.Size(560, 244);
|
|
this.dataGridView1.TabIndex = 1;
|
|
//
|
|
// EmployeeId
|
|
//
|
|
this.EmployeeId.DataPropertyName = "EmployeeId";
|
|
this.EmployeeId.HeaderText = "人员id";
|
|
this.EmployeeId.Name = "EmployeeId";
|
|
this.EmployeeId.ReadOnly = true;
|
|
//
|
|
// EmployeeName
|
|
//
|
|
this.EmployeeName.DataPropertyName = "EmployeeName";
|
|
this.EmployeeName.HeaderText = "名字";
|
|
this.EmployeeName.MaxInputLength = 100;
|
|
this.EmployeeName.Name = "EmployeeName";
|
|
this.EmployeeName.Width = 150;
|
|
//
|
|
// Sex
|
|
//
|
|
this.Sex.DataPropertyName = "Sex";
|
|
this.Sex.HeaderText = "性别";
|
|
this.Sex.MaxInputLength = 10;
|
|
this.Sex.Name = "Sex";
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Location = new System.Drawing.Point(112, 288);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(75, 23);
|
|
this.btnSave.TabIndex = 2;
|
|
this.btnSave.Text = "保存";
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.Location = new System.Drawing.Point(350, 288);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
|
this.btnClose.TabIndex = 3;
|
|
this.btnClose.Text = "关闭";
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// checkBox1
|
|
//
|
|
this.checkBox1.AutoSize = true;
|
|
this.checkBox1.Location = new System.Drawing.Point(638, 35);
|
|
this.checkBox1.Name = "checkBox1";
|
|
this.checkBox1.Size = new System.Drawing.Size(78, 16);
|
|
this.checkBox1.TabIndex = 4;
|
|
this.checkBox1.Text = "checkBox1";
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
//
|
|
// checkedListBox1
|
|
//
|
|
this.checkedListBox1.FormattingEnabled = true;
|
|
this.checkedListBox1.Items.AddRange(new object[] {
|
|
"测试1",
|
|
"测试2",
|
|
"测试3"});
|
|
this.checkedListBox1.Location = new System.Drawing.Point(608, 84);
|
|
this.checkedListBox1.Name = "checkedListBox1";
|
|
this.checkedListBox1.Size = new System.Drawing.Size(120, 84);
|
|
this.checkedListBox1.TabIndex = 5;
|
|
//
|
|
// comboBox1
|
|
//
|
|
this.comboBox1.FormattingEnabled = true;
|
|
this.comboBox1.Items.AddRange(new object[] {
|
|
"测试1",
|
|
"测试2",
|
|
"测试3"});
|
|
this.comboBox1.Location = new System.Drawing.Point(608, 189);
|
|
this.comboBox1.Name = "comboBox1";
|
|
this.comboBox1.Size = new System.Drawing.Size(121, 20);
|
|
this.comboBox1.TabIndex = 6;
|
|
//
|
|
// listBox1
|
|
//
|
|
this.listBox1.FormattingEnabled = true;
|
|
this.listBox1.ItemHeight = 12;
|
|
this.listBox1.Location = new System.Drawing.Point(621, 235);
|
|
this.listBox1.Name = "listBox1";
|
|
this.listBox1.Size = new System.Drawing.Size(94, 52);
|
|
this.listBox1.TabIndex = 7;
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripComboBox1,
|
|
this.toolStripMenuItem1,
|
|
this.toolStripTextBox1});
|
|
this.menuStrip1.Location = new System.Drawing.Point(143, 256);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(369, 29);
|
|
this.menuStrip1.TabIndex = 8;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// toolStripComboBox1
|
|
//
|
|
this.toolStripComboBox1.AutoCompleteCustomSource.AddRange(new string[] {
|
|
"第一个",
|
|
"第二个",
|
|
"第三个"});
|
|
this.toolStripComboBox1.Name = "toolStripComboBox1";
|
|
this.toolStripComboBox1.Size = new System.Drawing.Size(121, 25);
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripMenuItem2,
|
|
this.toolStripMenuItem3});
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(136, 25);
|
|
this.toolStripMenuItem1.Text = "toolStripMenuItem1";
|
|
//
|
|
// toolStripMenuItem2
|
|
//
|
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
|
this.toolStripMenuItem2.Size = new System.Drawing.Size(192, 22);
|
|
this.toolStripMenuItem2.Text = "toolStripMenuItem2";
|
|
//
|
|
// toolStripMenuItem3
|
|
//
|
|
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
|
|
this.toolStripMenuItem3.Size = new System.Drawing.Size(192, 22);
|
|
this.toolStripMenuItem3.Text = "toolStripMenuItem3";
|
|
//
|
|
// toolStripTextBox1
|
|
//
|
|
this.toolStripTextBox1.AutoCompleteCustomSource.AddRange(new string[] {
|
|
"落实防控"});
|
|
this.toolStripTextBox1.Name = "toolStripTextBox1";
|
|
this.toolStripTextBox1.Size = new System.Drawing.Size(100, 25);
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(535, 288);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 9;
|
|
this.button1.Text = "测试窗体";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// FrmMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(740, 343);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.listBox1);
|
|
this.Controls.Add(this.comboBox1);
|
|
this.Controls.Add(this.checkedListBox1);
|
|
this.Controls.Add(this.checkBox1);
|
|
this.Controls.Add(this.btnClose);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.dataGridView1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.Name = "FrmMain";
|
|
this.Text = "FrmMain";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmMain_FormClosed);
|
|
this.Load += new System.EventHandler(this.FrmMain_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn EmployeeId;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn EmployeeName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Sex;
|
|
private System.Windows.Forms.CheckBox checkBox1;
|
|
private System.Windows.Forms.CheckedListBox checkedListBox1;
|
|
private System.Windows.Forms.ComboBox comboBox1;
|
|
private System.Windows.Forms.ListBox listBox1;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
|
|
private System.Windows.Forms.ToolStripComboBox toolStripComboBox1;
|
|
private System.Windows.Forms.ToolStripTextBox toolStripTextBox1;
|
|
private System.Windows.Forms.Button button1;
|
|
}
|
|
} |