|
@@ -28,6 +28,7 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPartSizeEditorNew));
|
|
|
this.Gview_LJ = new System.Windows.Forms.DataGridView();
|
|
|
this.tb_ljm = new System.Windows.Forms.TextBox();
|
|
@@ -40,7 +41,10 @@
|
|
|
this.button4 = new System.Windows.Forms.Button();
|
|
|
this.tb_lj = new System.Windows.Forms.TextBox();
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
+ this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
+ this.newFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Gview_LJ)).BeginInit();
|
|
|
+ this.contextMenuStrip1.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// Gview_LJ
|
|
@@ -51,53 +55,60 @@
|
|
|
this.Gview_LJ.AllowUserToResizeRows = false;
|
|
|
this.Gview_LJ.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
this.Gview_LJ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
- this.Gview_LJ.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.Gview_LJ.ContextMenuStrip = this.contextMenuStrip1;
|
|
|
+ this.Gview_LJ.Location = new System.Drawing.Point(8, 8);
|
|
|
+ this.Gview_LJ.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.Gview_LJ.MultiSelect = false;
|
|
|
this.Gview_LJ.Name = "Gview_LJ";
|
|
|
this.Gview_LJ.ReadOnly = true;
|
|
|
this.Gview_LJ.RowHeadersVisible = false;
|
|
|
this.Gview_LJ.RowTemplate.Height = 30;
|
|
|
- this.Gview_LJ.Size = new System.Drawing.Size(571, 261);
|
|
|
+ this.Gview_LJ.Size = new System.Drawing.Size(381, 174);
|
|
|
this.Gview_LJ.TabIndex = 11;
|
|
|
this.Gview_LJ.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Gview_LJ_CellClick);
|
|
|
//
|
|
|
// tb_ljm
|
|
|
//
|
|
|
- this.tb_ljm.Location = new System.Drawing.Point(88, 327);
|
|
|
+ this.tb_ljm.Location = new System.Drawing.Point(59, 218);
|
|
|
+ this.tb_ljm.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.tb_ljm.Name = "tb_ljm";
|
|
|
- this.tb_ljm.Size = new System.Drawing.Size(491, 28);
|
|
|
+ this.tb_ljm.Size = new System.Drawing.Size(329, 21);
|
|
|
this.tb_ljm.TabIndex = 12;
|
|
|
//
|
|
|
// tb_ljz
|
|
|
//
|
|
|
- this.tb_ljz.Location = new System.Drawing.Point(88, 374);
|
|
|
+ this.tb_ljz.Location = new System.Drawing.Point(59, 249);
|
|
|
+ this.tb_ljz.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.tb_ljz.Name = "tb_ljz";
|
|
|
- this.tb_ljz.Size = new System.Drawing.Size(491, 28);
|
|
|
+ this.tb_ljz.Size = new System.Drawing.Size(329, 21);
|
|
|
this.tb_ljz.TabIndex = 12;
|
|
|
//
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
- this.label1.Location = new System.Drawing.Point(15, 334);
|
|
|
+ this.label1.Location = new System.Drawing.Point(10, 223);
|
|
|
+ this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(62, 18);
|
|
|
+ this.label1.Size = new System.Drawing.Size(41, 12);
|
|
|
this.label1.TabIndex = 13;
|
|
|
this.label1.Text = "粒级名";
|
|
|
//
|
|
|
// label2
|
|
|
//
|
|
|
this.label2.AutoSize = true;
|
|
|
- this.label2.Location = new System.Drawing.Point(15, 381);
|
|
|
+ this.label2.Location = new System.Drawing.Point(10, 254);
|
|
|
+ this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label2.Name = "label2";
|
|
|
- this.label2.Size = new System.Drawing.Size(62, 18);
|
|
|
+ this.label2.Size = new System.Drawing.Size(41, 12);
|
|
|
this.label2.TabIndex = 13;
|
|
|
this.label2.Text = "粒级值";
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
- this.button1.Location = new System.Drawing.Point(183, 422);
|
|
|
+ this.button1.Location = new System.Drawing.Point(122, 281);
|
|
|
+ this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.button1.Name = "button1";
|
|
|
- this.button1.Size = new System.Drawing.Size(109, 37);
|
|
|
+ this.button1.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button1.TabIndex = 14;
|
|
|
this.button1.Text = "保 存";
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
@@ -105,9 +116,10 @@
|
|
|
//
|
|
|
// button2
|
|
|
//
|
|
|
- this.button2.Location = new System.Drawing.Point(327, 422);
|
|
|
+ this.button2.Location = new System.Drawing.Point(218, 281);
|
|
|
+ this.button2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.button2.Name = "button2";
|
|
|
- this.button2.Size = new System.Drawing.Size(109, 37);
|
|
|
+ this.button2.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button2.TabIndex = 14;
|
|
|
this.button2.Text = "确 定";
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
@@ -115,9 +127,10 @@
|
|
|
//
|
|
|
// button3
|
|
|
//
|
|
|
- this.button3.Location = new System.Drawing.Point(471, 422);
|
|
|
+ this.button3.Location = new System.Drawing.Point(314, 281);
|
|
|
+ this.button3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.button3.Name = "button3";
|
|
|
- this.button3.Size = new System.Drawing.Size(109, 37);
|
|
|
+ this.button3.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button3.TabIndex = 14;
|
|
|
this.button3.Text = "返 回";
|
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
@@ -125,9 +138,10 @@
|
|
|
//
|
|
|
// button4
|
|
|
//
|
|
|
- this.button4.Location = new System.Drawing.Point(29, 422);
|
|
|
+ this.button4.Location = new System.Drawing.Point(19, 281);
|
|
|
+ this.button4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.button4.Name = "button4";
|
|
|
- this.button4.Size = new System.Drawing.Size(109, 37);
|
|
|
+ this.button4.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button4.TabIndex = 14;
|
|
|
this.button4.Text = "另 存";
|
|
|
this.button4.UseVisualStyleBackColor = true;
|
|
@@ -135,26 +149,42 @@
|
|
|
//
|
|
|
// tb_lj
|
|
|
//
|
|
|
- this.tb_lj.Location = new System.Drawing.Point(88, 282);
|
|
|
+ this.tb_lj.Location = new System.Drawing.Point(59, 188);
|
|
|
+ this.tb_lj.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.tb_lj.Name = "tb_lj";
|
|
|
this.tb_lj.ReadOnly = true;
|
|
|
- this.tb_lj.Size = new System.Drawing.Size(491, 28);
|
|
|
+ this.tb_lj.Size = new System.Drawing.Size(329, 21);
|
|
|
this.tb_lj.TabIndex = 12;
|
|
|
//
|
|
|
// label3
|
|
|
//
|
|
|
this.label3.AutoSize = true;
|
|
|
- this.label3.Location = new System.Drawing.Point(15, 289);
|
|
|
+ this.label3.Location = new System.Drawing.Point(10, 193);
|
|
|
+ this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label3.Name = "label3";
|
|
|
- this.label3.Size = new System.Drawing.Size(62, 18);
|
|
|
+ this.label3.Size = new System.Drawing.Size(41, 12);
|
|
|
this.label3.TabIndex = 13;
|
|
|
this.label3.Text = "路 径";
|
|
|
//
|
|
|
+ // contextMenuStrip1
|
|
|
+ //
|
|
|
+ this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
+ this.newFileToolStripMenuItem});
|
|
|
+ this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
|
+ this.contextMenuStrip1.Size = new System.Drawing.Size(181, 48);
|
|
|
+ //
|
|
|
+ // newFileToolStripMenuItem
|
|
|
+ //
|
|
|
+ this.newFileToolStripMenuItem.Name = "newFileToolStripMenuItem";
|
|
|
+ this.newFileToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
|
|
+ this.newFileToolStripMenuItem.Text = "NewFile";
|
|
|
+ this.newFileToolStripMenuItem.Click += new System.EventHandler(this.newFileToolStripMenuItem_Click);
|
|
|
+ //
|
|
|
// frmPartSizeEditorNew
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(592, 471);
|
|
|
+ this.ClientSize = new System.Drawing.Size(399, 325);
|
|
|
this.Controls.Add(this.button3);
|
|
|
this.Controls.Add(this.button2);
|
|
|
this.Controls.Add(this.button4);
|
|
@@ -167,15 +197,17 @@
|
|
|
this.Controls.Add(this.tb_ljm);
|
|
|
this.Controls.Add(this.Gview_LJ);
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.MaximizeBox = false;
|
|
|
- this.MaximumSize = new System.Drawing.Size(614, 527);
|
|
|
+ this.MaximumSize = new System.Drawing.Size(415, 364);
|
|
|
this.MinimizeBox = false;
|
|
|
- this.MinimumSize = new System.Drawing.Size(614, 527);
|
|
|
+ this.MinimumSize = new System.Drawing.Size(415, 364);
|
|
|
this.Name = "frmPartSizeEditorNew";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
this.Text = "粒级文件编辑器";
|
|
|
this.Load += new System.EventHandler(this.frmPartSizeEditorNew_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Gview_LJ)).EndInit();
|
|
|
+ this.contextMenuStrip1.ResumeLayout(false);
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
@@ -194,5 +226,7 @@
|
|
|
private System.Windows.Forms.Button button4;
|
|
|
public System.Windows.Forms.TextBox tb_lj;
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
+ private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
|
+ private System.Windows.Forms.ToolStripMenuItem newFileToolStripMenuItem;
|
|
|
}
|
|
|
}
|