|
|
|
namespace Stone.WinModule.BasicData
|
|
|
|
{
|
|
|
|
partial class frmBaseMain
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 必需的设计器变量。
|
|
|
|
/// </summary>
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 清理所有正在使用的资源。
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
{
|
|
|
|
if (disposing && (components != null))
|
|
|
|
{
|
|
|
|
components.Dispose();
|
|
|
|
}
|
|
|
|
base.Dispose(disposing);
|
|
|
|
}
|
|
|
|
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 设计器支持所需的方法 - 不要
|
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent()
|
|
|
|
{
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBaseMain));
|
|
|
|
this.tlbOutPut = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.btnSerach = new System.Windows.Forms.Button();
|
|
|
|
this.txtCode = new System.Windows.Forms.TextBox();
|
|
|
|
this.tlbExit = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.dgrdView = new System.Windows.Forms.DataGridView();
|
|
|
|
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
this.tlbInput = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
|
|
this.tlbAdd = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.tlbAddCopy = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.tlbEdit = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.tlbDelete = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
this.tlbFilter = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.tlbSelect = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.tlbRefresh = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
this.tlbSet = new System.Windows.Forms.ToolStripButton();
|
|
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
|
|
this.pageBar = new System.Windows.Forms.BindingNavigator(this.components);
|
|
|
|
this.tlbAllCount = new System.Windows.Forms.ToolStripLabel();
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgrdView)).BeginInit();
|
|
|
|
this.toolStrip1.SuspendLayout();
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pageBar)).BeginInit();
|
|
|
|
this.pageBar.SuspendLayout();
|
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
|
|
// tlbOutPut
|
|
|
|
//
|
|
|
|
this.tlbOutPut.Image = ((System.Drawing.Image)(resources.GetObject("tlbOutPut.Image")));
|
|
|
|
this.tlbOutPut.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbOutPut.Name = "tlbOutPut";
|
|
|
|
this.tlbOutPut.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbOutPut.Text = "导出";
|
|
|
|
this.tlbOutPut.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbOutPut.Click += new System.EventHandler(this.tlbOutPut_Click);
|
|
|
|
//
|
|
|
|
// btnSerach
|
|
|
|
//
|
|
|
|
this.btnSerach.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.btnSerach.Location = new System.Drawing.Point(796, 7);
|
|
|
|
this.btnSerach.Name = "btnSerach";
|
|
|
|
this.btnSerach.Size = new System.Drawing.Size(75, 23);
|
|
|
|
this.btnSerach.TabIndex = 17;
|
|
|
|
this.btnSerach.Text = "快速查询";
|
|
|
|
this.btnSerach.UseVisualStyleBackColor = true;
|
|
|
|
this.btnSerach.Click += new System.EventHandler(this.btnSerach_Click);
|
|
|
|
//
|
|
|
|
// txtCode
|
|
|
|
//
|
|
|
|
this.txtCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.txtCode.Location = new System.Drawing.Point(682, 8);
|
|
|
|
this.txtCode.Name = "txtCode";
|
|
|
|
this.txtCode.Size = new System.Drawing.Size(111, 21);
|
|
|
|
this.txtCode.TabIndex = 13;
|
|
|
|
this.txtCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCode_KeyDown);
|
|
|
|
//
|
|
|
|
// tlbExit
|
|
|
|
//
|
|
|
|
this.tlbExit.Image = ((System.Drawing.Image)(resources.GetObject("tlbExit.Image")));
|
|
|
|
this.tlbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbExit.Name = "tlbExit";
|
|
|
|
this.tlbExit.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbExit.Text = "关闭";
|
|
|
|
this.tlbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbExit.Click += new System.EventHandler(this.tlbExit_Click);
|
|
|
|
//
|
|
|
|
// dgrdView
|
|
|
|
//
|
|
|
|
this.dgrdView.AllowUserToAddRows = false;
|
|
|
|
this.dgrdView.AllowUserToOrderColumns = true;
|
|
|
|
this.dgrdView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
|
this.dgrdView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
this.dgrdView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
this.dgrdView.Location = new System.Drawing.Point(0, 40);
|
|
|
|
this.dgrdView.MultiSelect = false;
|
|
|
|
this.dgrdView.Name = "dgrdView";
|
|
|
|
this.dgrdView.ReadOnly = true;
|
|
|
|
this.dgrdView.RowTemplate.Height = 23;
|
|
|
|
this.dgrdView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
this.dgrdView.Size = new System.Drawing.Size(881, 497);
|
|
|
|
this.dgrdView.TabIndex = 15;
|
|
|
|
this.dgrdView.DoubleClick += new System.EventHandler(this.dgrdView_DoubleClick);
|
|
|
|
//
|
|
|
|
// toolStripSeparator3
|
|
|
|
//
|
|
|
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
|
|
|
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23);
|
|
|
|
this.toolStripSeparator3.TextDirection = System.Windows.Forms.ToolStripTextDirection.Vertical90;
|
|
|
|
//
|
|
|
|
// tlbInput
|
|
|
|
//
|
|
|
|
this.tlbInput.Image = ((System.Drawing.Image)(resources.GetObject("tlbInput.Image")));
|
|
|
|
this.tlbInput.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbInput.Name = "tlbInput";
|
|
|
|
this.tlbInput.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbInput.Text = "导入";
|
|
|
|
this.tlbInput.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbInput.Click += new System.EventHandler(this.tlbInput_Click);
|
|
|
|
//
|
|
|
|
// toolStrip1
|
|
|
|
//
|
|
|
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
this.tlbAdd,
|
|
|
|
this.tlbAddCopy,
|
|
|
|
this.tlbEdit,
|
|
|
|
this.tlbDelete,
|
|
|
|
this.toolStripSeparator1,
|
|
|
|
this.tlbFilter,
|
|
|
|
this.tlbSelect,
|
|
|
|
this.tlbRefresh,
|
|
|
|
this.toolStripSeparator2,
|
|
|
|
this.tlbSet,
|
|
|
|
this.tlbInput,
|
|
|
|
this.tlbOutPut,
|
|
|
|
this.toolStripSeparator3,
|
|
|
|
this.tlbExit});
|
|
|
|
this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
|
|
|
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
this.toolStrip1.Name = "toolStrip1";
|
|
|
|
this.toolStrip1.Padding = new System.Windows.Forms.Padding(0, 0, 200, 0);
|
|
|
|
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
|
|
|
this.toolStrip1.Size = new System.Drawing.Size(881, 40);
|
|
|
|
this.toolStrip1.TabIndex = 14;
|
|
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
|
|
//
|
|
|
|
// tlbAdd
|
|
|
|
//
|
|
|
|
this.tlbAdd.Image = ((System.Drawing.Image)(resources.GetObject("tlbAdd.Image")));
|
|
|
|
this.tlbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbAdd.Name = "tlbAdd";
|
|
|
|
this.tlbAdd.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbAdd.Text = "新增";
|
|
|
|
this.tlbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbAdd.Click += new System.EventHandler(this.tlbAdd_Click);
|
|
|
|
//
|
|
|
|
// tlbAddCopy
|
|
|
|
//
|
|
|
|
this.tlbAddCopy.Image = ((System.Drawing.Image)(resources.GetObject("tlbAddCopy.Image")));
|
|
|
|
this.tlbAddCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbAddCopy.Name = "tlbAddCopy";
|
|
|
|
this.tlbAddCopy.Size = new System.Drawing.Size(60, 37);
|
|
|
|
this.tlbAddCopy.Text = "复制新增";
|
|
|
|
this.tlbAddCopy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbAddCopy.Click += new System.EventHandler(this.tlbAddCopy_Click);
|
|
|
|
//
|
|
|
|
// tlbEdit
|
|
|
|
//
|
|
|
|
this.tlbEdit.Image = ((System.Drawing.Image)(resources.GetObject("tlbEdit.Image")));
|
|
|
|
this.tlbEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbEdit.Name = "tlbEdit";
|
|
|
|
this.tlbEdit.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbEdit.Text = "修改";
|
|
|
|
this.tlbEdit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbEdit.Click += new System.EventHandler(this.tlbEdit_Click);
|
|
|
|
//
|
|
|
|
// tlbDelete
|
|
|
|
//
|
|
|
|
this.tlbDelete.Image = ((System.Drawing.Image)(resources.GetObject("tlbDelete.Image")));
|
|
|
|
this.tlbDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbDelete.Name = "tlbDelete";
|
|
|
|
this.tlbDelete.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbDelete.Text = "删除";
|
|
|
|
this.tlbDelete.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbDelete.Click += new System.EventHandler(this.tlbDelete_Click);
|
|
|
|
//
|
|
|
|
// toolStripSeparator1
|
|
|
|
//
|
|
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23);
|
|
|
|
this.toolStripSeparator1.TextDirection = System.Windows.Forms.ToolStripTextDirection.Vertical90;
|
|
|
|
//
|
|
|
|
// tlbFilter
|
|
|
|
//
|
|
|
|
this.tlbFilter.Image = ((System.Drawing.Image)(resources.GetObject("tlbFilter.Image")));
|
|
|
|
this.tlbFilter.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbFilter.Name = "tlbFilter";
|
|
|
|
this.tlbFilter.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbFilter.Text = "查询";
|
|
|
|
this.tlbFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbFilter.Click += new System.EventHandler(this.tlbFilter_Click);
|
|
|
|
//
|
|
|
|
// tlbSelect
|
|
|
|
//
|
|
|
|
this.tlbSelect.Enabled = false;
|
|
|
|
this.tlbSelect.Image = ((System.Drawing.Image)(resources.GetObject("tlbSelect.Image")));
|
|
|
|
this.tlbSelect.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbSelect.Name = "tlbSelect";
|
|
|
|
this.tlbSelect.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbSelect.Text = "选择";
|
|
|
|
this.tlbSelect.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbSelect.Click += new System.EventHandler(this.tlbSelect_Click);
|
|
|
|
//
|
|
|
|
// tlbRefresh
|
|
|
|
//
|
|
|
|
this.tlbRefresh.Image = ((System.Drawing.Image)(resources.GetObject("tlbRefresh.Image")));
|
|
|
|
this.tlbRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbRefresh.Name = "tlbRefresh";
|
|
|
|
this.tlbRefresh.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbRefresh.Text = "刷新";
|
|
|
|
this.tlbRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbRefresh.Click += new System.EventHandler(this.tlbRefresh_Click);
|
|
|
|
//
|
|
|
|
// toolStripSeparator2
|
|
|
|
//
|
|
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23);
|
|
|
|
this.toolStripSeparator2.TextDirection = System.Windows.Forms.ToolStripTextDirection.Vertical90;
|
|
|
|
//
|
|
|
|
// tlbSet
|
|
|
|
//
|
|
|
|
this.tlbSet.Image = ((System.Drawing.Image)(resources.GetObject("tlbSet.Image")));
|
|
|
|
this.tlbSet.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
this.tlbSet.Name = "tlbSet";
|
|
|
|
this.tlbSet.Size = new System.Drawing.Size(36, 37);
|
|
|
|
this.tlbSet.Text = "设置";
|
|
|
|
this.tlbSet.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
|
|
this.tlbSet.Click += new System.EventHandler(this.tlbSet_Click);
|
|
|
|
//
|
|
|
|
// openFileDialog1
|
|
|
|
//
|
|
|
|
this.openFileDialog1.Filter = "Excel2007文件(*.xlsx)|*.xlsx|Excel2003文件(*.xls)|*.xls";
|
|
|
|
this.openFileDialog1.Title = "选择要导入的文件";
|
|
|
|
//
|
|
|
|
// pageBar
|
|
|
|
//
|
|
|
|
this.pageBar.AddNewItem = null;
|
|
|
|
this.pageBar.CountItem = null;
|
|
|
|
this.pageBar.DeleteItem = null;
|
|
|
|
this.pageBar.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
this.pageBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
this.tlbAllCount});
|
|
|
|
this.pageBar.Location = new System.Drawing.Point(0, 537);
|
|
|
|
this.pageBar.MoveFirstItem = null;
|
|
|
|
this.pageBar.MoveLastItem = null;
|
|
|
|
this.pageBar.MoveNextItem = null;
|
|
|
|
this.pageBar.MovePreviousItem = null;
|
|
|
|
this.pageBar.Name = "pageBar";
|
|
|
|
this.pageBar.PositionItem = null;
|
|
|
|
this.pageBar.Size = new System.Drawing.Size(881, 25);
|
|
|
|
this.pageBar.TabIndex = 18;
|
|
|
|
this.pageBar.Text = "bindingNavigator1";
|
|
|
|
//
|
|
|
|
// tlbAllCount
|
|
|
|
//
|
|
|
|
this.tlbAllCount.Name = "tlbAllCount";
|
|
|
|
this.tlbAllCount.Size = new System.Drawing.Size(63, 22);
|
|
|
|
this.tlbAllCount.Text = "记录数:0";
|
|
|
|
//
|
|
|
|
// frmBaseMain
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
this.ClientSize = new System.Drawing.Size(881, 562);
|
|
|
|
this.Controls.Add(this.dgrdView);
|
|
|
|
this.Controls.Add(this.pageBar);
|
|
|
|
this.Controls.Add(this.btnSerach);
|
|
|
|
this.Controls.Add(this.txtCode);
|
|
|
|
this.Controls.Add(this.toolStrip1);
|
|
|
|
this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
this.Name = "frmBaseMain";
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmBaseMain_FormClosing);
|
|
|
|
this.Load += new System.EventHandler(this.frmBaseMain_Load);
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgrdView)).EndInit();
|
|
|
|
this.toolStrip1.ResumeLayout(false);
|
|
|
|
this.toolStrip1.PerformLayout();
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pageBar)).EndInit();
|
|
|
|
this.pageBar.ResumeLayout(false);
|
|
|
|
this.pageBar.PerformLayout();
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbOutPut;
|
|
|
|
public System.Windows.Forms.Button btnSerach;
|
|
|
|
public System.Windows.Forms.TextBox txtCode;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbExit;
|
|
|
|
public System.Windows.Forms.DataGridView dgrdView;
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbInput;
|
|
|
|
public System.Windows.Forms.ToolStrip toolStrip1;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbAdd;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbEdit;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbDelete;
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbFilter;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbSelect;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbRefresh;
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbSet;
|
|
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
|
|
private System.Windows.Forms.BindingNavigator pageBar;
|
|
|
|
private System.Windows.Forms.ToolStripLabel tlbAllCount;
|
|
|
|
public System.Windows.Forms.ToolStripButton tlbAddCopy;
|
|
|
|
}
|
|
|
|
}
|