|
@@ -31,6 +31,8 @@
|
|
|
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.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
+ this.newFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.tb_ljm = new System.Windows.Forms.TextBox();
|
|
|
this.tb_ljz = new System.Windows.Forms.TextBox();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
@@ -41,8 +43,6 @@
|
|
|
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();
|
|
@@ -57,36 +57,51 @@
|
|
|
this.Gview_LJ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
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.Margin = new System.Windows.Forms.Padding(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(381, 174);
|
|
|
+ this.Gview_LJ.Size = new System.Drawing.Size(415, 174);
|
|
|
this.Gview_LJ.TabIndex = 11;
|
|
|
this.Gview_LJ.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.Gview_LJ_CellClick);
|
|
|
//
|
|
|
+ // contextMenuStrip1
|
|
|
+ //
|
|
|
+ this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
+ this.newFileToolStripMenuItem});
|
|
|
+ this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
|
+ this.contextMenuStrip1.Size = new System.Drawing.Size(122, 26);
|
|
|
+ //
|
|
|
+ // newFileToolStripMenuItem
|
|
|
+ //
|
|
|
+ this.newFileToolStripMenuItem.Name = "newFileToolStripMenuItem";
|
|
|
+ this.newFileToolStripMenuItem.Size = new System.Drawing.Size(121, 22);
|
|
|
+ this.newFileToolStripMenuItem.Text = "NewFile";
|
|
|
+ this.newFileToolStripMenuItem.Click += new System.EventHandler(this.newFileToolStripMenuItem_Click);
|
|
|
+ //
|
|
|
// tb_ljm
|
|
|
//
|
|
|
- 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.Location = new System.Drawing.Point(118, 220);
|
|
|
+ this.tb_ljm.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tb_ljm.Name = "tb_ljm";
|
|
|
- this.tb_ljm.Size = new System.Drawing.Size(329, 21);
|
|
|
+ this.tb_ljm.Size = new System.Drawing.Size(305, 21);
|
|
|
this.tb_ljm.TabIndex = 12;
|
|
|
//
|
|
|
// tb_ljz
|
|
|
//
|
|
|
- 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.Location = new System.Drawing.Point(118, 251);
|
|
|
+ this.tb_ljz.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tb_ljz.Name = "tb_ljz";
|
|
|
- this.tb_ljz.Size = new System.Drawing.Size(329, 21);
|
|
|
+ this.tb_ljz.Size = new System.Drawing.Size(305, 21);
|
|
|
this.tb_ljz.TabIndex = 12;
|
|
|
//
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
- this.label1.Location = new System.Drawing.Point(10, 223);
|
|
|
+ this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
|
+ this.label1.Location = new System.Drawing.Point(11, 223);
|
|
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label1.Name = "label1";
|
|
|
this.label1.Size = new System.Drawing.Size(41, 12);
|
|
@@ -96,7 +111,8 @@
|
|
|
// label2
|
|
|
//
|
|
|
this.label2.AutoSize = true;
|
|
|
- this.label2.Location = new System.Drawing.Point(10, 254);
|
|
|
+ this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
|
+ this.label2.Location = new System.Drawing.Point(11, 254);
|
|
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label2.Name = "label2";
|
|
|
this.label2.Size = new System.Drawing.Size(41, 12);
|
|
@@ -105,8 +121,8 @@
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
- this.button1.Location = new System.Drawing.Point(122, 281);
|
|
|
- this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
+ this.button1.Location = new System.Drawing.Point(136, 289);
|
|
|
+ this.button1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.button1.Name = "button1";
|
|
|
this.button1.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button1.TabIndex = 14;
|
|
@@ -116,8 +132,8 @@
|
|
|
//
|
|
|
// button2
|
|
|
//
|
|
|
- this.button2.Location = new System.Drawing.Point(218, 281);
|
|
|
- this.button2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
+ this.button2.Location = new System.Drawing.Point(232, 289);
|
|
|
+ this.button2.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.button2.Name = "button2";
|
|
|
this.button2.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button2.TabIndex = 14;
|
|
@@ -127,8 +143,8 @@
|
|
|
//
|
|
|
// button3
|
|
|
//
|
|
|
- this.button3.Location = new System.Drawing.Point(314, 281);
|
|
|
- this.button3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
+ this.button3.Location = new System.Drawing.Point(328, 289);
|
|
|
+ this.button3.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.button3.Name = "button3";
|
|
|
this.button3.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button3.TabIndex = 14;
|
|
@@ -138,8 +154,8 @@
|
|
|
//
|
|
|
// button4
|
|
|
//
|
|
|
- this.button4.Location = new System.Drawing.Point(19, 281);
|
|
|
- this.button4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
+ this.button4.Location = new System.Drawing.Point(33, 289);
|
|
|
+ this.button4.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.button4.Name = "button4";
|
|
|
this.button4.Size = new System.Drawing.Size(73, 25);
|
|
|
this.button4.TabIndex = 14;
|
|
@@ -149,42 +165,29 @@
|
|
|
//
|
|
|
// tb_lj
|
|
|
//
|
|
|
- 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.Location = new System.Drawing.Point(118, 190);
|
|
|
+ this.tb_lj.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tb_lj.Name = "tb_lj";
|
|
|
this.tb_lj.ReadOnly = true;
|
|
|
- this.tb_lj.Size = new System.Drawing.Size(329, 21);
|
|
|
+ this.tb_lj.Size = new System.Drawing.Size(305, 21);
|
|
|
this.tb_lj.TabIndex = 12;
|
|
|
//
|
|
|
// label3
|
|
|
//
|
|
|
this.label3.AutoSize = true;
|
|
|
- this.label3.Location = new System.Drawing.Point(10, 193);
|
|
|
+ this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
|
+ this.label3.Location = new System.Drawing.Point(11, 193);
|
|
|
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label3.Name = "label3";
|
|
|
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(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(399, 325);
|
|
|
+ this.ClientSize = new System.Drawing.Size(434, 325);
|
|
|
this.Controls.Add(this.button3);
|
|
|
this.Controls.Add(this.button2);
|
|
|
this.Controls.Add(this.button4);
|
|
@@ -197,11 +200,11 @@
|
|
|
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.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.MaximizeBox = false;
|
|
|
- this.MaximumSize = new System.Drawing.Size(415, 364);
|
|
|
+ this.MaximumSize = new System.Drawing.Size(450, 364);
|
|
|
this.MinimizeBox = false;
|
|
|
- this.MinimumSize = new System.Drawing.Size(415, 364);
|
|
|
+ this.MinimumSize = new System.Drawing.Size(450, 364);
|
|
|
this.Name = "frmPartSizeEditorNew";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
this.Text = "粒级文件编辑器";
|