|
|
|
|
namespace Mesnac.Controls.Default
|
|
|
|
|
{
|
|
|
|
|
partial class MCGridView
|
|
|
|
|
{
|
|
|
|
|
/// <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 组件设计器生成的代码
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设计器支持所需的方法 - 不要
|
|
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MCGridView));
|
|
|
|
|
this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
|
|
|
|
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
|
|
|
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
|
|
|
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
|
|
|
|
|
this.bindingNavigator1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigator1
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigator1.AddNewItem = this.bindingNavigatorAddNewItem;
|
|
|
|
|
this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
|
|
|
|
|
this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
|
|
|
|
|
this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.bindingNavigatorMoveFirstItem,
|
|
|
|
|
this.bindingNavigatorMovePreviousItem,
|
|
|
|
|
this.bindingNavigatorSeparator,
|
|
|
|
|
this.bindingNavigatorPositionItem,
|
|
|
|
|
this.bindingNavigatorCountItem,
|
|
|
|
|
this.bindingNavigatorSeparator1,
|
|
|
|
|
this.bindingNavigatorMoveNextItem,
|
|
|
|
|
this.bindingNavigatorMoveLastItem,
|
|
|
|
|
this.bindingNavigatorSeparator2,
|
|
|
|
|
this.bindingNavigatorAddNewItem,
|
|
|
|
|
this.bindingNavigatorDeleteItem,
|
|
|
|
|
this.toolStripButton1});
|
|
|
|
|
this.bindingNavigator1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
|
|
|
|
this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
|
|
|
|
this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
|
|
|
|
this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
|
|
|
|
this.bindingNavigator1.Name = "bindingNavigator1";
|
|
|
|
|
this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
|
|
|
|
|
this.bindingNavigator1.Size = new System.Drawing.Size(510, 25);
|
|
|
|
|
this.bindingNavigator1.TabIndex = 0;
|
|
|
|
|
this.bindingNavigator1.Text = "bindingNavigator1";
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorAddNewItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
|
|
|
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
|
|
|
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
|
|
|
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
this.bindingNavigatorAddNewItem.Text = "新添";
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorCountItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
|
|
|
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(32, 22);
|
|
|
|
|
this.bindingNavigatorCountItem.Text = "/ {0}";
|
|
|
|
|
this.bindingNavigatorCountItem.ToolTipText = "总项数";
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorDeleteItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
|
|
|
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
|
|
|
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
|
|
|
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
this.bindingNavigatorDeleteItem.Text = "删除";
|
|
|
|
|
this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorMoveFirstItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
|
|
|
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
|
|
|
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
|
|
|
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
this.bindingNavigatorMoveFirstItem.Text = "移到第一条记录";
|
|
|
|
|
this.bindingNavigatorMoveFirstItem.Click += new System.EventHandler(this.bindingNavigatorMoveFirstItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorMovePreviousItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
|
|
|
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
|
|
|
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
|
|
|
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
this.bindingNavigatorMovePreviousItem.Text = "移到上一条记录";
|
|
|
|
|
this.bindingNavigatorMovePreviousItem.Click += new System.EventHandler(this.bindingNavigatorMovePreviousItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorSeparator
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
|
|
|
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorPositionItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorPositionItem.AccessibleName = "位置";
|
|
|
|
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
|
|
|
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
|
|
|
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
|
|
|
|
this.bindingNavigatorPositionItem.Text = "0";
|
|
|
|
|
this.bindingNavigatorPositionItem.ToolTipText = "当前位置";
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorSeparator1
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
|
|
|
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorMoveNextItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
|
|
|
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
|
|
|
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
|
|
|
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
this.bindingNavigatorMoveNextItem.Text = "移到下一条记录";
|
|
|
|
|
this.bindingNavigatorMoveNextItem.Click += new System.EventHandler(this.bindingNavigatorMoveNextItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorMoveLastItem
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
|
|
|
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
|
|
|
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
|
|
|
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
this.bindingNavigatorMoveLastItem.Text = "移到最后一条记录";
|
|
|
|
|
this.bindingNavigatorMoveLastItem.Click += new System.EventHandler(this.bindingNavigatorMoveLastItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// bindingNavigatorSeparator2
|
|
|
|
|
//
|
|
|
|
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
|
|
|
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
|
|
|
|
//
|
|
|
|
|
// comboBox1
|
|
|
|
|
//
|
|
|
|
|
this.comboBox1.FormattingEnabled = true;
|
|
|
|
|
this.comboBox1.Location = new System.Drawing.Point(131, 290);
|
|
|
|
|
this.comboBox1.Name = "comboBox1";
|
|
|
|
|
this.comboBox1.Size = new System.Drawing.Size(121, 20);
|
|
|
|
|
this.comboBox1.TabIndex = 2;
|
|
|
|
|
this.comboBox1.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// panel1
|
|
|
|
|
//
|
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 25);
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(510, 50);
|
|
|
|
|
this.panel1.TabIndex = 3;
|
|
|
|
|
this.panel1.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView1
|
|
|
|
|
//
|
|
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.dataGridView1.Location = new System.Drawing.Point(0, 75);
|
|
|
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
|
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
|
|
|
this.dataGridView1.Size = new System.Drawing.Size(510, 381);
|
|
|
|
|
this.dataGridView1.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// toolStripButton1
|
|
|
|
|
//
|
|
|
|
|
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
|
|
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
|
|
|
|
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.toolStripButton1.Name = "toolStripButton1";
|
|
|
|
|
this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
|
|
|
|
|
this.toolStripButton1.Text = "toolStripButton1";
|
|
|
|
|
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
|
|
|
|
//
|
|
|
|
|
// MCGridView
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.Controls.Add(this.dataGridView1);
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
this.Controls.Add(this.bindingNavigator1);
|
|
|
|
|
this.Controls.Add(this.comboBox1);
|
|
|
|
|
this.Name = "MCGridView";
|
|
|
|
|
this.Size = new System.Drawing.Size(510, 456);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
|
|
|
|
|
this.bindingNavigator1.ResumeLayout(false);
|
|
|
|
|
this.bindingNavigator1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.BindingNavigator bindingNavigator1;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
|
|
|
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
|
|
|
|
private System.Windows.Forms.ComboBox comboBox1;
|
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
|
|
|
|
}
|
|
|
|
|
}
|