285 lines
15 KiB
C#
285 lines
15 KiB
C#
namespace AIMS.PublicUI.UI
|
|
{
|
|
partial class frmSelectDictionary
|
|
{
|
|
/// <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()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSelectDictionary));
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.lblName = new System.Windows.Forms.Label();
|
|
this.txtQuery = new DevComponents.DotNetBar.Controls.TextBoxX();
|
|
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
|
|
this.btnEnter = new DevComponents.DotNetBar.ButtonX();
|
|
this.btnAdd = new DevComponents.DotNetBar.ButtonX();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.dgvDictionary = new DevComponents.DotNetBar.Controls.DataGridViewX();
|
|
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Selectcol = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.aName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Explain = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.panel1.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvDictionary)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
|
|
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panel1.Controls.Add(this.lblName);
|
|
this.panel1.Controls.Add(this.txtQuery);
|
|
this.panel1.Controls.Add(this.btnCancel);
|
|
this.panel1.Controls.Add(this.btnEnter);
|
|
this.panel1.Controls.Add(this.btnAdd);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(390, 70);
|
|
this.panel1.TabIndex = 2;
|
|
//
|
|
// lblName
|
|
//
|
|
this.lblName.AutoSize = true;
|
|
this.lblName.Location = new System.Drawing.Point(6, 25);
|
|
this.lblName.Name = "lblName";
|
|
this.lblName.Size = new System.Drawing.Size(42, 21);
|
|
this.lblName.TabIndex = 11;
|
|
this.lblName.Text = "查询";
|
|
//
|
|
// txtQuery
|
|
//
|
|
//
|
|
//
|
|
//
|
|
this.txtQuery.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
|
this.txtQuery.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231)))));
|
|
this.txtQuery.Border.BorderBottomWidth = 1;
|
|
this.txtQuery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
|
this.txtQuery.ForeColor = System.Drawing.Color.Black;
|
|
this.txtQuery.Location = new System.Drawing.Point(54, 25);
|
|
this.txtQuery.Name = "txtQuery";
|
|
this.txtQuery.Size = new System.Drawing.Size(181, 24);
|
|
this.txtQuery.TabIndex = 10;
|
|
this.txtQuery.WatermarkText = "简拼/汉字";
|
|
this.txtQuery.TextChanged += new System.EventHandler(this.txtQuery_TextChanged);
|
|
this.txtQuery.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQuery_KeyPress);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnCancel.Location = new System.Drawing.Point(298, 78);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(89, 31);
|
|
this.btnCancel.TabIndex = 2;
|
|
this.btnCancel.Text = "取消";
|
|
this.btnCancel.Visible = false;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// btnEnter
|
|
//
|
|
this.btnEnter.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnEnter.Location = new System.Drawing.Point(253, 21);
|
|
this.btnEnter.Name = "btnEnter";
|
|
this.btnEnter.Size = new System.Drawing.Size(95, 31);
|
|
this.btnEnter.TabIndex = 2;
|
|
this.btnEnter.Text = "确定选择";
|
|
this.btnEnter.Click += new System.EventHandler(this.btnEnter_Click);
|
|
//
|
|
// btnAdd
|
|
//
|
|
this.btnAdd.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
this.btnAdd.Location = new System.Drawing.Point(346, 21);
|
|
this.btnAdd.Name = "btnAdd";
|
|
this.btnAdd.Size = new System.Drawing.Size(33, 31);
|
|
this.btnAdd.TabIndex = 2;
|
|
this.btnAdd.Text = "+";
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.AutoScroll = true;
|
|
this.panel2.Controls.Add(this.dgvDictionary);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.panel2.Location = new System.Drawing.Point(0, 70);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(390, 434);
|
|
this.panel2.TabIndex = 3;
|
|
//
|
|
// dgvDictionary
|
|
//
|
|
this.dgvDictionary.AllowUserToAddRows = false;
|
|
this.dgvDictionary.AllowUserToDeleteRows = false;
|
|
this.dgvDictionary.AllowUserToResizeColumns = false;
|
|
this.dgvDictionary.AllowUserToResizeRows = false;
|
|
this.dgvDictionary.BackgroundColor = System.Drawing.Color.Snow;
|
|
this.dgvDictionary.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvDictionary.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dgvDictionary.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvDictionary.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.Id,
|
|
this.Selectcol,
|
|
this.aName,
|
|
this.Explain});
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgvDictionary.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dgvDictionary.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dgvDictionary.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
|
this.dgvDictionary.Location = new System.Drawing.Point(0, 0);
|
|
this.dgvDictionary.Name = "dgvDictionary";
|
|
this.dgvDictionary.ReadOnly = true;
|
|
this.dgvDictionary.RowHeadersVisible = false;
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.dgvDictionary.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
|
this.dgvDictionary.RowTemplate.Height = 23;
|
|
this.dgvDictionary.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvDictionary.Size = new System.Drawing.Size(390, 434);
|
|
this.dgvDictionary.TabIndex = 0;
|
|
this.dgvDictionary.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDictionary_CellClick);
|
|
//
|
|
// Id
|
|
//
|
|
this.Id.DataPropertyName = "Id";
|
|
this.Id.HeaderText = "编号";
|
|
this.Id.Name = "Id";
|
|
this.Id.ReadOnly = true;
|
|
this.Id.Visible = false;
|
|
this.Id.Width = 150;
|
|
//
|
|
// Selectcol
|
|
//
|
|
this.Selectcol.HeaderText = "选择";
|
|
this.Selectcol.Name = "Select";
|
|
this.Selectcol.ReadOnly = true;
|
|
this.Selectcol.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.Selectcol.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
this.Selectcol.Width = 65;
|
|
//
|
|
// aName
|
|
//
|
|
this.aName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
this.aName.DataPropertyName = "Name";
|
|
this.aName.HeaderText = "名称";
|
|
this.aName.Name = "aName";
|
|
this.aName.ReadOnly = true;
|
|
this.aName.Width = 150;
|
|
//
|
|
// Explain
|
|
//
|
|
this.Explain.DataPropertyName = "Explain";
|
|
this.Explain.HeaderText = "说明";
|
|
this.Explain.Name = "Explain";
|
|
this.Explain.ReadOnly = true;
|
|
this.Explain.Width = 164;
|
|
//
|
|
// dataGridViewTextBoxColumn1
|
|
//
|
|
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
|
|
this.dataGridViewTextBoxColumn1.HeaderText = "编号";
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
this.dataGridViewTextBoxColumn1.Visible = false;
|
|
//
|
|
// dataGridViewTextBoxColumn2
|
|
//
|
|
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCellsExceptHeader;
|
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "Name";
|
|
this.dataGridViewTextBoxColumn2.HeaderText = "名称";
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
//
|
|
// dataGridViewTextBoxColumn3
|
|
//
|
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "Explain";
|
|
this.dataGridViewTextBoxColumn3.HeaderText = "说明";
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
this.dataGridViewTextBoxColumn3.Width = 130;
|
|
//
|
|
// frmSelectDictionary
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(390, 504);
|
|
this.Controls.Add(this.panel2);
|
|
this.Controls.Add(this.panel1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.KeyPreview = true;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "frmSelectDictionary";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = " ";
|
|
this.TopMost = true;
|
|
this.Load += new System.EventHandler(this.frmSelectDictionary_Load);
|
|
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.frmSelectDictionary_KeyPress);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvDictionary)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private DevComponents.DotNetBar.ButtonX btnCancel;
|
|
private DevComponents.DotNetBar.ButtonX btnEnter;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private DevComponents.DotNetBar.Controls.DataGridViewX dgvDictionary;
|
|
private DevComponents.DotNetBar.Controls.TextBoxX txtQuery;
|
|
private System.Windows.Forms.Label lblName;
|
|
private DevComponents.DotNetBar.ButtonX btnAdd;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn Selectcol;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn aName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Explain;
|
|
}
|
|
} |