Commit b2897ce8 authored by Bruce's avatar Bruce

mapping, saving, bndboxes -v 0.2

parent 12be3f70
...@@ -11,17 +11,31 @@ namespace ETC_App1 ...@@ -11,17 +11,31 @@ namespace ETC_App1
public class BndBox : Panel public class BndBox : Panel
{ {
int dotSize = 10; //需要被 2 整除 int dotSize = 10; //需要被 2 整除
public BndBox(Point location, Size size) List <Color> colors=new List<Color> { Color.Red,Color.Orange,Color.Yellow,Color.Green,Color.Blue,Color.Brown,Color.Purple};
int Color_ind;
public int Num;
public BndBox(Point location, Size size , int color)
{ {
InitializeComponent(); InitializeComponent();
this.DoubleBuffered = true;
this.Location = location; this.Location = location;
this.Size = size; this.Size = size;
this.Num = color;
if (colors.Count <= color)
{
Random rnd = new Random();
colors.Add(Color.FromArgb(255, rnd.Next(100, 255), rnd.Next(100, 255), rnd.Next(100, 255)));
this.Color_ind = 7;
}
else
this.Color_ind = color;
} }
private void panel1_Paint(object sender, PaintEventArgs e) private void panel1_Paint(object sender, PaintEventArgs e)
{ {
Panel pl = (Panel)sender; Panel pl = (Panel)sender;
e.Graphics.DrawRectangle(new Pen(Color.Red, 2), dotSize / 2, dotSize / 2, pl.Width - dotSize, pl.Height - dotSize);
e.Graphics.DrawRectangle(new Pen(colors[Color_ind], 2), dotSize / 2, dotSize / 2, pl.Width - dotSize, pl.Height - dotSize);
Point x1 = new Point(0, 0); Point x1 = new Point(0, 0);
Point y1 = new Point(0, pl.Height); Point y1 = new Point(0, pl.Height);
...@@ -115,16 +129,16 @@ namespace ETC_App1 ...@@ -115,16 +129,16 @@ namespace ETC_App1
// //
this.BackColor = System.Drawing.Color.Transparent; this.BackColor = System.Drawing.Color.Transparent;
this.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); this.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.BndBox_MouseClick);
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
this.MouseLeave += new System.EventHandler(this.BndBox_MouseLeave);
this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
private void BndBox_MouseLeave(object sender, EventArgs e) private void BndBox_MouseClick(object sender, MouseEventArgs e)
{ {
//this.BringToFront();
} }
} }
} }
...@@ -31,85 +31,49 @@ ...@@ -31,85 +31,49 @@
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.button9 = new System.Windows.Forms.Button(); this.button9 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.splitContainer9 = new System.Windows.Forms.SplitContainer(); this.panel1 = new System.Windows.Forms.Panel();
this.button7 = new System.Windows.Forms.Button(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.label8 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label();
this.splitContainer8 = new System.Windows.Forms.SplitContainer(); this.button7 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.splitContainer7 = new System.Windows.Forms.SplitContainer(); this.button6 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label();
this.splitContainer6 = new System.Windows.Forms.SplitContainer(); this.button5 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label();
this.splitContainer5 = new System.Windows.Forms.SplitContainer(); this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label();
this.splitContainer4 = new System.Windows.Forms.SplitContainer(); this.button3 = new System.Windows.Forms.Button();
this.xml_path_btn = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.splitContainer3 = new System.Windows.Forms.SplitContainer(); this.xml_path_btn = new System.Windows.Forms.Button();
this.img_path_btn = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.splitContainer10 = new System.Windows.Forms.SplitContainer(); this.img_path_btn = new System.Windows.Forms.Button();
this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.splitContainer11 = new System.Windows.Forms.SplitContainer(); this.panel2 = new System.Windows.Forms.Panel();
this.button8 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox();
this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox();
this.button8 = new System.Windows.Forms.Button();
this.label9 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label();
this.panel3 = new System.Windows.Forms.Panel();
this.listBox1 = new System.Windows.Forms.ListBox(); this.listBox1 = new System.Windows.Forms.ListBox();
this.label10 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label();
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
this.panel4 = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout(); this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.tableLayoutPanel1.SuspendLayout();
this.splitContainer2.Panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout();
this.splitContainer2.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer9)).BeginInit(); this.panel2.SuspendLayout();
this.splitContainer9.Panel1.SuspendLayout(); this.panel3.SuspendLayout();
this.splitContainer9.Panel2.SuspendLayout(); this.panel4.SuspendLayout();
this.splitContainer9.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer8)).BeginInit();
this.splitContainer8.Panel1.SuspendLayout();
this.splitContainer8.Panel2.SuspendLayout();
this.splitContainer8.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer7)).BeginInit();
this.splitContainer7.Panel1.SuspendLayout();
this.splitContainer7.Panel2.SuspendLayout();
this.splitContainer7.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer6)).BeginInit();
this.splitContainer6.Panel1.SuspendLayout();
this.splitContainer6.Panel2.SuspendLayout();
this.splitContainer6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
this.splitContainer5.Panel1.SuspendLayout();
this.splitContainer5.Panel2.SuspendLayout();
this.splitContainer5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.Panel2.SuspendLayout();
this.splitContainer4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer10)).BeginInit();
this.splitContainer10.Panel1.SuspendLayout();
this.splitContainer10.Panel2.SuspendLayout();
this.splitContainer10.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer11)).BeginInit();
this.splitContainer11.Panel1.SuspendLayout();
this.splitContainer11.Panel2.SuspendLayout();
this.splitContainer11.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// splitContainer1 // splitContainer1
...@@ -117,6 +81,7 @@ ...@@ -117,6 +81,7 @@
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.ImeMode = System.Windows.Forms.ImeMode.Disable; this.splitContainer1.ImeMode = System.Windows.Forms.ImeMode.Disable;
this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4);
this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
...@@ -127,16 +92,17 @@ ...@@ -127,16 +92,17 @@
// //
// splitContainer1.Panel2 // splitContainer1.Panel2
// //
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Panel2.Controls.Add(this.tableLayoutPanel1);
this.splitContainer1.Size = new System.Drawing.Size(1190, 881); this.splitContainer1.Size = new System.Drawing.Size(1538, 1050);
this.splitContainer1.SplitterDistance = 35; this.splitContainer1.SplitterWidth = 6;
this.splitContainer1.TabIndex = 0; this.splitContainer1.TabIndex = 0;
// //
// button9 // button9
// //
this.button9.Location = new System.Drawing.Point(153, 7); this.button9.Location = new System.Drawing.Point(230, 10);
this.button9.Margin = new System.Windows.Forms.Padding(4);
this.button9.Name = "button9"; this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(75, 23); this.button9.Size = new System.Drawing.Size(112, 34);
this.button9.TabIndex = 1; this.button9.TabIndex = 1;
this.button9.Text = "回到檢查視窗"; this.button9.Text = "回到檢查視窗";
this.button9.UseVisualStyleBackColor = true; this.button9.UseVisualStyleBackColor = true;
...@@ -149,465 +115,392 @@ ...@@ -149,465 +115,392 @@
this.label1.Font = new System.Drawing.Font("新細明體", 20F); this.label1.Font = new System.Drawing.Font("新細明體", 20F);
this.label1.ImageAlign = System.Drawing.ContentAlignment.TopLeft; this.label1.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(147, 27); this.label1.Size = new System.Drawing.Size(217, 40);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "上選單區域"; this.label1.Text = "上選單區域";
// //
// splitContainer2 // tableLayoutPanel1
// //
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.ColumnCount = 3;
this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.3355F));
this.splitContainer2.Name = "splitContainer2"; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 58.84265F));
// this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 22.78621F));
// splitContainer2.Panel1 this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0);
// this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 2, 0);
this.splitContainer2.Panel1.Controls.Add(this.splitContainer9); this.tableLayoutPanel1.Controls.Add(this.panel4, 1, 0);
this.splitContainer2.Panel1.Controls.Add(this.splitContainer8); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.splitContainer2.Panel1.Controls.Add(this.splitContainer7); this.tableLayoutPanel1.Location = new System.Drawing.Point(0, -3);
this.splitContainer2.Panel1.Controls.Add(this.splitContainer6); this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.splitContainer2.Panel1.Controls.Add(this.splitContainer5); this.tableLayoutPanel1.RowCount = 1;
this.splitContainer2.Panel1.Controls.Add(this.splitContainer4); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.splitContainer2.Panel1.Controls.Add(this.splitContainer3); this.tableLayoutPanel1.Size = new System.Drawing.Size(1538, 997);
// this.tableLayoutPanel1.TabIndex = 3;
// splitContainer2.Panel2 //
// // panel1
this.splitContainer2.Panel2.Controls.Add(this.splitContainer10); //
this.splitContainer2.Size = new System.Drawing.Size(1190, 842); this.panel1.Controls.Add(this.tableLayoutPanel3);
this.splitContainer2.SplitterDistance = 196; this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.TabIndex = 0; this.panel1.Location = new System.Drawing.Point(3, 3);
// this.panel1.Name = "panel1";
// splitContainer9 this.panel1.Size = new System.Drawing.Size(276, 991);
// this.panel1.TabIndex = 2;
this.splitContainer9.Dock = System.Windows.Forms.DockStyle.Top; //
this.splitContainer9.Location = new System.Drawing.Point(0, 720); // tableLayoutPanel3
this.splitContainer9.Name = "splitContainer9"; //
this.splitContainer9.Orientation = System.Windows.Forms.Orientation.Horizontal; this.tableLayoutPanel3.ColumnCount = 1;
// this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
// splitContainer9.Panel1 this.tableLayoutPanel3.Controls.Add(this.label8, 0, 13);
// this.tableLayoutPanel3.Controls.Add(this.button7, 0, 12);
this.splitContainer9.Panel1.Controls.Add(this.button7); this.tableLayoutPanel3.Controls.Add(this.label7, 0, 11);
this.splitContainer9.Panel1.UseWaitCursor = true; this.tableLayoutPanel3.Controls.Add(this.button6, 0, 10);
this.tableLayoutPanel3.Controls.Add(this.label6, 0, 9);
this.tableLayoutPanel3.Controls.Add(this.button5, 0, 8);
this.tableLayoutPanel3.Controls.Add(this.label5, 0, 7);
this.tableLayoutPanel3.Controls.Add(this.button4, 0, 6);
this.tableLayoutPanel3.Controls.Add(this.label4, 0, 5);
this.tableLayoutPanel3.Controls.Add(this.button3, 0, 4);
this.tableLayoutPanel3.Controls.Add(this.label3, 0, 3);
this.tableLayoutPanel3.Controls.Add(this.xml_path_btn, 0, 2);
this.tableLayoutPanel3.Controls.Add(this.label2, 0, 1);
this.tableLayoutPanel3.Controls.Add(this.img_path_btn, 0, 0);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Right;
this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 14;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.922997F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.366119F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.922997F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.36215F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.922997F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.36215F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.922997F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.36215F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.922997F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.36215F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.922997F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.36215F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.922997F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.36215F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(276, 991);
this.tableLayoutPanel3.TabIndex = 5;
// //
// splitContainer9.Panel2 // label8
// //
this.splitContainer9.Panel2.Controls.Add(this.label8); this.label8.AutoSize = true;
this.splitContainer9.Panel2.UseWaitCursor = true; this.label8.Font = new System.Drawing.Font("標楷體", 14F);
this.splitContainer9.Size = new System.Drawing.Size(196, 120); this.label8.Location = new System.Drawing.Point(4, 944);
this.splitContainer9.SplitterDistance = 80; this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer9.TabIndex = 6; this.label8.Name = "label8";
this.splitContainer9.UseWaitCursor = true; this.label8.Size = new System.Drawing.Size(222, 28);
this.label8.TabIndex = 14;
this.label8.Text = "沿用區塊(Clt+E)";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label8.UseWaitCursor = true;
// //
// button7 // button7
// //
this.button7.Dock = System.Windows.Forms.DockStyle.Fill; this.button7.Dock = System.Windows.Forms.DockStyle.Fill;
this.button7.Font = new System.Drawing.Font("新細明體", 18F); this.button7.Font = new System.Drawing.Font("新細明體", 18F);
this.button7.Location = new System.Drawing.Point(0, 0); this.button7.Location = new System.Drawing.Point(4, 850);
this.button7.Margin = new System.Windows.Forms.Padding(4);
this.button7.Name = "button7"; this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(196, 80); this.button7.Size = new System.Drawing.Size(268, 90);
this.button7.TabIndex = 0; this.button7.TabIndex = 13;
this.button7.Text = "沿用區塊"; this.button7.Text = "沿用區塊";
this.button7.UseVisualStyleBackColor = true; this.button7.UseVisualStyleBackColor = true;
this.button7.UseWaitCursor = true; this.button7.UseWaitCursor = true;
// //
// label8 // label7
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("新細明體", 16F);
this.label8.Location = new System.Drawing.Point(1, 0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(181, 22);
this.label8.TabIndex = 0;
this.label8.Text = "沿用區塊( Clt+ E )";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label8.UseWaitCursor = true;
//
// splitContainer8
//
this.splitContainer8.Dock = System.Windows.Forms.DockStyle.Top;
this.splitContainer8.Location = new System.Drawing.Point(0, 600);
this.splitContainer8.Name = "splitContainer8";
this.splitContainer8.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer8.Panel1
//
this.splitContainer8.Panel1.Controls.Add(this.button6);
this.splitContainer8.Panel1.UseWaitCursor = true;
//
// splitContainer8.Panel2
// //
this.splitContainer8.Panel2.Controls.Add(this.label7); this.label7.AutoSize = true;
this.splitContainer8.Panel2.UseWaitCursor = true; this.label7.Font = new System.Drawing.Font("標楷體", 14F);
this.splitContainer8.Size = new System.Drawing.Size(196, 120); this.label7.Location = new System.Drawing.Point(4, 803);
this.splitContainer8.SplitterDistance = 80; this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer8.TabIndex = 5; this.label7.Name = "label7";
this.splitContainer8.UseWaitCursor = true; this.label7.Size = new System.Drawing.Size(222, 28);
this.label7.TabIndex = 12;
this.label7.Text = "創建區塊(Clt+W)";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label7.UseWaitCursor = true;
// //
// button6 // button6
// //
this.button6.Dock = System.Windows.Forms.DockStyle.Fill; this.button6.Dock = System.Windows.Forms.DockStyle.Fill;
this.button6.Font = new System.Drawing.Font("新細明體", 18F); this.button6.Font = new System.Drawing.Font("新細明體", 18F);
this.button6.Location = new System.Drawing.Point(0, 0); this.button6.Location = new System.Drawing.Point(4, 709);
this.button6.Margin = new System.Windows.Forms.Padding(4);
this.button6.Name = "button6"; this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(196, 80); this.button6.Size = new System.Drawing.Size(268, 90);
this.button6.TabIndex = 0; this.button6.TabIndex = 11;
this.button6.Text = "創建區塊"; this.button6.Text = "創建區塊";
this.button6.UseVisualStyleBackColor = true; this.button6.UseVisualStyleBackColor = true;
this.button6.UseWaitCursor = true; this.button6.UseWaitCursor = true;
// //
// label7 // label6
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("新細明體", 16F);
this.label7.Location = new System.Drawing.Point(1, 0);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(188, 22);
this.label7.TabIndex = 0;
this.label7.Text = "創建區塊( Clt+ W )";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label7.UseWaitCursor = true;
//
// splitContainer7
//
this.splitContainer7.Dock = System.Windows.Forms.DockStyle.Top;
this.splitContainer7.Location = new System.Drawing.Point(0, 480);
this.splitContainer7.Name = "splitContainer7";
this.splitContainer7.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer7.Panel1
//
this.splitContainer7.Panel1.Controls.Add(this.button5);
this.splitContainer7.Panel1.UseWaitCursor = true;
//
// splitContainer7.Panel2
// //
this.splitContainer7.Panel2.Controls.Add(this.label6); this.label6.AutoSize = true;
this.splitContainer7.Panel2.UseWaitCursor = true; this.label6.Font = new System.Drawing.Font("標楷體", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.splitContainer7.Size = new System.Drawing.Size(196, 120); this.label6.Location = new System.Drawing.Point(4, 662);
this.splitContainer7.SplitterDistance = 80; this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer7.TabIndex = 4; this.label6.Name = "label6";
this.splitContainer7.UseWaitCursor = true; this.label6.Size = new System.Drawing.Size(223, 32);
this.label6.TabIndex = 10;
this.label6.Text = "儲存( Ctl+S )";
this.label6.UseWaitCursor = true;
// //
// button5 // button5
// //
this.button5.Dock = System.Windows.Forms.DockStyle.Fill; this.button5.Dock = System.Windows.Forms.DockStyle.Fill;
this.button5.Font = new System.Drawing.Font("新細明體", 18F); this.button5.Font = new System.Drawing.Font("新細明體", 18F);
this.button5.Location = new System.Drawing.Point(0, 0); this.button5.Location = new System.Drawing.Point(4, 568);
this.button5.Margin = new System.Windows.Forms.Padding(4);
this.button5.Name = "button5"; this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(196, 80); this.button5.Size = new System.Drawing.Size(268, 90);
this.button5.TabIndex = 0; this.button5.TabIndex = 9;
this.button5.Text = "儲存"; this.button5.Text = "儲存";
this.button5.UseVisualStyleBackColor = true; this.button5.UseVisualStyleBackColor = true;
this.button5.UseWaitCursor = true; this.button5.UseWaitCursor = true;
// //
// label6 // label5
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("新細明體", 19F);
this.label6.Location = new System.Drawing.Point(16, -1);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(152, 26);
this.label6.TabIndex = 0;
this.label6.Text = "儲存( Ctl+S )";
this.label6.UseWaitCursor = true;
//
// splitContainer6
//
this.splitContainer6.Dock = System.Windows.Forms.DockStyle.Top;
this.splitContainer6.Location = new System.Drawing.Point(0, 360);
this.splitContainer6.Name = "splitContainer6";
this.splitContainer6.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer6.Panel1
//
this.splitContainer6.Panel1.Controls.Add(this.button4);
this.splitContainer6.Panel1.UseWaitCursor = true;
//
// splitContainer6.Panel2
// //
this.splitContainer6.Panel2.Controls.Add(this.label5); this.label5.AutoSize = true;
this.splitContainer6.Panel2.UseWaitCursor = true; this.label5.Font = new System.Drawing.Font("標楷體", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.splitContainer6.Size = new System.Drawing.Size(196, 120); this.label5.Location = new System.Drawing.Point(4, 521);
this.splitContainer6.SplitterDistance = 80; this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer6.TabIndex = 3; this.label5.Name = "label5";
this.splitContainer6.UseWaitCursor = true; this.label5.Size = new System.Drawing.Size(207, 32);
this.label5.TabIndex = 8;
this.label5.Text = "上一張 ( A )";
this.label5.UseWaitCursor = true;
// //
// button4 // button4
// //
this.button4.Dock = System.Windows.Forms.DockStyle.Fill; this.button4.Dock = System.Windows.Forms.DockStyle.Fill;
this.button4.Font = new System.Drawing.Font("新細明體", 18F); this.button4.Font = new System.Drawing.Font("新細明體", 18F);
this.button4.Location = new System.Drawing.Point(0, 0); this.button4.Location = new System.Drawing.Point(4, 427);
this.button4.Margin = new System.Windows.Forms.Padding(4);
this.button4.Name = "button4"; this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(196, 80); this.button4.Size = new System.Drawing.Size(268, 90);
this.button4.TabIndex = 0; this.button4.TabIndex = 7;
this.button4.Text = "<="; this.button4.Text = "<=";
this.button4.UseVisualStyleBackColor = true; this.button4.UseVisualStyleBackColor = true;
this.button4.UseWaitCursor = true; this.button4.UseWaitCursor = true;
// //
// label5 // label4
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("新細明體", 19F);
this.label5.Location = new System.Drawing.Point(23, -1);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(145, 26);
this.label5.TabIndex = 0;
this.label5.Text = "上一張 ( A )";
this.label5.UseWaitCursor = true;
//
// splitContainer5
//
this.splitContainer5.Dock = System.Windows.Forms.DockStyle.Top;
this.splitContainer5.Location = new System.Drawing.Point(0, 240);
this.splitContainer5.Name = "splitContainer5";
this.splitContainer5.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer5.Panel1
//
this.splitContainer5.Panel1.Controls.Add(this.button3);
this.splitContainer5.Panel1.UseWaitCursor = true;
//
// splitContainer5.Panel2
// //
this.splitContainer5.Panel2.Controls.Add(this.label4); this.label4.AutoSize = true;
this.splitContainer5.Panel2.UseWaitCursor = true; this.label4.Font = new System.Drawing.Font("標楷體", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.splitContainer5.Size = new System.Drawing.Size(196, 120); this.label4.Location = new System.Drawing.Point(4, 380);
this.splitContainer5.SplitterDistance = 80; this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer5.TabIndex = 2; this.label4.Name = "label4";
this.splitContainer5.UseWaitCursor = true; this.label4.Size = new System.Drawing.Size(207, 32);
this.label4.TabIndex = 6;
this.label4.Text = "下一張 ( D )";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label4.UseWaitCursor = true;
// //
// button3 // button3
// //
this.button3.Dock = System.Windows.Forms.DockStyle.Fill; this.button3.Dock = System.Windows.Forms.DockStyle.Fill;
this.button3.Font = new System.Drawing.Font("新細明體", 18F); this.button3.Font = new System.Drawing.Font("新細明體", 18F);
this.button3.Location = new System.Drawing.Point(0, 0); this.button3.Location = new System.Drawing.Point(4, 286);
this.button3.Margin = new System.Windows.Forms.Padding(4);
this.button3.Name = "button3"; this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(196, 80); this.button3.Size = new System.Drawing.Size(268, 90);
this.button3.TabIndex = 0; this.button3.TabIndex = 5;
this.button3.Text = "=>"; this.button3.Text = "=>";
this.button3.UseVisualStyleBackColor = true; this.button3.UseVisualStyleBackColor = true;
this.button3.UseWaitCursor = true; this.button3.UseWaitCursor = true;
// //
// label4 // label3
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("新細明體", 19F);
this.label4.Location = new System.Drawing.Point(23, -1);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(145, 26);
this.label4.TabIndex = 0;
this.label4.Text = "下一張 ( D )";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label4.UseWaitCursor = true;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Top;
this.splitContainer4.Location = new System.Drawing.Point(0, 120);
this.splitContainer4.Name = "splitContainer4";
this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.xml_path_btn);
this.splitContainer4.Panel1.UseWaitCursor = true;
//
// splitContainer4.Panel2
// //
this.splitContainer4.Panel2.Controls.Add(this.label3); this.label3.AutoSize = true;
this.splitContainer4.Panel2.UseWaitCursor = true; this.label3.Font = new System.Drawing.Font("標楷體", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.splitContainer4.Size = new System.Drawing.Size(196, 120); this.label3.Location = new System.Drawing.Point(4, 239);
this.splitContainer4.SplitterDistance = 80; this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer4.TabIndex = 1; this.label3.Name = "label3";
this.splitContainer4.UseWaitCursor = true; this.label3.Size = new System.Drawing.Size(207, 32);
this.label3.TabIndex = 4;
this.label3.Text = "存放標籤目錄";
this.label3.UseWaitCursor = true;
// //
// xml_path_btn // xml_path_btn
// //
this.xml_path_btn.Dock = System.Windows.Forms.DockStyle.Fill; this.xml_path_btn.Dock = System.Windows.Forms.DockStyle.Fill;
this.xml_path_btn.Location = new System.Drawing.Point(0, 0); this.xml_path_btn.Location = new System.Drawing.Point(4, 145);
this.xml_path_btn.Margin = new System.Windows.Forms.Padding(4);
this.xml_path_btn.Name = "xml_path_btn"; this.xml_path_btn.Name = "xml_path_btn";
this.xml_path_btn.Size = new System.Drawing.Size(196, 80); this.xml_path_btn.Size = new System.Drawing.Size(268, 90);
this.xml_path_btn.TabIndex = 0; this.xml_path_btn.TabIndex = 3;
this.xml_path_btn.Text = "存放標記目錄"; this.xml_path_btn.Text = "存放標記目錄";
this.xml_path_btn.UseVisualStyleBackColor = true; this.xml_path_btn.UseVisualStyleBackColor = true;
this.xml_path_btn.UseWaitCursor = true; this.xml_path_btn.UseWaitCursor = true;
this.xml_path_btn.Click += new System.EventHandler(this.xml_path_btn_Click); this.xml_path_btn.Click += new System.EventHandler(this.xml_path_btn_Click);
// //
// label3 // label2
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("新細明體", 19F);
this.label3.Location = new System.Drawing.Point(11, -1);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(168, 26);
this.label3.TabIndex = 0;
this.label3.Text = "存放標籤目錄";
this.label3.UseWaitCursor = true;
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Top;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.img_path_btn);
this.splitContainer3.Panel1.UseWaitCursor = true;
//
// splitContainer3.Panel2
// //
this.splitContainer3.Panel2.Controls.Add(this.label2); this.label2.AutoSize = true;
this.splitContainer3.Panel2.UseWaitCursor = true; this.label2.Font = new System.Drawing.Font("標楷體", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.splitContainer3.Size = new System.Drawing.Size(196, 120); this.label2.Location = new System.Drawing.Point(4, 98);
this.splitContainer3.SplitterDistance = 80; this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.splitContainer3.TabIndex = 0; this.label2.Name = "label2";
this.splitContainer3.UseWaitCursor = true; this.label2.Size = new System.Drawing.Size(207, 32);
this.label2.TabIndex = 2;
this.label2.Text = "開啟圖片目錄";
this.label2.UseWaitCursor = true;
// //
// img_path_btn // img_path_btn
// //
this.img_path_btn.Dock = System.Windows.Forms.DockStyle.Fill; this.img_path_btn.Dock = System.Windows.Forms.DockStyle.Fill;
this.img_path_btn.Location = new System.Drawing.Point(0, 0); this.img_path_btn.Location = new System.Drawing.Point(4, 4);
this.img_path_btn.Margin = new System.Windows.Forms.Padding(4);
this.img_path_btn.Name = "img_path_btn"; this.img_path_btn.Name = "img_path_btn";
this.img_path_btn.Size = new System.Drawing.Size(196, 80); this.img_path_btn.Size = new System.Drawing.Size(268, 90);
this.img_path_btn.TabIndex = 0; this.img_path_btn.TabIndex = 1;
this.img_path_btn.Text = "開啟圖片目錄"; this.img_path_btn.Text = "開啟圖片目錄";
this.img_path_btn.UseVisualStyleBackColor = true; this.img_path_btn.UseVisualStyleBackColor = true;
this.img_path_btn.UseWaitCursor = true; this.img_path_btn.UseWaitCursor = true;
this.img_path_btn.Click += new System.EventHandler(this.img_path_btn_Click); this.img_path_btn.Click += new System.EventHandler(this.img_path_btn_Click);
// //
// label2 // tableLayoutPanel2
// //
this.label2.AutoSize = true; this.tableLayoutPanel2.ColumnCount = 1;
this.label2.Font = new System.Drawing.Font("新細明體", 19F); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.label2.Location = new System.Drawing.Point(11, -1); this.tableLayoutPanel2.Controls.Add(this.panel2, 0, 0);
this.label2.Name = "label2"; this.tableLayoutPanel2.Controls.Add(this.panel3, 0, 2);
this.label2.Size = new System.Drawing.Size(168, 26); this.tableLayoutPanel2.Controls.Add(this.checkedListBox1, 0, 1);
this.label2.TabIndex = 0; this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Text = "開啟圖片目錄"; this.tableLayoutPanel2.Location = new System.Drawing.Point(1190, 3);
this.label2.UseWaitCursor = true; this.tableLayoutPanel2.Name = "tableLayoutPanel2";
// this.tableLayoutPanel2.RowCount = 3;
// splitContainer10 this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 34.85839F));
// this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 65.14161F));
this.splitContainer10.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 512F));
this.splitContainer10.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.splitContainer10.Name = "splitContainer10"; this.tableLayoutPanel2.Size = new System.Drawing.Size(345, 991);
// this.tableLayoutPanel2.TabIndex = 3;
// splitContainer10.Panel1 //
// // panel2
this.splitContainer10.Panel1.BackColor = System.Drawing.Color.LightGray; //
this.splitContainer10.Panel1.Controls.Add(this.pictureBox1); this.panel2.Controls.Add(this.textBox1);
// this.panel2.Controls.Add(this.checkBox1);
// splitContainer10.Panel2 this.panel2.Controls.Add(this.button8);
// this.panel2.Controls.Add(this.label9);
this.splitContainer10.Panel2.Controls.Add(this.splitContainer11); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer10.Size = new System.Drawing.Size(990, 842); this.panel2.Location = new System.Drawing.Point(3, 3);
this.splitContainer10.SplitterDistance = 754; this.panel2.Name = "panel2";
this.splitContainer10.TabIndex = 0; this.panel2.Size = new System.Drawing.Size(348, 160);
// this.panel2.TabIndex = 5;
// pictureBox1
//
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(754, 842);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// splitContainer11
//
this.splitContainer11.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer11.Location = new System.Drawing.Point(0, 0);
this.splitContainer11.Name = "splitContainer11";
this.splitContainer11.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer11.Panel1
//
this.splitContainer11.Panel1.Controls.Add(this.button8);
this.splitContainer11.Panel1.Controls.Add(this.textBox1);
this.splitContainer11.Panel1.Controls.Add(this.checkBox1);
this.splitContainer11.Panel1.Controls.Add(this.label9);
//
// splitContainer11.Panel2
//
this.splitContainer11.Panel2.Controls.Add(this.listBox1);
this.splitContainer11.Panel2.Controls.Add(this.label10);
this.splitContainer11.Panel2.Controls.Add(this.checkedListBox1);
this.splitContainer11.Size = new System.Drawing.Size(232, 842);
this.splitContainer11.SplitterDistance = 133;
this.splitContainer11.TabIndex = 0;
//
// button8
//
this.button8.Font = new System.Drawing.Font("新細明體", 12F);
this.button8.Location = new System.Drawing.Point(9, 41);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(94, 23);
this.button8.TabIndex = 3;
this.button8.Text = "編輯標籤";
this.button8.UseVisualStyleBackColor = true;
// //
// textBox1 // textBox1
// //
this.textBox1.Font = new System.Drawing.Font("新細明體", 12F); this.textBox1.Font = new System.Drawing.Font("新細明體", 12F);
this.textBox1.Location = new System.Drawing.Point(129, 79); this.textBox1.Location = new System.Drawing.Point(188, 96);
this.textBox1.Margin = new System.Windows.Forms.Padding(4);
this.textBox1.Name = "textBox1"; this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 27); this.textBox1.Size = new System.Drawing.Size(148, 36);
this.textBox1.TabIndex = 2; this.textBox1.TabIndex = 9;
this.textBox1.Text = "plate"; this.textBox1.Text = "plate";
// //
// checkBox1 // checkBox1
// //
this.checkBox1.AutoSize = true; this.checkBox1.AutoSize = true;
this.checkBox1.Font = new System.Drawing.Font("新細明體", 12F); this.checkBox1.Font = new System.Drawing.Font("新細明體", 12F);
this.checkBox1.Location = new System.Drawing.Point(7, 84); this.checkBox1.Location = new System.Drawing.Point(4, 104);
this.checkBox1.Margin = new System.Windows.Forms.Padding(4);
this.checkBox1.Name = "checkBox1"; this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(123, 20); this.checkBox1.Size = new System.Drawing.Size(180, 28);
this.checkBox1.TabIndex = 1; this.checkBox1.TabIndex = 8;
this.checkBox1.Text = "使用預設標籤"; this.checkBox1.Text = "使用預設標籤";
this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.UseVisualStyleBackColor = true;
// //
// button8
//
this.button8.Font = new System.Drawing.Font("新細明體", 12F);
this.button8.Location = new System.Drawing.Point(10, 51);
this.button8.Margin = new System.Windows.Forms.Padding(4);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(141, 34);
this.button8.TabIndex = 5;
this.button8.Text = "編輯標籤";
this.button8.UseVisualStyleBackColor = true;
//
// label9 // label9
// //
this.label9.AutoSize = true; this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("新細明體", 16F); this.label9.Font = new System.Drawing.Font("新細明體", 16F);
this.label9.Location = new System.Drawing.Point(3, 0); this.label9.Location = new System.Drawing.Point(4, 0);
this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label9.Name = "label9"; this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(120, 22); this.label9.Size = new System.Drawing.Size(175, 32);
this.label9.TabIndex = 0; this.label9.TabIndex = 1;
this.label9.Text = "區塊的標籤"; this.label9.Text = "區塊的標籤";
// //
// panel3
//
this.panel3.Controls.Add(this.listBox1);
this.panel3.Controls.Add(this.label10);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(3, 481);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(348, 507);
this.panel3.TabIndex = 7;
//
// listBox1 // listBox1
// //
this.listBox1.Font = new System.Drawing.Font("新細明體", 12F); this.listBox1.Font = new System.Drawing.Font("新細明體", 12F);
this.listBox1.FormattingEnabled = true; this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 16; this.listBox1.ItemHeight = 24;
this.listBox1.Location = new System.Drawing.Point(9, 276); this.listBox1.Location = new System.Drawing.Point(4, 47);
this.listBox1.Margin = new System.Windows.Forms.Padding(4);
this.listBox1.Name = "listBox1"; this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(220, 436); this.listBox1.Size = new System.Drawing.Size(335, 436);
this.listBox1.TabIndex = 6; this.listBox1.TabIndex = 7;
// //
// label10 // label10
// //
this.label10.AutoSize = true; this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("新細明體", 16F); this.label10.Font = new System.Drawing.Font("新細明體", 16F);
this.label10.Location = new System.Drawing.Point(3, 251); this.label10.Location = new System.Drawing.Point(8, 11);
this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label10.Name = "label10"; this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(98, 22); this.label10.Size = new System.Drawing.Size(143, 32);
this.label10.TabIndex = 5; this.label10.TabIndex = 6;
this.label10.Text = "檔案清單"; this.label10.Text = "檔案清單";
// //
// checkedListBox1 // checkedListBox1
// //
this.checkedListBox1.Font = new System.Drawing.Font("新細明體", 14F); this.checkedListBox1.Font = new System.Drawing.Font("新細明體", 14F);
this.checkedListBox1.FormattingEnabled = true; this.checkedListBox1.FormattingEnabled = true;
this.checkedListBox1.Location = new System.Drawing.Point(9, 3); this.checkedListBox1.Location = new System.Drawing.Point(4, 170);
this.checkedListBox1.Margin = new System.Windows.Forms.Padding(4);
this.checkedListBox1.Name = "checkedListBox1"; this.checkedListBox1.Name = "checkedListBox1";
this.checkedListBox1.Size = new System.Drawing.Size(220, 229); this.checkedListBox1.Size = new System.Drawing.Size(335, 270);
this.checkedListBox1.TabIndex = 0; this.checkedListBox1.TabIndex = 6;
//
// panel4
//
this.panel4.BackColor = System.Drawing.Color.LightGray;
this.panel4.Controls.Add(this.pictureBox1);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(285, 3);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(899, 991);
this.panel4.TabIndex = 4;
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.ErrorImage = null;
this.pictureBox1.InitialImage = null;
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(899, 991);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
// //
// openFileDialog1 // openFileDialog1
// //
...@@ -615,72 +508,34 @@ ...@@ -615,72 +508,34 @@
// //
// Form2 // Form2
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1190, 881); this.ClientSize = new System.Drawing.Size(1538, 1050);
this.Controls.Add(this.splitContainer1); this.Controls.Add(this.splitContainer1);
this.KeyPreview = true; this.KeyPreview = true;
this.MinimumSize = new System.Drawing.Size(16, 858); this.Margin = new System.Windows.Forms.Padding(4);
this.MinimumSize = new System.Drawing.Size(22, 1078);
this.Name = "Form2"; this.Name = "Form2";
this.Text = "Form2"; this.Text = "Form2";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form2_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form2_FormClosing);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form2_KeyDown); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form2_KeyDown);
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Form2_KeyPress);
this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout(); this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false); this.splitContainer1.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false); this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.tableLayoutPanel3.ResumeLayout(false);
this.splitContainer2.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout();
this.splitContainer9.Panel1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false);
this.splitContainer9.Panel2.ResumeLayout(false); this.panel2.ResumeLayout(false);
this.splitContainer9.Panel2.PerformLayout(); this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer9)).EndInit(); this.panel3.ResumeLayout(false);
this.splitContainer9.ResumeLayout(false); this.panel3.PerformLayout();
this.splitContainer8.Panel1.ResumeLayout(false); this.panel4.ResumeLayout(false);
this.splitContainer8.Panel2.ResumeLayout(false);
this.splitContainer8.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer8)).EndInit();
this.splitContainer8.ResumeLayout(false);
this.splitContainer7.Panel1.ResumeLayout(false);
this.splitContainer7.Panel2.ResumeLayout(false);
this.splitContainer7.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer7)).EndInit();
this.splitContainer7.ResumeLayout(false);
this.splitContainer6.Panel1.ResumeLayout(false);
this.splitContainer6.Panel2.ResumeLayout(false);
this.splitContainer6.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer6)).EndInit();
this.splitContainer6.ResumeLayout(false);
this.splitContainer5.Panel1.ResumeLayout(false);
this.splitContainer5.Panel2.ResumeLayout(false);
this.splitContainer5.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
this.splitContainer5.ResumeLayout(false);
this.splitContainer4.Panel1.ResumeLayout(false);
this.splitContainer4.Panel2.ResumeLayout(false);
this.splitContainer4.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
this.splitContainer3.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer10.Panel1.ResumeLayout(false);
this.splitContainer10.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer10)).EndInit();
this.splitContainer10.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.splitContainer11.Panel1.ResumeLayout(false);
this.splitContainer11.Panel1.PerformLayout();
this.splitContainer11.Panel2.ResumeLayout(false);
this.splitContainer11.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer11)).EndInit();
this.splitContainer11.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
...@@ -688,41 +543,38 @@ ...@@ -688,41 +543,38 @@
#endregion #endregion
private System.Windows.Forms.SplitContainer splitContainer1; private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.SplitContainer splitContainer2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.SplitContainer splitContainer6; private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button button4; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label5;
private System.Windows.Forms.SplitContainer splitContainer5; private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label4;
private System.Windows.Forms.SplitContainer splitContainer4; private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button xml_path_btn;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.SplitContainer splitContainer3; private System.Windows.Forms.Button xml_path_btn;
private System.Windows.Forms.Button img_path_btn;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private System.Windows.Forms.SplitContainer splitContainer9; private System.Windows.Forms.Button img_path_btn;
private System.Windows.Forms.Button button7; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.Label label8; private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.SplitContainer splitContainer8;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.SplitContainer splitContainer7;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.SplitContainer splitContainer10;
private System.Windows.Forms.SplitContainer splitContainer11;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label9;
private System.Windows.Forms.CheckedListBox checkedListBox1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.ListBox listBox1; private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label10;
private System.Windows.Forms.CheckedListBox checkedListBox1; private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.PictureBox pictureBox1;
} }
} }
\ No newline at end of file
...@@ -5,6 +5,7 @@ using System.Data; ...@@ -5,6 +5,7 @@ using System.Data;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
...@@ -17,6 +18,7 @@ namespace ETC_App1 ...@@ -17,6 +18,7 @@ namespace ETC_App1
private string Imgs_path = ""; private string Imgs_path = "";
private string Xmls_path = ""; private string Xmls_path = "";
private XmlLable xmlLable = new XmlLable(); private XmlLable xmlLable = new XmlLable();
private List<BndBox> bndBoxes= new List<BndBox>();
//private Form ROI { get; set; } //private Form ROI { get; set; }
public Form2() public Form2()
...@@ -72,6 +74,12 @@ namespace ETC_App1 ...@@ -72,6 +74,12 @@ namespace ETC_App1
string img = listBox1.SelectedItem.ToString().Remove(0,3); string img = listBox1.SelectedItem.ToString().Remove(0,3);
Bitmap bitmap = new Bitmap(img); Bitmap bitmap = new Bitmap(img);
pictureBox1.Image = bitmap; pictureBox1.Image = bitmap;
FreshImg();
string xml = img.Replace(".jpg", ".xml").Replace(".png", ".xml");
if (File.Exists(xml))
{
Console.WriteLine(xml);
}
} }
} }
} }
...@@ -80,26 +88,36 @@ namespace ETC_App1 ...@@ -80,26 +88,36 @@ namespace ETC_App1
FolderBrowserDialog path = new FolderBrowserDialog(); FolderBrowserDialog path = new FolderBrowserDialog();
path.ShowDialog(); path.ShowDialog();
Xmls_path = path.SelectedPath; Xmls_path = path.SelectedPath;
}
XmlLableObject obj1 = new XmlLableObject("A", "11", "12", "13", "14"); double rate;
XmlLableObject obj2 = new XmlLableObject("B", "15", "16", "17", "18"); int black_left_width;
XmlLableObject obj3 = new XmlLableObject("C", "19", "20", "21", "22"); int black_top_height;
private void FreshImg()
{
Now_selected = -1;
//int originalWidth = this.pictureBox1.Image.Width;
int originalHeight = this.pictureBox1.Image.Height;
PropertyInfo rectangleProperty = this.pictureBox1.GetType().GetProperty("ImageRectangle", BindingFlags.Instance | BindingFlags.NonPublic);
Rectangle rectangle = (Rectangle)rectangleProperty.GetValue(this.pictureBox1, null);
xmlLable.Object.Add(obj1); int currentWidth = rectangle.Width;
xmlLable.Object.Add(obj2); int currentHeight = rectangle.Height;
xmlLable.Object.Add(obj3);
ProcessCombobox(); rate = (double)currentHeight / (double)originalHeight;
CreateXmlTree(@"C:\Users\Bruce\source\repos\e-eye\ETC_App1\bin\Debug\form2_config\Eample.xml", Xmls_path+@"\Eample2.xml"); black_left_width = (currentWidth == this.pictureBox1.Width) ? 0 : (this.pictureBox1.Width - currentWidth) / 2;
} black_top_height = (currentHeight == this.pictureBox1.Height) ? 0 : (this.pictureBox1.Height - currentHeight) / 2;
private void Form2_KeyPress(object sender, KeyPressEventArgs e) this.xmlLable = new XmlLable();
foreach(BndBox box in bndBoxes)
{ {
box.Dispose();
}
this.bndBoxes = new List<BndBox>();
checkedListBox1.Items.Clear();
} }
private void Form2_KeyDown(object sender, KeyEventArgs e) private void Form2_KeyDown(object sender, KeyEventArgs e)
{ {
if (e.KeyCode == Keys.D) //下一張按鈕 if (e.KeyCode == Keys.D) //下一張按鈕
...@@ -112,9 +130,7 @@ namespace ETC_App1 ...@@ -112,9 +130,7 @@ namespace ETC_App1
string img = listBox1.SelectedItem.ToString().Remove(0, 3); string img = listBox1.SelectedItem.ToString().Remove(0, 3);
Bitmap bitmap = new Bitmap(img); Bitmap bitmap = new Bitmap(img);
pictureBox1.Image = bitmap; pictureBox1.Image = bitmap;
FreshImg();
this.xmlLable = new XmlLable();
checkedListBox1.Items.Clear();
string xml = img.Replace(".jpg", ".xml").Replace(".png",".xml"); string xml = img.Replace(".jpg", ".xml").Replace(".png",".xml");
if (File.Exists(xml)) if (File.Exists(xml))
...@@ -134,30 +150,46 @@ namespace ETC_App1 ...@@ -134,30 +150,46 @@ namespace ETC_App1
string img = listBox1.SelectedItem.ToString().Remove(0, 3); string img = listBox1.SelectedItem.ToString().Remove(0, 3);
Bitmap bitmap = new Bitmap(img); Bitmap bitmap = new Bitmap(img);
pictureBox1.Image = bitmap; pictureBox1.Image = bitmap;
this.xmlLable = new XmlLable();
checkedListBox1.Items.Clear(); FreshImg();
string xml = img.Replace(".jpg", ".xml").Replace(".png", ".xml");
if (File.Exists(xml))
{
Console.WriteLine(xml);
}
} }
} }
} }
if (e.Control && e.KeyCode == Keys.S) //儲存按鈕 if (e.Control && e.KeyCode == Keys.S) //儲存按鈕
{ {
string path =Application.StartupPath;
CreateXmlTree(path+@"\form2_config\Eample.xml", Xmls_path + @"\Eample2.xml");
} }
if (e.Control && e.KeyCode == Keys.W) //創建區塊 按鈕 if (e.Control && e.KeyCode == Keys.W) //創建區塊 按鈕
{ {
Point pp = new Point(300, 300); newBndbox();
Size ss = new Size(50, 50);
BndBox box = new BndBox(pp,ss);
Controls.Add(box);
box.Parent = pictureBox1;
box.Refresh();
box.Show();
box.BringToFront();
} }
if (e.Control && e.KeyCode == Keys.E) //儲存按鈕 if (e.Control && e.KeyCode == Keys.E) //沿用區塊 按鈕
{ {
} }
if (e.KeyCode == Keys.Delete)
{
if (Now_selected >= 0)
{
for (int i= Now_selected+1;i < bndBoxes.Count;i++)
{
bndBoxes[i].Num=i-1;
}
bndBoxes[Now_selected].Dispose();
bndBoxes.RemoveAt(Now_selected);
xmlLable.Object.RemoveAt(Now_selected);
ProcessCombobox(-1);
}
Now_selected = -1;
}
} }
public void CreateXmlTree(string src_path,string save_path) public void CreateXmlTree(string src_path,string save_path)
{ {
...@@ -210,23 +242,74 @@ namespace ETC_App1 ...@@ -210,23 +242,74 @@ namespace ETC_App1
} }
doc.Save(save_path); doc.Save(save_path);
} }
public void ProcessCombobox() public void ProcessCombobox(int index)
{ {
List<XmlLableObject> objs = xmlLable.Object; List<XmlLableObject> objs = xmlLable.Object;
if (index < 0)
{
checkedListBox1.Items.Clear();
foreach (XmlLableObject obj in objs) foreach (XmlLableObject obj in objs)
{ {
string temp = String.Format("{0}: {1},{2},{3},{4}", obj.Name, obj.X1, obj.Y1, obj.X2, obj.Y2); string temp = String.Format("{0}: {1},{2},{3},{4}", obj.Name, obj.X1, obj.Y1, obj.X2, obj.Y2);
if (checkedListBox1.Items.IndexOf(temp) < 0 || true)
{
checkedListBox1.Items.Add(temp); checkedListBox1.Items.Add(temp);
checkedListBox1.SetItemChecked(checkedListBox1.Items.IndexOf(temp), true); checkedListBox1.SetItemChecked(checkedListBox1.Items.IndexOf(temp), true);
} }
} }
else
{
XmlLableObject obj=objs[index];
string temp = String.Format("{0}: {1},{2},{3},{4}", obj.Name, obj.X1, obj.Y1, obj.X2, obj.Y2);
checkedListBox1.Items[index] = temp;
checkedListBox1.SetItemChecked(checkedListBox1.Items.IndexOf(temp), true);
}
} }
public void newBndbox()
{
int move = xmlLable.Object.Count - 1 >= 0 ? xmlLable.Object.Count : 0;
int mapping_x=(int)Math.Round(((300+move*10) * rate) + black_left_width, 0, MidpointRounding.AwayFromZero);
int mapping_y = (int)Math.Round((156 * rate) + black_top_height, 0, MidpointRounding.AwayFromZero);
int mapping_w = (int)Math.Round((300 * rate) , 0, MidpointRounding.AwayFromZero);
int mapping_h= (int)Math.Round((208 * rate), 0, MidpointRounding.AwayFromZero);
Point pp = new Point(mapping_x, mapping_y);
Size ss = new Size(mapping_w, mapping_h);
BndBox box = new BndBox(pp, ss, xmlLable.Object.Count-1 >=0 ? xmlLable.Object.Count : 0);
box.Paint += Bndbox_GotFocus;
box.MouseClick += Box_MouseClick;
Controls.Add(box);
box.Parent = pictureBox1;
bndBoxes.Add(box);
box.BringToFront();
string x1 = Math.Round((box.Left - black_left_width) / rate, 0, MidpointRounding.AwayFromZero).ToString();
string y1 = Math.Round((box.Top - black_top_height) / rate, 0, MidpointRounding.AwayFromZero).ToString();
string x2 = Math.Round((box.Left - black_left_width + box.Width) / rate, 0, MidpointRounding.AwayFromZero).ToString();
string y2 = Math.Round((box.Top - black_top_height + box.Height) / rate, 0, MidpointRounding.AwayFromZero).ToString();
XmlLableObject obj = new XmlLableObject("A", x1, y1, x2, y2);
xmlLable.Object.Add(obj);
ProcessCombobox(-1);
}
int Now_selected=-1;
private void Box_MouseClick(object sender, MouseEventArgs e)
{
BndBox box = (BndBox)sender;
Now_selected= box.Num;
checkedListBox1.SetSelected(Now_selected,true);
}
private void Bndbox_GotFocus(Object sender , EventArgs e)
{
BndBox box = (BndBox)sender;
string x1 = Math.Round((box.Left - black_left_width) / rate, 0, MidpointRounding.AwayFromZero).ToString();
string y1 = Math.Round((box.Top - black_top_height) / rate, 0, MidpointRounding.AwayFromZero).ToString();
string x2 = Math.Round((box.Left - black_left_width + box.Width) / rate, 0, MidpointRounding.AwayFromZero).ToString();
string y2 = Math.Round((box.Top - black_top_height + box.Height) / rate, 0, MidpointRounding.AwayFromZero).ToString();
xmlLable.Object[box.Num].modifie(x1, y1, x2, y2);
ProcessCombobox(box.Num);
}
} }
} }
...@@ -123,4 +123,7 @@ ...@@ -123,4 +123,7 @@
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>195, 17</value> <value>195, 17</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
</root> </root>
\ No newline at end of file
...@@ -24,5 +24,13 @@ namespace ETC_App1 ...@@ -24,5 +24,13 @@ namespace ETC_App1
this.Y2 = y2; this.Y2 = y2;
} }
public void modifie(string x1, string y1, string x2, string y2)
{
this.X1 = x1;
this.X2 = x2;
this.Y1 = y1;
this.Y2 = y2;
}
} }
} }
e0043c7e390cd0b592b3be354e86de0f9dd09bd3 787279dc622ca0322d891fa421c6a5217f3b4855
...@@ -487,3 +487,68 @@ C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.exe ...@@ -487,3 +487,68 @@ C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.exe
C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.pdb C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.pdb
C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.UserControl1.resources C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.UserControl1.resources
C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.BndBox.resources C:\Users\ivan\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.BndBox.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x64\concrt140.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x64\cvextern.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x64\msvcp140.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x64\opencv_ffmpeg401_64.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x64\vcruntime140.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x86\concrt140.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x86\cvextern.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x86\msvcp140.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x86\opencv_ffmpeg401.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\x86\vcruntime140.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ETC_App1.exe.config
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ETC_App1.exe
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ETC_App1.pdb
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Aspose.BarCode.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\DuoVia.FuzzyStrings.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Emgu.CV.UI.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Emgu.CV.World.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ICSharpCode.SharpZipLib.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\MySql.Data.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Newtonsoft.Json.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\NPOI.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\NPOI.OOXML.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\NPOI.OpenXml4Net.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\NPOI.OpenXmlFormats.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\RestSharp.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ZedGraph.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Aspose.BarCode.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Emgu.CV.UI.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Emgu.CV.World.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ICSharpCode.SharpZipLib.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\MySql.Data.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\Newtonsoft.Json.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\RestSharp.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ZedGraph.xml
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\de\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\es\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\fr\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\hu\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\it\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ja\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\pt\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\ru\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\sk\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\sv\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\tr\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\zh-cn\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\bin\Debug\zh-tw\ZedGraph.resources.dll
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.csprojAssemblyReference.cache
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.BndBox.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.ETCBackgroundWorker1.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.ETCBackgroundWorker2.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.ETCBackgroundWorker3.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.ETCPictureBox.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.ETCPictureCheckBox.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.ETCStatusStrip.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.ETCToolStrip.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.Form1.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.Form2.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.Properties.Resources.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.UserControl1.resources
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.csproj.GenerateResource.cache
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.csproj.CoreCompileInputs.cache
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.csproj.CopyComplete
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.exe
C:\Users\aa349\source\repos\e-eye\ETC_App1\obj\Debug\ETC_App1.pdb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment