diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..f8b4888 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..a8ee364 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\eagle2tvm.sln", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/eagle2tvm802/v16/.suo b/.vs/eagle2tvm802/v16/.suo new file mode 100644 index 0000000..7a3a4f9 Binary files /dev/null and b/.vs/eagle2tvm802/v16/.suo differ diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..28b2e64 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/eagle2tvm/.vs/eagle2tvm/v16/.suo b/eagle2tvm/.vs/eagle2tvm/v16/.suo new file mode 100644 index 0000000..b11129c Binary files /dev/null and b/eagle2tvm/.vs/eagle2tvm/v16/.suo differ diff --git a/eagle2tvm/eagle2tvm.sln b/eagle2tvm/eagle2tvm.sln index 2683d7c..32776cf 100755 --- a/eagle2tvm/eagle2tvm.sln +++ b/eagle2tvm/eagle2tvm.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.24720.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31624.102 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "eagle2tvm", "eagle2tvm\eagle2tvm.csproj", "{B1F963ED-56AA-4519-B30D-A109074FE54D}" EndProject @@ -13,10 +13,13 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {B1F963ED-56AA-4519-B30D-A109074FE54D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B1F963ED-56AA-4519-B30D-A109074FE54D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B1F963ED-56AA-4519-B30D-A109074FE54D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B1F963ED-56AA-4519-B30D-A109074FE54D}.Release|Any CPU.Build.0 = Release|Any CPU + {B1F963ED-56AA-4519-B30D-A109074FE54D}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {B1F963ED-56AA-4519-B30D-A109074FE54D}.Release|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DA8CAC94-F73F-44CC-B2A7-684B86E16883} + EndGlobalSection EndGlobal diff --git a/eagle2tvm/eagle2tvm/Form1.Designer.cs b/eagle2tvm/eagle2tvm/Form1.Designer.cs index bf6f372..25a2031 100755 --- a/eagle2tvm/eagle2tvm/Form1.Designer.cs +++ b/eagle2tvm/eagle2tvm/Form1.Designer.cs @@ -30,18 +30,18 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage_loadfiles = new System.Windows.Forms.TabPage(); this.label2 = new System.Windows.Forms.Label(); @@ -53,15 +53,18 @@ private void InitializeComponent() this.groupBox2 = new System.Windows.Forms.GroupBox(); this.button_loadTVMfiles = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.button_loadaltiumfiles = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.button_loadeaglefiles = new System.Windows.Forms.Button(); this.tabPage2 = new System.Windows.Forms.TabPage(); + this.button_ConverUnits = new System.Windows.Forms.Button(); this.bt_checkstackT = new System.Windows.Forms.Button(); this.label9 = new System.Windows.Forms.Label(); this.button_tdruck = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.tdataGridView_devices = new System.Windows.Forms.DataGridView(); this.tabPage3 = new System.Windows.Forms.TabPage(); + this.button_ConvertUnitsT = new System.Windows.Forms.Button(); this.bt_checkstackB = new System.Windows.Forms.Button(); this.label8 = new System.Windows.Forms.Label(); this.button_bdruck = new System.Windows.Forms.Button(); @@ -104,6 +107,8 @@ private void InitializeComponent() this.printDocument_bdruck = new System.Drawing.Printing.PrintDocument(); this.button_en = new System.Windows.Forms.Button(); this.button_de = new System.Windows.Forms.Button(); + this.button_pl = new System.Windows.Forms.Button(); + this.openUniversalFiles = new System.Windows.Forms.OpenFileDialog(); this.tabControl1.SuspendLayout(); this.tabPage_loadfiles.SuspendLayout(); this.groupBox3.SuspendLayout(); @@ -129,11 +134,10 @@ private void InitializeComponent() this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Controls.Add(this.tabPage5); - this.tabControl1.Location = new System.Drawing.Point(20, 20); - this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tabControl1.Location = new System.Drawing.Point(13, 13); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(1374, 885); + this.tabControl1.Size = new System.Drawing.Size(916, 575); this.tabControl1.TabIndex = 0; // // tabPage_loadfiles @@ -144,11 +148,10 @@ private void InitializeComponent() this.tabPage_loadfiles.Controls.Add(this.groupBox3); this.tabPage_loadfiles.Controls.Add(this.groupBox2); this.tabPage_loadfiles.Controls.Add(this.groupBox1); - this.tabPage_loadfiles.Location = new System.Drawing.Point(4, 29); - this.tabPage_loadfiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tabPage_loadfiles.Location = new System.Drawing.Point(4, 22); this.tabPage_loadfiles.Name = "tabPage_loadfiles"; - this.tabPage_loadfiles.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.tabPage_loadfiles.Size = new System.Drawing.Size(1366, 852); + this.tabPage_loadfiles.Padding = new System.Windows.Forms.Padding(3); + this.tabPage_loadfiles.Size = new System.Drawing.Size(908, 549); this.tabPage_loadfiles.TabIndex = 0; this.tabPage_loadfiles.Text = "Laden/Speichern PnP Dateien"; this.tabPage_loadfiles.UseVisualStyleBackColor = true; @@ -157,10 +160,9 @@ private void InitializeComponent() // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label2.Location = new System.Drawing.Point(522, 697); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Location = new System.Drawing.Point(348, 453); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(711, 75); + this.label2.Size = new System.Drawing.Size(515, 51); this.label2.TabIndex = 7; this.label2.Text = "Die Dateien bekommen zusätzlich zum eingegebenem Namen einen Zusatz von:\r\nTOP-Lay" + "er: _tvm802_top.csv\r\nBOTTOM-Layer: _tvm802_bottom.csv\r\n"; @@ -169,9 +171,10 @@ private void InitializeComponent() // this.label_usage.AutoSize = true; this.label_usage.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label_usage.Location = new System.Drawing.Point(522, 123); + this.label_usage.Location = new System.Drawing.Point(348, 80); + this.label_usage.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label_usage.Name = "label_usage"; - this.label_usage.Size = new System.Drawing.Size(732, 450); + this.label_usage.Size = new System.Drawing.Size(531, 306); this.label_usage.TabIndex = 6; this.label_usage.Text = resources.GetString("label_usage.Text"); // @@ -179,9 +182,10 @@ private void InitializeComponent() // this.label_usagetop.AutoSize = true; this.label_usagetop.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label_usagetop.Location = new System.Drawing.Point(516, 45); + this.label_usagetop.Location = new System.Drawing.Point(344, 29); + this.label_usagetop.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label_usagetop.Name = "label_usagetop"; - this.label_usagetop.Size = new System.Drawing.Size(161, 32); + this.label_usagetop.Size = new System.Drawing.Size(108, 24); this.label_usagetop.TabIndex = 5; this.label_usagetop.Text = "Bedienung:"; // @@ -190,9 +194,11 @@ private void InitializeComponent() this.groupBox3.Controls.Add(this.button3); this.groupBox3.Controls.Add(this.button_makeTVMfiles); this.groupBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox3.Location = new System.Drawing.Point(24, 537); + this.groupBox3.Location = new System.Drawing.Point(16, 349); + this.groupBox3.Margin = new System.Windows.Forms.Padding(2); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(456, 283); + this.groupBox3.Padding = new System.Windows.Forms.Padding(2); + this.groupBox3.Size = new System.Drawing.Size(304, 184); this.groupBox3.TabIndex = 4; this.groupBox3.TabStop = false; this.groupBox3.Text = "Speichere TVM802 Dateien"; @@ -201,10 +207,9 @@ private void InitializeComponent() // this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button3.Location = new System.Drawing.Point(27, 134); - this.button3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button3.Location = new System.Drawing.Point(18, 87); this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(386, 106); + this.button3.Size = new System.Drawing.Size(257, 69); this.button3.TabIndex = 6; this.button3.Text = "Erstelle TVM802 Dateien\r\nNUR Bauteile mit \r\nzugewiesenem Stack/Tray"; this.button3.UseVisualStyleBackColor = false; @@ -214,10 +219,9 @@ private void InitializeComponent() // this.button_makeTVMfiles.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.button_makeTVMfiles.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button_makeTVMfiles.Location = new System.Drawing.Point(27, 43); - this.button_makeTVMfiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button_makeTVMfiles.Location = new System.Drawing.Point(18, 28); this.button_makeTVMfiles.Name = "button_makeTVMfiles"; - this.button_makeTVMfiles.Size = new System.Drawing.Size(386, 58); + this.button_makeTVMfiles.Size = new System.Drawing.Size(257, 38); this.button_makeTVMfiles.TabIndex = 5; this.button_makeTVMfiles.Text = "Erstelle TVM802 Dateien"; this.button_makeTVMfiles.UseVisualStyleBackColor = false; @@ -227,11 +231,9 @@ private void InitializeComponent() // this.groupBox2.Controls.Add(this.button_loadTVMfiles); this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox2.Location = new System.Drawing.Point(24, 345); - this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.groupBox2.Location = new System.Drawing.Point(16, 224); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.groupBox2.Size = new System.Drawing.Size(456, 172); + this.groupBox2.Size = new System.Drawing.Size(304, 112); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Lade zuvor erstellte TVM802 Dateien"; @@ -240,10 +242,9 @@ private void InitializeComponent() // this.button_loadTVMfiles.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.button_loadTVMfiles.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button_loadTVMfiles.Location = new System.Drawing.Point(27, 71); - this.button_loadTVMfiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button_loadTVMfiles.Location = new System.Drawing.Point(18, 46); this.button_loadTVMfiles.Name = "button_loadTVMfiles"; - this.button_loadTVMfiles.Size = new System.Drawing.Size(386, 52); + this.button_loadTVMfiles.Size = new System.Drawing.Size(257, 34); this.button_loadTVMfiles.TabIndex = 1; this.button_loadTVMfiles.Text = "Lade TVM802 Dateien"; this.button_loadTVMfiles.UseVisualStyleBackColor = false; @@ -251,27 +252,36 @@ private void InitializeComponent() // // groupBox1 // + this.groupBox1.Controls.Add(this.button_loadaltiumfiles); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.button_loadeaglefiles); this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox1.Location = new System.Drawing.Point(24, 28); - this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.groupBox1.Location = new System.Drawing.Point(16, 18); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.groupBox1.Size = new System.Drawing.Size(456, 308); + this.groupBox1.Size = new System.Drawing.Size(304, 200); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Lade EAGLE Originaldateien"; // + // button_loadaltiumfiles + // + this.button_loadaltiumfiles.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_loadaltiumfiles.Location = new System.Drawing.Point(18, 105); + this.button_loadaltiumfiles.Name = "button_loadaltiumfiles"; + this.button_loadaltiumfiles.Size = new System.Drawing.Size(257, 33); + this.button_loadaltiumfiles.TabIndex = 3; + this.button_loadaltiumfiles.Text = "Lade Altium/OrCad/KiCad Dateien"; + this.button_loadaltiumfiles.UseVisualStyleBackColor = true; + this.button_loadaltiumfiles.Click += new System.EventHandler(this.button_loadaltiumfiles_Click); + // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.Red; - this.label3.Location = new System.Drawing.Point(22, 48); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Location = new System.Drawing.Point(15, 31); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(396, 88); + this.label3.Size = new System.Drawing.Size(271, 60); this.label3.TabIndex = 2; this.label3.Text = "Zuordnungen zu Nozzle, Stack, Fiducials usw. \r\nwerden auf Defaultwerte gesetzt. E" + "vt. zuvor \r\neine TVM802 Datei laden um die Fiducial Werte \r\nzu übernehmen."; @@ -279,10 +289,9 @@ private void InitializeComponent() // button_loadeaglefiles // this.button_loadeaglefiles.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button_loadeaglefiles.Location = new System.Drawing.Point(27, 169); - this.button_loadeaglefiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button_loadeaglefiles.Location = new System.Drawing.Point(18, 144); this.button_loadeaglefiles.Name = "button_loadeaglefiles"; - this.button_loadeaglefiles.Size = new System.Drawing.Size(386, 103); + this.button_loadeaglefiles.Size = new System.Drawing.Size(257, 33); this.button_loadeaglefiles.TabIndex = 1; this.button_loadeaglefiles.Text = "Lade Eagle Dateien"; this.button_loadeaglefiles.UseVisualStyleBackColor = true; @@ -290,26 +299,35 @@ private void InitializeComponent() // // tabPage2 // + this.tabPage2.Controls.Add(this.button_ConverUnits); this.tabPage2.Controls.Add(this.bt_checkstackT); this.tabPage2.Controls.Add(this.label9); this.tabPage2.Controls.Add(this.button_tdruck); this.tabPage2.Controls.Add(this.button2); this.tabPage2.Controls.Add(this.tdataGridView_devices); - this.tabPage2.Location = new System.Drawing.Point(4, 29); - this.tabPage2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.tabPage2.Size = new System.Drawing.Size(1366, 852); + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(908, 549); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "TOP Bauteile"; this.tabPage2.UseVisualStyleBackColor = true; // + // button_ConverUnits + // + this.button_ConverUnits.Location = new System.Drawing.Point(344, 519); + this.button_ConverUnits.Name = "button_ConverUnits"; + this.button_ConverUnits.Size = new System.Drawing.Size(135, 23); + this.button_ConverUnits.TabIndex = 8; + this.button_ConverUnits.Text = "Convert Units"; + this.button_ConverUnits.UseVisualStyleBackColor = true; + this.button_ConverUnits.Click += new System.EventHandler(this.button_ConverUnits_Click); + // // bt_checkstackT // - this.bt_checkstackT.Location = new System.Drawing.Point(939, 798); - this.bt_checkstackT.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.bt_checkstackT.Location = new System.Drawing.Point(626, 519); this.bt_checkstackT.Name = "bt_checkstackT"; - this.bt_checkstackT.Size = new System.Drawing.Size(202, 35); + this.bt_checkstackT.Size = new System.Drawing.Size(135, 23); this.bt_checkstackT.TabIndex = 7; this.bt_checkstackT.Text = "Check Stack"; this.bt_checkstackT.UseVisualStyleBackColor = true; @@ -318,18 +336,18 @@ private void InitializeComponent() // label9 // this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(8, 814); + this.label9.Location = new System.Drawing.Point(5, 529); + this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(307, 20); + this.label9.Size = new System.Drawing.Size(207, 13); this.label9.TabIndex = 6; this.label9.Text = "zum Sortieren den Spaltenkopf anklicken !"; // // button_tdruck // - this.button_tdruck.Location = new System.Drawing.Point(728, 798); - this.button_tdruck.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button_tdruck.Location = new System.Drawing.Point(485, 519); this.button_tdruck.Name = "button_tdruck"; - this.button_tdruck.Size = new System.Drawing.Size(202, 35); + this.button_tdruck.Size = new System.Drawing.Size(135, 23); this.button_tdruck.TabIndex = 5; this.button_tdruck.Text = "Drucken"; this.button_tdruck.UseVisualStyleBackColor = true; @@ -337,10 +355,9 @@ private void InitializeComponent() // // button2 // - this.button2.Location = new System.Drawing.Point(1150, 800); - this.button2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button2.Location = new System.Drawing.Point(767, 520); this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(202, 35); + this.button2.Size = new System.Drawing.Size(135, 23); this.button2.TabIndex = 4; this.button2.Text = "Auto-Stack"; this.button2.UseVisualStyleBackColor = true; @@ -348,60 +365,68 @@ private void InitializeComponent() // // tdataGridView_devices // - dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; - this.tdataGridView_devices.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle25.BackColor = System.Drawing.Color.WhiteSmoke; + this.tdataGridView_devices.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle25; this.tdataGridView_devices.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.tdataGridView_devices.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + dataGridViewCellStyle26.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.tdataGridView_devices.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle26; this.tdataGridView_devices.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.tdataGridView_devices.EnableHeadersVisualStyles = false; - this.tdataGridView_devices.Location = new System.Drawing.Point(21, 9); - this.tdataGridView_devices.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tdataGridView_devices.Location = new System.Drawing.Point(14, 6); this.tdataGridView_devices.MultiSelect = false; this.tdataGridView_devices.Name = "tdataGridView_devices"; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.tdataGridView_devices.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; - dataGridViewCellStyle4.BackColor = System.Drawing.Color.White; - this.tdataGridView_devices.RowsDefaultCellStyle = dataGridViewCellStyle4; - this.tdataGridView_devices.Size = new System.Drawing.Size(1342, 780); + dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + dataGridViewCellStyle27.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.tdataGridView_devices.RowHeadersDefaultCellStyle = dataGridViewCellStyle27; + dataGridViewCellStyle28.BackColor = System.Drawing.Color.White; + this.tdataGridView_devices.RowsDefaultCellStyle = dataGridViewCellStyle28; + this.tdataGridView_devices.Size = new System.Drawing.Size(895, 507); this.tdataGridView_devices.TabIndex = 0; this.tdataGridView_devices.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.tdataGridView_devices_DataError); this.tdataGridView_devices.KeyDown += new System.Windows.Forms.KeyEventHandler(this.bdataGridView_devices_KeyDown); // // tabPage3 // + this.tabPage3.Controls.Add(this.button_ConvertUnitsT); this.tabPage3.Controls.Add(this.bt_checkstackB); this.tabPage3.Controls.Add(this.label8); this.tabPage3.Controls.Add(this.button_bdruck); this.tabPage3.Controls.Add(this.button_bzuordnung); this.tabPage3.Controls.Add(this.bdataGridView_devices); - this.tabPage3.Location = new System.Drawing.Point(4, 29); - this.tabPage3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; - this.tabPage3.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.tabPage3.Size = new System.Drawing.Size(1366, 852); + this.tabPage3.Padding = new System.Windows.Forms.Padding(3); + this.tabPage3.Size = new System.Drawing.Size(908, 549); this.tabPage3.TabIndex = 3; this.tabPage3.Text = "BOTTOM Bauteile"; this.tabPage3.UseVisualStyleBackColor = true; // + // button_ConvertUnitsT + // + this.button_ConvertUnitsT.Location = new System.Drawing.Point(343, 519); + this.button_ConvertUnitsT.Name = "button_ConvertUnitsT"; + this.button_ConvertUnitsT.Size = new System.Drawing.Size(135, 23); + this.button_ConvertUnitsT.TabIndex = 9; + this.button_ConvertUnitsT.Text = "Convert Units"; + this.button_ConvertUnitsT.UseVisualStyleBackColor = true; + this.button_ConvertUnitsT.Click += new System.EventHandler(this.button_ConverUnits_Click); + // // bt_checkstackB // - this.bt_checkstackB.Location = new System.Drawing.Point(938, 798); - this.bt_checkstackB.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.bt_checkstackB.Location = new System.Drawing.Point(625, 519); this.bt_checkstackB.Name = "bt_checkstackB"; - this.bt_checkstackB.Size = new System.Drawing.Size(202, 35); + this.bt_checkstackB.Size = new System.Drawing.Size(135, 23); this.bt_checkstackB.TabIndex = 8; this.bt_checkstackB.Text = "Check Stack"; this.bt_checkstackB.UseVisualStyleBackColor = true; @@ -410,18 +435,18 @@ private void InitializeComponent() // label8 // this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(8, 814); + this.label8.Location = new System.Drawing.Point(5, 529); + this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(307, 20); + this.label8.Size = new System.Drawing.Size(207, 13); this.label8.TabIndex = 5; this.label8.Text = "zum Sortieren den Spaltenkopf anklicken !"; // // button_bdruck // - this.button_bdruck.Location = new System.Drawing.Point(726, 798); - this.button_bdruck.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button_bdruck.Location = new System.Drawing.Point(484, 519); this.button_bdruck.Name = "button_bdruck"; - this.button_bdruck.Size = new System.Drawing.Size(202, 35); + this.button_bdruck.Size = new System.Drawing.Size(135, 23); this.button_bdruck.TabIndex = 3; this.button_bdruck.Text = "Drucken"; this.button_bdruck.UseVisualStyleBackColor = true; @@ -429,10 +454,9 @@ private void InitializeComponent() // // button_bzuordnung // - this.button_bzuordnung.Location = new System.Drawing.Point(1149, 800); - this.button_bzuordnung.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.button_bzuordnung.Location = new System.Drawing.Point(766, 520); this.button_bzuordnung.Name = "button_bzuordnung"; - this.button_bzuordnung.Size = new System.Drawing.Size(202, 35); + this.button_bzuordnung.Size = new System.Drawing.Size(135, 23); this.button_bzuordnung.TabIndex = 2; this.button_bzuordnung.Text = "Auto-Stack"; this.button_bzuordnung.UseVisualStyleBackColor = true; @@ -440,40 +464,39 @@ private void InitializeComponent() // // bdataGridView_devices // - dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke; - this.bdataGridView_devices.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle29.BackColor = System.Drawing.Color.WhiteSmoke; + this.bdataGridView_devices.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle29; this.bdataGridView_devices.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.bdataGridView_devices.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + dataGridViewCellStyle30.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.bdataGridView_devices.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle30; this.bdataGridView_devices.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle7.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.bdataGridView_devices.DefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle31.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle31.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.bdataGridView_devices.DefaultCellStyle = dataGridViewCellStyle31; this.bdataGridView_devices.EnableHeadersVisualStyles = false; - this.bdataGridView_devices.Location = new System.Drawing.Point(9, 9); - this.bdataGridView_devices.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.bdataGridView_devices.Location = new System.Drawing.Point(6, 6); this.bdataGridView_devices.MultiSelect = false; this.bdataGridView_devices.Name = "bdataGridView_devices"; - dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.bdataGridView_devices.RowHeadersDefaultCellStyle = dataGridViewCellStyle8; - this.bdataGridView_devices.Size = new System.Drawing.Size(1344, 782); + dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + dataGridViewCellStyle32.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle32.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.bdataGridView_devices.RowHeadersDefaultCellStyle = dataGridViewCellStyle32; + this.bdataGridView_devices.Size = new System.Drawing.Size(896, 508); this.bdataGridView_devices.TabIndex = 1; this.bdataGridView_devices.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.bdataGridView_devices_DataError); this.bdataGridView_devices.KeyDown += new System.Windows.Forms.KeyEventHandler(this.bdataGridView_devices_KeyDown); @@ -487,20 +510,20 @@ private void InitializeComponent() this.tabPage1.Controls.Add(this.button_loadstacklist); this.tabPage1.Controls.Add(this.button_savestack); this.tabPage1.Controls.Add(this.dataGridView_stack); - this.tabPage1.Location = new System.Drawing.Point(4, 29); - this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; - this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.tabPage1.Size = new System.Drawing.Size(1366, 852); + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(908, 549); this.tabPage1.TabIndex = 2; this.tabPage1.Text = "Stack/Tray"; this.tabPage1.UseVisualStyleBackColor = true; // // button1 // - this.button1.Location = new System.Drawing.Point(408, 803); + this.button1.Location = new System.Drawing.Point(272, 522); + this.button1.Margin = new System.Windows.Forms.Padding(2); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(178, 37); + this.button1.Size = new System.Drawing.Size(119, 24); this.button1.TabIndex = 6; this.button1.Text = "unbenutzte Stacks"; this.button1.UseVisualStyleBackColor = true; @@ -508,9 +531,10 @@ private void InitializeComponent() // // button_printusedstacks // - this.button_printusedstacks.Location = new System.Drawing.Point(592, 802); + this.button_printusedstacks.Location = new System.Drawing.Point(395, 521); + this.button_printusedstacks.Margin = new System.Windows.Forms.Padding(2); this.button_printusedstacks.Name = "button_printusedstacks"; - this.button_printusedstacks.Size = new System.Drawing.Size(224, 37); + this.button_printusedstacks.Size = new System.Drawing.Size(149, 24); this.button_printusedstacks.TabIndex = 5; this.button_printusedstacks.Text = "Drucke benutzte Stacks"; this.button_printusedstacks.UseVisualStyleBackColor = true; @@ -519,17 +543,19 @@ private void InitializeComponent() // label7 // this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(10, 812); + this.label7.Location = new System.Drawing.Point(7, 528); + this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(307, 20); + this.label7.Size = new System.Drawing.Size(207, 13); this.label7.TabIndex = 4; this.label7.Text = "zum Sortieren den Spaltenkopf anklicken !"; // // button_printstacklist // - this.button_printstacklist.Location = new System.Drawing.Point(822, 803); + this.button_printstacklist.Location = new System.Drawing.Point(548, 522); + this.button_printstacklist.Margin = new System.Windows.Forms.Padding(2); this.button_printstacklist.Name = "button_printstacklist"; - this.button_printstacklist.Size = new System.Drawing.Size(135, 37); + this.button_printstacklist.Size = new System.Drawing.Size(90, 24); this.button_printstacklist.TabIndex = 3; this.button_printstacklist.Text = "Drucken"; this.button_printstacklist.UseVisualStyleBackColor = true; @@ -537,9 +563,10 @@ private void InitializeComponent() // // button_loadstacklist // - this.button_loadstacklist.Location = new System.Drawing.Point(1020, 803); + this.button_loadstacklist.Location = new System.Drawing.Point(680, 522); + this.button_loadstacklist.Margin = new System.Windows.Forms.Padding(2); this.button_loadstacklist.Name = "button_loadstacklist"; - this.button_loadstacklist.Size = new System.Drawing.Size(135, 37); + this.button_loadstacklist.Size = new System.Drawing.Size(90, 24); this.button_loadstacklist.TabIndex = 2; this.button_loadstacklist.Text = "Laden"; this.button_loadstacklist.UseVisualStyleBackColor = true; @@ -547,9 +574,10 @@ private void InitializeComponent() // // button_savestack // - this.button_savestack.Location = new System.Drawing.Point(1216, 803); + this.button_savestack.Location = new System.Drawing.Point(811, 522); + this.button_savestack.Margin = new System.Windows.Forms.Padding(2); this.button_savestack.Name = "button_savestack"; - this.button_savestack.Size = new System.Drawing.Size(135, 37); + this.button_savestack.Size = new System.Drawing.Size(90, 24); this.button_savestack.TabIndex = 1; this.button_savestack.Text = "Speichern"; this.button_savestack.UseVisualStyleBackColor = true; @@ -557,40 +585,39 @@ private void InitializeComponent() // // dataGridView_stack // - dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke; - this.dataGridView_stack.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9; + dataGridViewCellStyle33.BackColor = System.Drawing.Color.WhiteSmoke; + this.dataGridView_stack.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle33; this.dataGridView_stack.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; - dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView_stack.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10; + dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + dataGridViewCellStyle34.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle34.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle34.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle34.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView_stack.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle34; this.dataGridView_stack.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle11.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle11.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView_stack.DefaultCellStyle = dataGridViewCellStyle11; + dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle35.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle35.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle35.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView_stack.DefaultCellStyle = dataGridViewCellStyle35; this.dataGridView_stack.EnableHeadersVisualStyles = false; - this.dataGridView_stack.Location = new System.Drawing.Point(10, 11); - this.dataGridView_stack.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.dataGridView_stack.Location = new System.Drawing.Point(7, 7); this.dataGridView_stack.MultiSelect = false; this.dataGridView_stack.Name = "dataGridView_stack"; - dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - dataGridViewCellStyle12.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView_stack.RowHeadersDefaultCellStyle = dataGridViewCellStyle12; - this.dataGridView_stack.Size = new System.Drawing.Size(1342, 783); + dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle36.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + dataGridViewCellStyle36.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle36.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle36.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle36.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle36.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView_stack.RowHeadersDefaultCellStyle = dataGridViewCellStyle36; + this.dataGridView_stack.Size = new System.Drawing.Size(895, 509); this.dataGridView_stack.TabIndex = 0; this.dataGridView_stack.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView_stack_DataError); // @@ -609,10 +636,11 @@ private void InitializeComponent() this.tabPage4.Controls.Add(this.dataGridView_bfiducials); this.tabPage4.Controls.Add(this.label1); this.tabPage4.Controls.Add(this.dataGridView_fiducials); - this.tabPage4.Location = new System.Drawing.Point(4, 29); + this.tabPage4.Location = new System.Drawing.Point(4, 22); + this.tabPage4.Margin = new System.Windows.Forms.Padding(2); this.tabPage4.Name = "tabPage4"; - this.tabPage4.Padding = new System.Windows.Forms.Padding(3); - this.tabPage4.Size = new System.Drawing.Size(1366, 852); + this.tabPage4.Padding = new System.Windows.Forms.Padding(2); + this.tabPage4.Size = new System.Drawing.Size(908, 549); this.tabPage4.TabIndex = 6; this.tabPage4.Text = "Fiducials"; this.tabPage4.UseVisualStyleBackColor = true; @@ -620,39 +648,35 @@ private void InitializeComponent() // label16 // this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(676, 703); - this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label16.Location = new System.Drawing.Point(451, 457); this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(79, 20); + this.label16.Size = new System.Drawing.Size(56, 13); this.label16.TabIndex = 17; this.label16.Text = "BOTTOM:"; // // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(448, 703); - this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label14.Location = new System.Drawing.Point(299, 457); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(44, 20); + this.label14.Size = new System.Drawing.Size(32, 13); this.label14.TabIndex = 16; this.label14.Text = "TOP:"; // // tb_exposure_bottom // - this.tb_exposure_bottom.Location = new System.Drawing.Point(662, 785); - this.tb_exposure_bottom.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tb_exposure_bottom.Location = new System.Drawing.Point(441, 510); this.tb_exposure_bottom.Name = "tb_exposure_bottom"; - this.tb_exposure_bottom.Size = new System.Drawing.Size(148, 26); + this.tb_exposure_bottom.Size = new System.Drawing.Size(100, 20); this.tb_exposure_bottom.TabIndex = 15; this.tb_exposure_bottom.Text = "7"; this.tb_exposure_bottom.TextChanged += new System.EventHandler(this.tb_exposure_bottom_TextChanged); // // tb_exposure // - this.tb_exposure.Location = new System.Drawing.Point(430, 783); - this.tb_exposure.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tb_exposure.Location = new System.Drawing.Point(287, 509); this.tb_exposure.Name = "tb_exposure"; - this.tb_exposure.Size = new System.Drawing.Size(148, 26); + this.tb_exposure.Size = new System.Drawing.Size(100, 20); this.tb_exposure.TabIndex = 10; this.tb_exposure.Text = "7"; this.tb_exposure.TextChanged += new System.EventHandler(this.tb_exposure_TextChanged); @@ -660,29 +684,26 @@ private void InitializeComponent() // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(309, 789); - this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label13.Location = new System.Drawing.Point(206, 513); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(88, 20); + this.label13.Size = new System.Drawing.Size(60, 13); this.label13.TabIndex = 9; this.label13.Text = "Belichtung:"; // // label12 // this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(590, 749); - this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label12.Location = new System.Drawing.Point(393, 487); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(35, 20); + this.label12.Size = new System.Drawing.Size(23, 13); this.label12.TabIndex = 8; this.label12.Text = "mm"; // // tb_platinendicke // - this.tb_platinendicke.Location = new System.Drawing.Point(430, 743); - this.tb_platinendicke.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tb_platinendicke.Location = new System.Drawing.Point(287, 483); this.tb_platinendicke.Name = "tb_platinendicke"; - this.tb_platinendicke.Size = new System.Drawing.Size(148, 26); + this.tb_platinendicke.Size = new System.Drawing.Size(100, 20); this.tb_platinendicke.TabIndex = 7; this.tb_platinendicke.Text = "1.6"; this.tb_platinendicke.TextChanged += new System.EventHandler(this.tb_platinendicke_TextChanged); @@ -690,10 +711,9 @@ private void InitializeComponent() // label11 // this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(309, 749); - this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label11.Location = new System.Drawing.Point(206, 487); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(107, 20); + this.label11.Size = new System.Drawing.Size(74, 13); this.label11.TabIndex = 6; this.label11.Text = "Platinendicke:"; // @@ -701,9 +721,10 @@ private void InitializeComponent() // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label10.Location = new System.Drawing.Point(303, 598); + this.label10.Location = new System.Drawing.Point(202, 389); + this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(594, 50); + this.label10.Size = new System.Drawing.Size(427, 34); this.label10.TabIndex = 5; this.label10.Text = "Definiere im Board zwei SMD Pads mit den Namen: FID1 und FID2.\r\nDiese werden auto" + "matisch als Fiducials importiert."; @@ -712,9 +733,10 @@ private void InitializeComponent() // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label5.Location = new System.Drawing.Point(20, 323); + this.label5.Location = new System.Drawing.Point(13, 210); + this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(217, 25); + this.label5.Size = new System.Drawing.Size(152, 17); this.label5.TabIndex = 4; this.label5.Text = "FIDUCIAL BOTTOM:"; // @@ -726,22 +748,22 @@ private void InitializeComponent() this.dataGridView_bfiducials.AllowUserToResizeRows = false; this.dataGridView_bfiducials.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dataGridView_bfiducials.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridView_bfiducials.Location = new System.Drawing.Point(308, 302); - this.dataGridView_bfiducials.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.dataGridView_bfiducials.Location = new System.Drawing.Point(205, 196); this.dataGridView_bfiducials.MultiSelect = false; this.dataGridView_bfiducials.Name = "dataGridView_bfiducials"; this.dataGridView_bfiducials.RowHeadersVisible = false; this.dataGridView_bfiducials.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this.dataGridView_bfiducials.Size = new System.Drawing.Size(1006, 275); + this.dataGridView_bfiducials.Size = new System.Drawing.Size(671, 179); this.dataGridView_bfiducials.TabIndex = 3; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(20, 49); + this.label1.Location = new System.Drawing.Point(13, 32); + this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(168, 25); + this.label1.Size = new System.Drawing.Size(118, 17); this.label1.TabIndex = 2; this.label1.Text = "FIDUCIAL TOP:"; // @@ -753,24 +775,22 @@ private void InitializeComponent() this.dataGridView_fiducials.AllowUserToResizeRows = false; this.dataGridView_fiducials.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dataGridView_fiducials.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridView_fiducials.Location = new System.Drawing.Point(308, 28); - this.dataGridView_fiducials.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.dataGridView_fiducials.Location = new System.Drawing.Point(205, 18); this.dataGridView_fiducials.MultiSelect = false; this.dataGridView_fiducials.Name = "dataGridView_fiducials"; this.dataGridView_fiducials.RowHeadersVisible = false; this.dataGridView_fiducials.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this.dataGridView_fiducials.Size = new System.Drawing.Size(1006, 263); + this.dataGridView_fiducials.Size = new System.Drawing.Size(671, 171); this.dataGridView_fiducials.TabIndex = 1; // // tabPage5 // this.tabPage5.Controls.Add(this.label6); this.tabPage5.Controls.Add(this.label4); - this.tabPage5.Location = new System.Drawing.Point(4, 29); - this.tabPage5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.tabPage5.Location = new System.Drawing.Point(4, 22); this.tabPage5.Name = "tabPage5"; - this.tabPage5.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.tabPage5.Size = new System.Drawing.Size(1366, 852); + this.tabPage5.Padding = new System.Windows.Forms.Padding(3); + this.tabPage5.Size = new System.Drawing.Size(908, 549); this.tabPage5.TabIndex = 5; this.tabPage5.Text = "Info"; this.tabPage5.UseVisualStyleBackColor = true; @@ -779,21 +799,19 @@ private void InitializeComponent() // this.label6.AutoSize = true; this.label6.ForeColor = System.Drawing.Color.Blue; - this.label6.Location = new System.Drawing.Point(1046, 803); - this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label6.Location = new System.Drawing.Point(701, 510); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(278, 20); + this.label6.Size = new System.Drawing.Size(191, 26); this.label6.TabIndex = 1; - this.label6.Text = "Autor: www.dj0abr.de, www.helitron.de"; + this.label6.Text = "Autor: www.dj0abr.de, www.helitron.de\r\nAdditional Code: www.spiflash.org"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(10, 11); - this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label4.Location = new System.Drawing.Point(7, 7); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(1310, 638); + this.label4.Size = new System.Drawing.Size(867, 440); this.label4.TabIndex = 0; this.label4.Text = resources.GetString("label4.Text"); // @@ -805,12 +823,11 @@ private void InitializeComponent() // this.textBox_status.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox_status.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox_status.Location = new System.Drawing.Point(26, 915); - this.textBox_status.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.textBox_status.Location = new System.Drawing.Point(17, 595); this.textBox_status.Multiline = true; this.textBox_status.Name = "textBox_status"; this.textBox_status.ReadOnly = true; - this.textBox_status.Size = new System.Drawing.Size(755, 145); + this.textBox_status.Size = new System.Drawing.Size(504, 95); this.textBox_status.TabIndex = 1; // // timer1 @@ -827,12 +844,11 @@ private void InitializeComponent() // this.textBox_info.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox_info.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox_info.Location = new System.Drawing.Point(790, 915); - this.textBox_info.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.textBox_info.Location = new System.Drawing.Point(527, 595); this.textBox_info.Multiline = true; this.textBox_info.Name = "textBox_info"; this.textBox_info.ReadOnly = true; - this.textBox_info.Size = new System.Drawing.Size(596, 145); + this.textBox_info.Size = new System.Drawing.Size(398, 95); this.textBox_info.TabIndex = 2; // // saveFileDialog_tvm802 @@ -865,9 +881,10 @@ private void InitializeComponent() // this.button_en.BackgroundImage = global::eagle2tvm.Properties.Resources.flagge_grossbritannien; this.button_en.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.button_en.Location = new System.Drawing.Point(1334, 8); + this.button_en.Location = new System.Drawing.Point(889, 5); + this.button_en.Margin = new System.Windows.Forms.Padding(2); this.button_en.Name = "button_en"; - this.button_en.Size = new System.Drawing.Size(50, 35); + this.button_en.Size = new System.Drawing.Size(33, 23); this.button_en.TabIndex = 3; this.button_en.UseVisualStyleBackColor = true; this.button_en.Click += new System.EventHandler(this.button_en_Click); @@ -876,27 +893,48 @@ private void InitializeComponent() // this.button_de.BackgroundImage = global::eagle2tvm.Properties.Resources.flagge_deutschland; this.button_de.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.button_de.Location = new System.Drawing.Point(1276, 8); + this.button_de.Location = new System.Drawing.Point(851, 5); + this.button_de.Margin = new System.Windows.Forms.Padding(2); this.button_de.Name = "button_de"; - this.button_de.Size = new System.Drawing.Size(50, 35); - this.button_de.TabIndex = 4; + this.button_de.Size = new System.Drawing.Size(33, 23); + this.button_de.TabIndex = 5; this.button_de.UseVisualStyleBackColor = true; this.button_de.Click += new System.EventHandler(this.button_de_Click); + // + // button_pl + // + this.button_pl.BackgroundImage = global::eagle2tvm.Properties.Resources.flagge_poland; + this.button_pl.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.button_pl.Location = new System.Drawing.Point(812, 5); + this.button_pl.Margin = new System.Windows.Forms.Padding(2); + this.button_pl.Name = "button_pl"; + this.button_pl.Size = new System.Drawing.Size(33, 23); + this.button_pl.TabIndex = 4; + this.button_pl.UseVisualStyleBackColor = true; + this.button_pl.Click += new System.EventHandler(this.button_pl_Click); + // + // openUniversalFiles + // + this.openUniversalFiles.Filter = "Altium txt (*.txt)|*.txt|Altium CSV (*.csv)|*.csv|OrCad PnP (*.pnp)|*.pnp|All Fil" + + "es (*.*)|*.*"; // // Form1 // - this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1400, 1078); + this.ClientSize = new System.Drawing.Size(933, 701); this.Controls.Add(this.button_de); this.Controls.Add(this.button_en); + this.Controls.Add(this.button_pl); this.Controls.Add(this.textBox_info); this.Controls.Add(this.textBox_status); this.Controls.Add(this.tabControl1); - this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.Name = "Form1"; - this.Text = "Eagle mnt/mnb to TVM802 Converter V1.12"; + this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Eagle mnt/mnb to TVM802 Converter V1.13"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); + this.Load += new System.EventHandler(this.Form1_Load); this.tabControl1.ResumeLayout(false); this.tabPage_loadfiles.ResumeLayout(false); this.tabPage_loadfiles.PerformLayout(); @@ -964,6 +1002,7 @@ private void InitializeComponent() private System.Windows.Forms.Label label8; private System.Windows.Forms.Button button_en; private System.Windows.Forms.Button button_de; + private System.Windows.Forms.Button button_pl; private System.Windows.Forms.GroupBox groupBox3; private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button_makeTVMfiles; @@ -988,6 +1027,10 @@ private void InitializeComponent() private System.Windows.Forms.Button bt_checkstackT; private System.Windows.Forms.Button bt_checkstackB; private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button_loadaltiumfiles; + private System.Windows.Forms.OpenFileDialog openUniversalFiles; + private System.Windows.Forms.Button button_ConverUnits; + private System.Windows.Forms.Button button_ConvertUnitsT; } } diff --git a/eagle2tvm/eagle2tvm/Form1.cs b/eagle2tvm/eagle2tvm/Form1.cs index cd25d2a..ffdc33b 100755 --- a/eagle2tvm/eagle2tvm/Form1.cs +++ b/eagle2tvm/eagle2tvm/Form1.cs @@ -11,6 +11,7 @@ namespace eagle2tvm public partial class Form1 : Form { eagle egl; + universal_importer altium; stack stk; tvm tvm802; @@ -32,6 +33,7 @@ public Form1() info.cwd = Directory.GetCurrentDirectory(); egl = new eagle(); + altium = new universal_importer(); stk = new stack(); tvm802 = new tvm(); info.Load(); @@ -525,6 +527,12 @@ private void button_en_Click(object sender, EventArgs e) setGUI(); } + private void button_pl_Click(object sender, EventArgs e) + { + info.lang = 2; + setGUI(); + } + DataGridViewComboBoxColumn makeFilledStringDataSource(String [] sa, int anz, String name, String type) { DataTable dt = new DataTable(); @@ -658,12 +666,14 @@ void setGUI() if (info.lang == 0) { + button1.Text = "unused Stacks"; tabPage_loadfiles.Text = "Load/Save PnP Files"; groupBox2.Text = "Load previously generated TVM802 files"; button_loadTVMfiles.Text = "Load TVM802 Files"; groupBox1.Text = "Load original EAGLE files"; label3.Text = "set assignments to Nozzle, Stack, Fiducials etc.\r\nto default values. Load a TVM802 file\r\nfirst to get actual fiducial coordinates."; button_loadeaglefiles.Text = "Load Eagle Files"; + button_loadaltiumfiles.Text = "Load Altium/OrCad/KiCad Files"; tabPage2.Text = "TOP devices"; label7.Text = label8.Text = label9.Text = "Click on the header to sort a column !"; button_printstacklist.Text = button_bdruck.Text = button_tdruck.Text = "Print"; @@ -723,15 +733,88 @@ Now you can reload the TVM802 file here and the fiducial coordinates are kept as they are. "; + } + else if (info.lang==2) { + button1.Text = "Nieużywane podajniki"; + tabPage_loadfiles.Text = "Odczyt/Zapis plików PnP"; + groupBox2.Text = "Wczytaj poprzednio wygenerowane pliki TVM802"; + button_loadTVMfiles.Text = "Wczytaj pliki TVM802"; + groupBox1.Text = "Wczytaj źródłowe pliki EAGLE"; + label3.Text = "Zresetuj przydział dla głowic, podajników,\r\n markerów itp do wartości domyślnych.\r\n Wczytaj najpierw plik TVM802\r\n aby ustalić fizyczne współrzędne markerów."; + button_loadeaglefiles.Text = "Wczytaj pliki Eagle"; + button_loadaltiumfiles.Text = "Wczytaj pliki Altium/OrCad/KiCad"; + tabPage2.Text = "Elementy strony TOP"; + label7.Text = label8.Text = label9.Text = "Kliknij na nagłówku kolumny aby posortować !"; + button_printstacklist.Text = button_bdruck.Text = button_tdruck.Text = "Drukuj"; + button_printusedstacks.Text = "Drukuj używane podajniki"; + tabPage3.Text = "Elementy strony BOTTOM"; + button_loadstacklist.Text = "Wczytaj"; + button_savestack.Text = "Zapis"; + button_makeTVMfiles.Text = "Wygeneruj pliki TVM802"; + button3.Text = "Wygeneruj pliki TVM802\r\nTYLKO dla elementów\r\nobsadzonych na podajnikach/tackach"; + label2.Text = "Nazwa pliku jest automatycznie uzupełniona przez:\r\nTOP-Layer: _tvm802_top.csv\r\nBOTTOM-Layer: _tvm802_bottom.csv\r\n"; + groupBox3.Text = "zapisz pliki TVM802"; + label_usagetop.Text = "Instrukcja:"; + label10.Text = "Zdefiniuj na PCB dwa elementy SMD o nazwach FID1, FID2 (dla strony TOP)\r\n oraz FID3, FID4 (dla strony BOTTOM)\r\n posłużą one jako markery"; + label4.Text = +@" +Listy podajników/tacek są zapisane osobno i mogą być użyte ponownie we wszystkich projektach. + +Orientacja elementów na podajnikach: +---------------------------------------------- +Taśmy z rezystorami i kondensatorami jest dostosowana do formatu TVM802 automatycznie +Taśmy zawierająca elementy w SOT-23 i podobnych: wprowadź orientacje -90 stopni dla danej pozycji listy +Taśmy z diodami są dostosowywane do formatu TVM802 automatycznie + +Orientacja elementów na definiowanych tackach: +---------------------------------------------- +Elementy z dwoma rzędami wyprowadzeń (SO-8 itp): pin #1 powinien być w lewym dolnym rogu układu +Elementy z czterema rzędami wyprowadzeń (QFN, TQFP): pin #1 powinien być w lewym górnym rogu układu +Ogólnie Elementy powinny umieszczone być tak, aby ich oznaczenia były czytelne dla operatora + +Przy zachowaniu tych zasad wszystkie korekcje orientacji będą przeliczone automatycznie zarówno dla strony TOP jak i BOTTOM + +Strona BOTTOM: koordynaty elementów są przeliczone automatycznie. Skrajnie lewy element jest używany jako punkt referencyjny +dla operacji korekcji i otrzymuje współrzędna X=0 po korekcji. Okno statusu pokazuje, który element został wybrany jako referencja +dla tej operacji. Podczas ustawiania markerów przesunięcie to musi zostać dodane do ich pozycji. +Wszystkie pozostałe współrzędne i obroty są przeliczane automatycznie dla obu stron PCB. +"; + label_usage.Text = +@" +1. wprowadź wymagane dane do list podajników/tacek zgodnie z tym, co masz + założone na TVM802 (automat użyje pól ""nazwa"" oraz ""obudowa"") + +2. w programie Eagle: uruchom skrypt ULP ""mountsmd"" - to wygeneruje potrzebne pliki + mnt (TOP) oraz mnb (BOTTOM). + +3. Kliknij ""Wczytaj pliki Eagle"" i wybierz jeden z dwóch plików + (oba pliki zostaną wczytane w jednej operacji) + +4. przejdź do okna list elementów dla strony TOP oraz BOTTOM i wprowadź + swoje ustawienia, lub skożystaj z przycisku AUTO + (przycisk będzie działał, jeśli pola ""nazwa"" oraz ""obudowa"" + będą zawierały te same informacje co te we wczytanych plikach) + +5. ""wygeneruj pliki TVM802"" + +Pozostało wczytać uzyskany plik do oprogramowania TVM802 i ustawić + fizyczne (we współrzednych maszyny) lokacje markerów. + +Przy ponownym wczytaniu pliku zmodyfikowanego przez oprogramowanie TVM802 + pola te pozostaną nietknięte. +"; + } else { + button1.Text = "unbenuten Stacks"; tabPage_loadfiles.Text = "Laden/Speichern PnP Dateien"; groupBox2.Text = "Lade zuvor erstellte TVM802 Dateien"; button_loadTVMfiles.Text = "Lade TVM802 Dateien"; groupBox1.Text = "Lade EAGLE Originaldateien"; label3.Text = "Zuordnungen zu Nozzle, Stack, Fiducials usw. \r\nwerden auf Defaultwerte gesetzt. Evt. zuvor \r\neine TVM802 Datei laden um die Fiducial Werte \r\nzu übernehmen."; button_loadeaglefiles.Text = "Lade Eagle Dateien"; + button_loadaltiumfiles.Text = "Lade Altium/OrCad/KiCad Dateien"; tabPage2.Text = "TOP Bauteile"; label7.Text = label8.Text = label9.Text = "zum Sortieren den Spaltenkopf anklicken !"; button_printstacklist.Text = button_bdruck.Text = button_tdruck.Text = "Drucken"; @@ -873,5 +956,76 @@ private void button1_Click(object sender, EventArgs e) MessageBox.Show(s); } } + + private void button_loadaltiumfiles_Click(object sender, EventArgs e) + { + button_ConverUnits.Enabled = true; + button_ConvertUnitsT.Enabled = true; + openUniversalFiles.InitialDirectory = info.LastDir; + openUniversalFiles.FileName = info.LastFile; + DialogResult dr = openUniversalFiles.ShowDialog(); + if (dr == DialogResult.OK) + { + info.LastFile = Path.GetFileName(openUniversalFiles.FileName); + info.LastDir = Path.GetDirectoryName(openUniversalFiles.FileName); + int ret = altium.Load(); + if (altium.units == 1) + { + MessageBox.Show("TVM802 Software understands only METRIC units\n\r Imperial units were detected!\n\r Please convert them before saving output file.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Information); + button_ConverUnits.Enabled = true; + button_ConvertUnitsT.Enabled = true; + } + else + { + button_ConverUnits.Enabled = false; + button_ConvertUnitsT.Enabled = false; + } + + if (ret == 1) + MessageBox.Show(language.str(0) + info.error, language.str(1), MessageBoxButtons.OK, MessageBoxIcon.Stop); + if (ret == 2) + MessageBox.Show(language.str(0) + info.error, language.str(2), MessageBoxButtons.OK, MessageBoxIcon.Stop); + egl.bdevlist.Clear(); + egl.tdevlist.Clear(); + foreach (device dev in altium.bdevlist) + { + egl.bdevlist.Add(dev); + } + foreach (device dev in altium.tdevlist) + { + egl.tdevlist.Add(dev); + } + + } + + } + + private void button_ConverUnits_Click(object sender, EventArgs e) + { + foreach(device dev in egl.bdevlist) + { + dev.x = Math.Round(dev.x * 0.0254,3); + dev.y = Math.Round(dev.y * 0.0254,3); + } + foreach (device dev in egl.tdevlist) + { + dev.x = Math.Round(dev.x * 0.0254,3); + dev.y = Math.Round(dev.y * 0.0254,3); + } + button_ConverUnits.Enabled = false; + button_ConvertUnitsT.Enabled = false; + bdataGridView_devices.Refresh(); + + } + + private void tabPage6_Click(object sender, EventArgs e) + { + + } + + private void Form1_Load(object sender, EventArgs e) + { + + } } } diff --git a/eagle2tvm/eagle2tvm/Form1.resx b/eagle2tvm/eagle2tvm/Form1.resx index e0c8150..802b3ce 100755 --- a/eagle2tvm/eagle2tvm/Form1.resx +++ b/eagle2tvm/eagle2tvm/Form1.resx @@ -117,27 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 1. Stack/Tray Liste entsprechend der Bauteilebestückung der TVM802 ausfüllen - (die automatische Zuordnung zum Layout erfolgt über "name" und "footprint") - -2. in EAGLE: das ULP mountsmd ausführen, das erzeugt die mnt und mnb Dateien - -3. "Lade Eagle Dateien" klicken und mnt oder mnb auswählen (es werden dann - automatisch beide geladen) - -4. im Fenster "TOP-" oder "BOTTOM Bauteile" alle Einstellungen vornehmen, oder - Auto-Stack klicken um automatisch zuzuweisen (dazu müssen Name und - Footprint der Platine den Namen in der Stackliste entsprechen !) - -5. "Erstelle TVM802 Dateien" klicken um alles zu speichern - - -Mit der TVM802 die Passermarken (Fiducials) einstellen und speichern. -Ab jetzt kann die TVM802 Datei hier geladen und bearbeitet werden und -alle Einstellungen inkl. Passermarken bleiben erhalten. - - Stack/Tray Liste: wird unabhängig gespeichert und kann für alle Platinen benutzt werden. @@ -161,6 +140,27 @@ BOTTOM-Seite: Die Koordinaten werden automatisch gespiegelt. Dabei wird das dann auf X=0 gesetzt (Spiegelachse). Bei der Angabe der Fiducial-Positionen ist der Offset dieses Bauteils hinzuzurechnen. Im Statusfenster unten steht welches Bauteil als Spiegelachse verwendet wurde. Alle weiteren Koordinaten und Rotationen werden für den Bottom-Layer automatisch berechnet. + + + 1. Stack/Tray Liste entsprechend der Bauteilebestückung der TVM802 ausfüllen + (die automatische Zuordnung zum Layout erfolgt über "name" und "footprint") + +2. in EAGLE: das ULP mountsmd ausführen, das erzeugt die mnt und mnb Dateien + +3. "Lade Eagle Dateien" klicken und mnt oder mnb auswählen (es werden dann + automatisch beide geladen) + +4. im Fenster "TOP-" oder "BOTTOM Bauteile" alle Einstellungen vornehmen, oder + Auto-Stack klicken um automatisch zuzuweisen (dazu müssen Name und + Footprint der Platine den Namen in der Stackliste entsprechen !) + +5. "Erstelle TVM802 Dateien" klicken um alles zu speichern + + +Mit der TVM802 die Passermarken (Fiducials) einstellen und speichern. +Ab jetzt kann die TVM802 Datei hier geladen und bearbeitet werden und +alle Einstellungen inkl. Passermarken bleiben erhalten. + 17, 17 @@ -186,4 +186,7 @@ Rotationen werden für den Bottom-Layer automatisch berechnet. 1119, 17 + + 1296, 17 + \ No newline at end of file diff --git a/eagle2tvm/eagle2tvm/Properties/Resources.Designer.cs b/eagle2tvm/eagle2tvm/Properties/Resources.Designer.cs index 4820ec2..8a9f335 100755 --- a/eagle2tvm/eagle2tvm/Properties/Resources.Designer.cs +++ b/eagle2tvm/eagle2tvm/Properties/Resources.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// Ten kod został wygenerowany przez narzędzie. +// Wersja wykonawcza:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli +// kod zostanie ponownie wygenerowany. // //------------------------------------------------------------------------------ @@ -13,13 +13,13 @@ namespace eagle2tvm.Properties { /// - /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// Klasa zasobu wymagająca zdefiniowania typu do wyszukiwania zlokalizowanych ciągów itd. /// - // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert - // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. - // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen - // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + // Ta klasa została automatycznie wygenerowana za pomocą klasy StronglyTypedResourceBuilder + // przez narzędzie, takie jak ResGen lub Visual Studio. + // Aby dodać lub usunąć składową, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen + // z opcją /str lub ponownie utwórz projekt VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -33,7 +33,7 @@ internal Resources() { } /// - /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// Zwraca buforowane wystąpienie ResourceManager używane przez tę klasę. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal Resources() { } /// - /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle - /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich + /// przypadków przeszukiwania zasobów za pomocą tej klasy zasobów wymagającej zdefiniowania typu. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal Resources() { } /// - /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// Wyszukuje zlokalizowany zasób typu System.Drawing.Bitmap. /// internal static System.Drawing.Bitmap flagge_deutschland { get { @@ -71,7 +71,7 @@ internal static System.Drawing.Bitmap flagge_deutschland { } /// - /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// Wyszukuje zlokalizowany zasób typu System.Drawing.Bitmap. /// internal static System.Drawing.Bitmap flagge_grossbritannien { get { @@ -81,7 +81,17 @@ internal static System.Drawing.Bitmap flagge_grossbritannien { } /// - /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// Wyszukuje zlokalizowany zasób typu System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap flagge_poland { + get { + object obj = ResourceManager.GetObject("flagge_poland", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Wyszukuje zlokalizowany zasób typu System.Drawing.Bitmap. /// internal static System.Drawing.Bitmap splash { get { diff --git a/eagle2tvm/eagle2tvm/Properties/Resources.resx b/eagle2tvm/eagle2tvm/Properties/Resources.resx index 7f840d7..00e164c 100755 --- a/eagle2tvm/eagle2tvm/Properties/Resources.resx +++ b/eagle2tvm/eagle2tvm/Properties/Resources.resx @@ -112,18 +112,21 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + flagge-deutschland.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a flagge-grossbritannien.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + flagge-poland.gif;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + splash.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/eagle2tvm/eagle2tvm/Properties/flagge-poland.gif b/eagle2tvm/eagle2tvm/Properties/flagge-poland.gif new file mode 100644 index 0000000..635374f Binary files /dev/null and b/eagle2tvm/eagle2tvm/Properties/flagge-poland.gif differ diff --git a/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.exe b/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.exe new file mode 100644 index 0000000..b19b281 Binary files /dev/null and b/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.exe differ diff --git a/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.exe.config b/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.exe.config new file mode 100644 index 0000000..343984d --- /dev/null +++ b/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.exe.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.pdb b/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.pdb new file mode 100644 index 0000000..8701660 Binary files /dev/null and b/eagle2tvm/eagle2tvm/bin/Debug/eagle2tvm.pdb differ diff --git a/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.exe b/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.exe index 3f66093..626ddba 100755 Binary files a/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.exe and b/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.exe differ diff --git a/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.exe.config b/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.exe.config new file mode 100644 index 0000000..343984d --- /dev/null +++ b/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.exe.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.pdb b/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.pdb new file mode 100644 index 0000000..4bffefb Binary files /dev/null and b/eagle2tvm/eagle2tvm/bin/Release/eagle2tvm.pdb differ diff --git a/eagle2tvm/eagle2tvm/eagle.cs b/eagle2tvm/eagle2tvm/eagle.cs index 8abda5a..0f717f1 100755 --- a/eagle2tvm/eagle2tvm/eagle.cs +++ b/eagle2tvm/eagle2tvm/eagle.cs @@ -22,7 +22,8 @@ bool isInList(device dev, BindingListlst) public int Load() { String filename = info.LastDir + "//" + info.LastFile; - + // input data from Eagle mnt/mnb files is without any headers and is organised as: + // designator x-coord y-coord rotation value footprint String tfilename = filename.Substring(0,filename.Length - 1) + "t"; String bfilename = filename.Substring(0,filename.Length - 1) + "b"; @@ -208,10 +209,11 @@ class device public double height { get; set; } public int speed { get; set; } public String vision { get; set; } + public String check { get; set; } public bool pressure { get; set; } public device(String loc, String xi, String yi, String r, String n, String f, - String noz = "1", String sn = "L???", String h = "0.5", String spd = "50", String vis = "None", String prs = "True") + String noz = "1", String sn = "L???", String h = "0.5", String spd = "50", String vis = "None", String prs = "True", String check = "Pressure") { location = loc.Trim(); name = n.Trim(); diff --git a/eagle2tvm/eagle2tvm/eagle2tvm.csproj b/eagle2tvm/eagle2tvm/eagle2tvm.csproj index 4a48802..302ba8a 100755 --- a/eagle2tvm/eagle2tvm/eagle2tvm.csproj +++ b/eagle2tvm/eagle2tvm/eagle2tvm.csproj @@ -67,6 +67,7 @@ + Form1.cs Designer @@ -106,6 +107,9 @@ + + +