diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-09-14 19:18:47 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-09-14 19:18:47 +0300 |
commit | 4cf6be8c97647e07670c250e548c26f7e05f85c9 (patch) | |
tree | 8df43e134c960dbdc22b58cd037a2be48f10fcf4 /UVtools.GUI | |
parent | 9a3d58f4f0c56c60b333629a9be945f54ce7a72b (diff) |
Fixes LGS and dialog
* (Improvement) When unable to convert a format from SL1 to other, advice users to check used printer on PrusaSlicer
* (Improvement) Information on "Install profiles on PrusaSlicer" (#60)
* (Fix) LGS: Change resolution tool was defining wrong Y
Diffstat (limited to 'UVtools.GUI')
-rw-r--r-- | UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs | 331 | ||||
-rw-r--r-- | UVtools.GUI/Forms/FrmInstallPEProfiles.resx | 9 | ||||
-rw-r--r-- | UVtools.GUI/FrmMain.cs | 8 |
3 files changed, 175 insertions, 173 deletions
diff --git a/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs b/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs index e798388..55d3b68 100644 --- a/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs +++ b/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs @@ -34,39 +34,39 @@ this.lvPrinterProfiles = new System.Windows.Forms.ListView(); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); - this.tsPrintProfiles = new System.Windows.Forms.ToolStrip(); this.tsPrinterProfiles = new System.Windows.Forms.ToolStrip(); - this.panel3 = new System.Windows.Forms.Panel(); + this.btnPrinterProfilesUnselectAll = new System.Windows.Forms.ToolStripButton(); + this.btnPrinterProfilesSelectAll = new System.Windows.Forms.ToolStripButton(); + this.lbPrinterProfilesCount = new System.Windows.Forms.ToolStripLabel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.tsPrintProfiles = new System.Windows.Forms.ToolStrip(); this.btnPrintProfilesUnselectAll = new System.Windows.Forms.ToolStripButton(); - this.btnPrintProfilesSelectAll = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.btnPrintProfilesSelectAll = new System.Windows.Forms.ToolStripButton(); this.lbPrintProfilesCount = new System.Windows.Forms.ToolStripLabel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label4 = new System.Windows.Forms.Label(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel4 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.panel5 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); this.panel6 = new System.Windows.Forms.Panel(); - this.btnPrinterProfilesUnselectAll = new System.Windows.Forms.ToolStripButton(); - this.btnPrinterProfilesSelectAll = new System.Windows.Forms.ToolStripButton(); - this.lbPrinterProfilesCount = new System.Windows.Forms.ToolStripLabel(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.label4 = new System.Windows.Forms.Label(); + this.panel5 = new System.Windows.Forms.Panel(); + this.label2 = new System.Windows.Forms.Label(); this.panel7 = new System.Windows.Forms.Panel(); + this.btnRefreshProfiles = new System.Windows.Forms.Button(); this.btnInstall = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); - this.btnRefreshProfiles = new System.Windows.Forms.Button(); this.tableLayoutPanel1.SuspendLayout(); - this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); - this.tsPrintProfiles.SuspendLayout(); this.tsPrinterProfiles.SuspendLayout(); + this.panel1.SuspendLayout(); + this.tsPrintProfiles.SuspendLayout(); this.panel3.SuspendLayout(); - this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); + this.groupBox1.SuspendLayout(); this.panel7.SuspendLayout(); this.SuspendLayout(); // @@ -80,9 +80,9 @@ this.lvPrintProfiles.GridLines = true; this.lvPrintProfiles.HideSelection = false; this.lvPrintProfiles.Location = new System.Drawing.Point(0, 25); - this.lvPrintProfiles.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.lvPrintProfiles.Margin = new System.Windows.Forms.Padding(4); this.lvPrintProfiles.Name = "lvPrintProfiles"; - this.lvPrintProfiles.Size = new System.Drawing.Size(498, 462); + this.lvPrintProfiles.Size = new System.Drawing.Size(498, 441); this.lvPrintProfiles.Sorting = System.Windows.Forms.SortOrder.Ascending; this.lvPrintProfiles.TabIndex = 0; this.lvPrintProfiles.UseCompatibleStateImageBehavior = false; @@ -105,7 +105,7 @@ this.lvPrinterProfiles.Location = new System.Drawing.Point(0, 25); this.lvPrinterProfiles.Margin = new System.Windows.Forms.Padding(4); this.lvPrinterProfiles.Name = "lvPrinterProfiles"; - this.lvPrinterProfiles.Size = new System.Drawing.Size(498, 462); + this.lvPrinterProfiles.Size = new System.Drawing.Size(498, 441); this.lvPrinterProfiles.Sorting = System.Windows.Forms.SortOrder.Ascending; this.lvPrinterProfiles.TabIndex = 1; this.lvPrinterProfiles.UseCompatibleStateImageBehavior = false; @@ -124,23 +124,13 @@ this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 0); this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 112); + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 133); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1008, 493); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1008, 472); this.tableLayoutPanel1.TabIndex = 2; // - // panel1 - // - this.panel1.Controls.Add(this.lvPrintProfiles); - this.panel1.Controls.Add(this.tsPrintProfiles); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(3, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(498, 487); - this.panel1.TabIndex = 3; - // // panel2 // this.panel2.Controls.Add(this.lvPrinterProfiles); @@ -148,23 +138,9 @@ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(507, 3); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(498, 487); + this.panel2.Size = new System.Drawing.Size(498, 466); this.panel2.TabIndex = 4; // - // tsPrintProfiles - // - this.tsPrintProfiles.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.tsPrintProfiles.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.btnPrintProfilesUnselectAll, - this.toolStripSeparator1, - this.btnPrintProfilesSelectAll, - this.lbPrintProfilesCount}); - this.tsPrintProfiles.Location = new System.Drawing.Point(0, 0); - this.tsPrintProfiles.Name = "tsPrintProfiles"; - this.tsPrintProfiles.Size = new System.Drawing.Size(498, 25); - this.tsPrintProfiles.TabIndex = 0; - this.tsPrintProfiles.Text = "toolStrip1"; - // // tsPrinterProfiles // this.tsPrinterProfiles.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; @@ -178,15 +154,54 @@ this.tsPrinterProfiles.TabIndex = 1; this.tsPrinterProfiles.Text = "toolStrip2"; // - // panel3 + // btnPrinterProfilesUnselectAll // - this.panel3.Controls.Add(this.groupBox2); - this.panel3.Controls.Add(this.groupBox1); - this.panel3.Dock = System.Windows.Forms.DockStyle.Top; - this.panel3.Location = new System.Drawing.Point(0, 0); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(1008, 112); - this.panel3.TabIndex = 3; + this.btnPrinterProfilesUnselectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_unmarked_16x16; + this.btnPrinterProfilesUnselectAll.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btnPrinterProfilesUnselectAll.Name = "btnPrinterProfilesUnselectAll"; + this.btnPrinterProfilesUnselectAll.Size = new System.Drawing.Size(89, 22); + this.btnPrinterProfilesUnselectAll.Text = "Unselect All"; + this.btnPrinterProfilesUnselectAll.Click += new System.EventHandler(this.EventClick); + // + // btnPrinterProfilesSelectAll + // + this.btnPrinterProfilesSelectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_marked_16x16; + this.btnPrinterProfilesSelectAll.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btnPrinterProfilesSelectAll.Name = "btnPrinterProfilesSelectAll"; + this.btnPrinterProfilesSelectAll.Size = new System.Drawing.Size(75, 22); + this.btnPrinterProfilesSelectAll.Text = "Select All"; + this.btnPrinterProfilesSelectAll.Click += new System.EventHandler(this.EventClick); + // + // lbPrinterProfilesCount + // + this.lbPrinterProfilesCount.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.lbPrinterProfilesCount.Name = "lbPrinterProfilesCount"; + this.lbPrinterProfilesCount.Size = new System.Drawing.Size(36, 22); + this.lbPrinterProfilesCount.Text = "Items"; + // + // panel1 + // + this.panel1.Controls.Add(this.lvPrintProfiles); + this.panel1.Controls.Add(this.tsPrintProfiles); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(3, 3); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(498, 466); + this.panel1.TabIndex = 3; + // + // tsPrintProfiles + // + this.tsPrintProfiles.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.tsPrintProfiles.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.btnPrintProfilesUnselectAll, + this.toolStripSeparator1, + this.btnPrintProfilesSelectAll, + this.lbPrintProfilesCount}); + this.tsPrintProfiles.Location = new System.Drawing.Point(0, 0); + this.tsPrintProfiles.Name = "tsPrintProfiles"; + this.tsPrintProfiles.Size = new System.Drawing.Size(498, 25); + this.tsPrintProfiles.TabIndex = 0; + this.tsPrintProfiles.Text = "toolStrip1"; // // btnPrintProfilesUnselectAll // @@ -197,6 +212,11 @@ this.btnPrintProfilesUnselectAll.Text = "Unselect All"; this.btnPrintProfilesUnselectAll.Click += new System.EventHandler(this.EventClick); // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // // btnPrintProfilesSelectAll // this.btnPrintProfilesSelectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_marked_16x16; @@ -206,11 +226,6 @@ this.btnPrintProfilesSelectAll.Text = "Select All"; this.btnPrintProfilesSelectAll.Click += new System.EventHandler(this.EventClick); // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); - // // lbPrintProfilesCount // this.lbPrintProfilesCount.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; @@ -218,6 +233,53 @@ this.lbPrintProfilesCount.Size = new System.Drawing.Size(36, 22); this.lbPrintProfilesCount.Text = "Items"; // + // panel3 + // + this.panel3.Controls.Add(this.groupBox2); + this.panel3.Controls.Add(this.groupBox1); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Location = new System.Drawing.Point(0, 0); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1008, 133); + this.panel3.TabIndex = 3; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.label4); + this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox2.Location = new System.Drawing.Point(379, 0); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(629, 133); + this.groupBox2.TabIndex = 7; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Information"; + // + // label4 + // + this.label4.Dock = System.Windows.Forms.DockStyle.Fill; + this.label4.Location = new System.Drawing.Point(3, 20); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(623, 110); + this.label4.TabIndex = 2; + this.label4.Text = resources.GetString("label4.Text"); + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.panel4); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Controls.Add(this.panel6); + this.groupBox1.Controls.Add(this.panel5); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; + this.groupBox1.Location = new System.Drawing.Point(0, 0); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(379, 133); + this.groupBox1.TabIndex = 6; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Legend"; + // // panel4 // this.panel4.BackColor = System.Drawing.Color.Black; @@ -227,33 +289,6 @@ this.panel4.Size = new System.Drawing.Size(18, 18); this.panel4.TabIndex = 0; // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(35, 76); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(317, 18); - this.label1.TabIndex = 1; - this.label1.Text = "Uninstalled Profile - Not present on PrusaSlicer"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(36, 28); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(322, 18); - this.label2.TabIndex = 3; - this.label2.Text = "Installed Profile - Files match, no need to update"; - // - // panel5 - // - this.panel5.BackColor = System.Drawing.Color.Green; - this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel5.Location = new System.Drawing.Point(12, 28); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(18, 18); - this.panel5.TabIndex = 2; - // // label3 // this.label3.AutoSize = true; @@ -263,6 +298,15 @@ this.label3.TabIndex = 5; this.label3.Text = "Installed Profile - Files mismatch, update available"; // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(35, 76); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(317, 18); + this.label1.TabIndex = 1; + this.label1.Text = "Uninstalled Profile - Not present on PrusaSlicer"; + // // panel6 // this.panel6.BackColor = System.Drawing.Color.Red; @@ -272,66 +316,23 @@ this.panel6.Size = new System.Drawing.Size(18, 18); this.panel6.TabIndex = 4; // - // btnPrinterProfilesUnselectAll - // - this.btnPrinterProfilesUnselectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_unmarked_16x16; - this.btnPrinterProfilesUnselectAll.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnPrinterProfilesUnselectAll.Name = "btnPrinterProfilesUnselectAll"; - this.btnPrinterProfilesUnselectAll.Size = new System.Drawing.Size(89, 22); - this.btnPrinterProfilesUnselectAll.Text = "Unselect All"; - this.btnPrinterProfilesUnselectAll.Click += new System.EventHandler(this.EventClick); - // - // btnPrinterProfilesSelectAll - // - this.btnPrinterProfilesSelectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_marked_16x16; - this.btnPrinterProfilesSelectAll.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnPrinterProfilesSelectAll.Name = "btnPrinterProfilesSelectAll"; - this.btnPrinterProfilesSelectAll.Size = new System.Drawing.Size(75, 22); - this.btnPrinterProfilesSelectAll.Text = "Select All"; - this.btnPrinterProfilesSelectAll.Click += new System.EventHandler(this.EventClick); - // - // lbPrinterProfilesCount - // - this.lbPrinterProfilesCount.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.lbPrinterProfilesCount.Name = "lbPrinterProfilesCount"; - this.lbPrinterProfilesCount.Size = new System.Drawing.Size(36, 22); - this.lbPrinterProfilesCount.Text = "Items"; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.panel4); - this.groupBox1.Controls.Add(this.label3); - this.groupBox1.Controls.Add(this.label1); - this.groupBox1.Controls.Add(this.panel6); - this.groupBox1.Controls.Add(this.panel5); - this.groupBox1.Controls.Add(this.label2); - this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; - this.groupBox1.Location = new System.Drawing.Point(0, 0); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(379, 112); - this.groupBox1.TabIndex = 6; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Legend"; - // - // groupBox2 + // panel5 // - this.groupBox2.Controls.Add(this.label4); - this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBox2.Location = new System.Drawing.Point(379, 0); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(629, 112); - this.groupBox2.TabIndex = 7; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Information"; + this.panel5.BackColor = System.Drawing.Color.Green; + this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel5.Location = new System.Drawing.Point(12, 28); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(18, 18); + this.panel5.TabIndex = 2; // - // label4 + // label2 // - this.label4.Dock = System.Windows.Forms.DockStyle.Fill; - this.label4.Location = new System.Drawing.Point(3, 20); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(623, 89); - this.label4.TabIndex = 2; - this.label4.Text = resources.GetString("label4.Text"); + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(36, 28); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(322, 18); + this.label2.TabIndex = 3; + this.label2.Text = "Installed Profile - Files match, no need to update"; // // panel7 // @@ -344,6 +345,21 @@ this.panel7.Size = new System.Drawing.Size(1008, 76); this.panel7.TabIndex = 4; // + // btnRefreshProfiles + // + this.btnRefreshProfiles.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnRefreshProfiles.Image = global::UVtools.GUI.Properties.Resources.refresh_16x16; + this.btnRefreshProfiles.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnRefreshProfiles.Location = new System.Drawing.Point(11, 15); + this.btnRefreshProfiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnRefreshProfiles.Name = "btnRefreshProfiles"; + this.btnRefreshProfiles.Size = new System.Drawing.Size(173, 48); + this.btnRefreshProfiles.TabIndex = 9; + this.btnRefreshProfiles.Text = "&Refresh Profiles"; + this.btnRefreshProfiles.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btnRefreshProfiles.UseVisualStyleBackColor = true; + this.btnRefreshProfiles.Click += new System.EventHandler(this.EventClick); + // // btnInstall // this.btnInstall.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); @@ -373,21 +389,6 @@ this.btnCancel.Text = "&Cancel"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // btnRefreshProfiles - // - this.btnRefreshProfiles.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnRefreshProfiles.Image = global::UVtools.GUI.Properties.Resources.refresh_16x16; - this.btnRefreshProfiles.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnRefreshProfiles.Location = new System.Drawing.Point(11, 15); - this.btnRefreshProfiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.btnRefreshProfiles.Name = "btnRefreshProfiles"; - this.btnRefreshProfiles.Size = new System.Drawing.Size(173, 48); - this.btnRefreshProfiles.TabIndex = 9; - this.btnRefreshProfiles.Text = "&Refresh Profiles"; - this.btnRefreshProfiles.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.btnRefreshProfiles.UseVisualStyleBackColor = true; - this.btnRefreshProfiles.Click += new System.EventHandler(this.EventClick); - // // FrmInstallPEProfiles // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F); @@ -398,25 +399,25 @@ this.Controls.Add(this.panel7); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.Margin = new System.Windows.Forms.Padding(4); this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(1024, 360); this.Name = "FrmInstallPEProfiles"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Install profiles into PrusaSlicer"; this.tableLayoutPanel1.ResumeLayout(false); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); - this.tsPrintProfiles.ResumeLayout(false); - this.tsPrintProfiles.PerformLayout(); this.tsPrinterProfiles.ResumeLayout(false); this.tsPrinterProfiles.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.tsPrintProfiles.ResumeLayout(false); + this.tsPrintProfiles.PerformLayout(); this.panel3.ResumeLayout(false); + this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); - this.groupBox2.ResumeLayout(false); this.panel7.ResumeLayout(false); this.ResumeLayout(false); diff --git a/UVtools.GUI/Forms/FrmInstallPEProfiles.resx b/UVtools.GUI/Forms/FrmInstallPEProfiles.resx index f9082a6..fd20fd7 100644 --- a/UVtools.GUI/Forms/FrmInstallPEProfiles.resx +++ b/UVtools.GUI/Forms/FrmInstallPEProfiles.resx @@ -117,21 +117,16 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <metadata name="tsPrintProfiles.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>17, 17</value> - </metadata> <metadata name="tsPrinterProfiles.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>122, 17</value> </metadata> <metadata name="tsPrintProfiles.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> - <metadata name="tsPrinterProfiles.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>122, 17</value> - </metadata> <data name="label4.Text" xml:space="preserve"> <value>This will install and overwrite all checked profiles into PrusaSlicer. -NOTE: If you modify a base profile and save under PrusaSlicer, this tool will be mark it as "update available" since it got modified, in those cases we always recommend to never update base profiles, instead clone it and give different name as your own profile.</value> +On PrusaSlicer access "Printer" -> "Notes" to modify base settings for target format. +NOTE: If you modify a base profile and save under PrusaSlicer, this tool will be mark it as "update available" since it got modified, in those cases we always recommend to never update base profiles, instead clone it and give different name as your own profile.</value> </data> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> diff --git a/UVtools.GUI/FrmMain.cs b/UVtools.GUI/FrmMain.cs index 2972c94..bb76ccf 100644 --- a/UVtools.GUI/FrmMain.cs +++ b/UVtools.GUI/FrmMain.cs @@ -1428,7 +1428,13 @@ namespace UVtools.GUI } catch (Exception ex) { - MessageBox.Show($"Convertion was not successful! Maybe not implemented...\n{ex.Message}", + string extraMessage = string.Empty; + if (SlicerFile.FileFullPath.EndsWith(".sl1")) + { + extraMessage = "Note: When converting from SL1 make sure you have the correct printer selected, you MUST use a UVtools base printer.\n" + + "Go to \"Help\" -> \"Install profiles into PrusaSlicer\" to install printers.\n"; + } + MessageBox.Show($"Convertion was not successful! Maybe not implemented...\n{extraMessage}{ex.Message}", "Convertion unsuccessful", MessageBoxButtons.OK, MessageBoxIcon.Error); } finally |