diff --git a/LaserGRBL/Grafica/save.png b/LaserGRBL/Grafica/save.png new file mode 100644 index 00000000..851c7d31 Binary files /dev/null and b/LaserGRBL/Grafica/save.png differ diff --git a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.Designer.cs b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.Designer.cs index 240e033e..c25e2e74 100644 --- a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.Designer.cs +++ b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.Designer.cs @@ -51,254 +51,315 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SvgToGCodeForm)); - this.tableLayoutPanel9 = new System.Windows.Forms.TableLayoutPanel(); - this.GbSpeed = new System.Windows.Forms.GroupBox(); - this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel(); - this.LblBorderTracing = new System.Windows.Forms.Label(); - this.LblBorderTracingmm = new System.Windows.Forms.Label(); - this.IIBorderTracing = new LaserGRBL.UserControls.NumericInput.IntegerInputRanged(); - this.BtnPSHelper = new LaserGRBL.UserControls.ImageButton(); - this.GbLaser = new System.Windows.Forms.GroupBox(); - this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel(); - this.BtnModulationInfo = new LaserGRBL.UserControls.ImageButton(); - this.LblSmin = new System.Windows.Forms.Label(); - this.IIMinPower = new LaserGRBL.UserControls.NumericInput.IntegerInputRanged(); - this.label18 = new System.Windows.Forms.Label(); - this.BtnOnOffInfo = new LaserGRBL.UserControls.ImageButton(); - this.CBLaserON = new System.Windows.Forms.ComboBox(); - this.LblSmax = new System.Windows.Forms.Label(); - this.IIMaxPower = new LaserGRBL.UserControls.NumericInput.IntegerInputRanged(); - this.LblMinPerc = new System.Windows.Forms.Label(); - this.LblMaxPerc = new System.Windows.Forms.Label(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.BtnCancel = new System.Windows.Forms.Button(); - this.BtnCreate = new System.Windows.Forms.Button(); - this.TT = new System.Windows.Forms.ToolTip(this.components); - this.tableLayoutPanel9.SuspendLayout(); - this.GbSpeed.SuspendLayout(); - this.tableLayoutPanel6.SuspendLayout(); - this.GbLaser.SuspendLayout(); - this.tableLayoutPanel7.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); - this.SuspendLayout(); - // - // tableLayoutPanel9 - // - resources.ApplyResources(this.tableLayoutPanel9, "tableLayoutPanel9"); - this.tableLayoutPanel9.Controls.Add(this.GbSpeed, 0, 0); - this.tableLayoutPanel9.Controls.Add(this.GbLaser, 0, 1); - this.tableLayoutPanel9.Controls.Add(this.tableLayoutPanel1, 0, 3); - this.tableLayoutPanel9.Name = "tableLayoutPanel9"; - // - // GbSpeed - // - resources.ApplyResources(this.GbSpeed, "GbSpeed"); - this.GbSpeed.Controls.Add(this.tableLayoutPanel6); - this.GbSpeed.Name = "GbSpeed"; - this.GbSpeed.TabStop = false; - // - // tableLayoutPanel6 - // - resources.ApplyResources(this.tableLayoutPanel6, "tableLayoutPanel6"); - this.tableLayoutPanel6.Controls.Add(this.LblBorderTracing, 0, 0); - this.tableLayoutPanel6.Controls.Add(this.LblBorderTracingmm, 2, 0); - this.tableLayoutPanel6.Controls.Add(this.IIBorderTracing, 1, 0); - this.tableLayoutPanel6.Controls.Add(this.BtnPSHelper, 3, 0); - this.tableLayoutPanel6.Name = "tableLayoutPanel6"; - // - // LblBorderTracing - // - resources.ApplyResources(this.LblBorderTracing, "LblBorderTracing"); - this.LblBorderTracing.Name = "LblBorderTracing"; - // - // LblBorderTracingmm - // - resources.ApplyResources(this.LblBorderTracingmm, "LblBorderTracingmm"); - this.LblBorderTracingmm.Name = "LblBorderTracingmm"; - // - // IIBorderTracing - // - resources.ApplyResources(this.IIBorderTracing, "IIBorderTracing"); - this.IIBorderTracing.CurrentValue = 1000; - this.IIBorderTracing.ForcedText = null; - this.IIBorderTracing.ForceMinMax = false; - this.IIBorderTracing.MaxValue = 4000; - this.IIBorderTracing.MinValue = 1; - this.IIBorderTracing.Name = "IIBorderTracing"; - this.IIBorderTracing.NormalBorderColor = System.Drawing.SystemColors.ActiveBorder; - this.IIBorderTracing.CurrentValueChanged += new LaserGRBL.UserControls.NumericInput.IntegerInputBase.CurrentValueChangedEventHandler(this.IIBorderTracingCurrentValueChanged); - // - // BtnPSHelper - // - this.BtnPSHelper.AltImage = null; - resources.ApplyResources(this.BtnPSHelper, "BtnPSHelper"); - this.BtnPSHelper.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.BtnPSHelper.Caption = null; - this.BtnPSHelper.Coloration = System.Drawing.Color.Empty; - this.BtnPSHelper.Image = ((System.Drawing.Image)(resources.GetObject("BtnPSHelper.Image"))); - this.BtnPSHelper.Name = "BtnPSHelper"; - this.BtnPSHelper.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; - this.TT.SetToolTip(this.BtnPSHelper, resources.GetString("BtnPSHelper.ToolTip")); - this.BtnPSHelper.UseAltImage = false; - this.BtnPSHelper.Click += new System.EventHandler(this.BtnPSHelper_Click); - // - // GbLaser - // - resources.ApplyResources(this.GbLaser, "GbLaser"); - this.GbLaser.Controls.Add(this.tableLayoutPanel7); - this.GbLaser.Name = "GbLaser"; - this.GbLaser.TabStop = false; - // - // tableLayoutPanel7 - // - resources.ApplyResources(this.tableLayoutPanel7, "tableLayoutPanel7"); - this.tableLayoutPanel7.Controls.Add(this.BtnModulationInfo, 3, 1); - this.tableLayoutPanel7.Controls.Add(this.LblSmin, 0, 1); - this.tableLayoutPanel7.Controls.Add(this.IIMinPower, 1, 1); - this.tableLayoutPanel7.Controls.Add(this.label18, 0, 0); - this.tableLayoutPanel7.Controls.Add(this.BtnOnOffInfo, 3, 0); - this.tableLayoutPanel7.Controls.Add(this.CBLaserON, 1, 0); - this.tableLayoutPanel7.Controls.Add(this.LblSmax, 0, 2); - this.tableLayoutPanel7.Controls.Add(this.IIMaxPower, 1, 2); - this.tableLayoutPanel7.Controls.Add(this.LblMinPerc, 2, 1); - this.tableLayoutPanel7.Controls.Add(this.LblMaxPerc, 2, 2); - this.tableLayoutPanel7.Name = "tableLayoutPanel7"; - // - // BtnModulationInfo - // - this.BtnModulationInfo.AltImage = null; - resources.ApplyResources(this.BtnModulationInfo, "BtnModulationInfo"); - this.BtnModulationInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.BtnModulationInfo.Caption = null; - this.BtnModulationInfo.Coloration = System.Drawing.Color.Empty; - this.BtnModulationInfo.Image = ((System.Drawing.Image)(resources.GetObject("BtnModulationInfo.Image"))); - this.BtnModulationInfo.Name = "BtnModulationInfo"; - this.tableLayoutPanel7.SetRowSpan(this.BtnModulationInfo, 2); - this.BtnModulationInfo.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; - this.TT.SetToolTip(this.BtnModulationInfo, resources.GetString("BtnModulationInfo.ToolTip")); - this.BtnModulationInfo.UseAltImage = false; - this.BtnModulationInfo.Click += new System.EventHandler(this.BtnModulationInfo_Click); - // - // LblSmin - // - resources.ApplyResources(this.LblSmin, "LblSmin"); - this.LblSmin.Name = "LblSmin"; - // - // IIMinPower - // - resources.ApplyResources(this.IIMinPower, "IIMinPower"); - this.IIMinPower.ForcedText = null; - this.IIMinPower.ForceMinMax = false; - this.IIMinPower.MaxValue = 999; - this.IIMinPower.MinValue = 0; - this.IIMinPower.Name = "IIMinPower"; - this.IIMinPower.NormalBorderColor = System.Drawing.SystemColors.ActiveBorder; - this.IIMinPower.CurrentValueChanged += new LaserGRBL.UserControls.NumericInput.IntegerInputBase.CurrentValueChangedEventHandler(this.IIMinPowerCurrentValueChanged); - // - // label18 - // - resources.ApplyResources(this.label18, "label18"); - this.label18.Name = "label18"; - // - // BtnOnOffInfo - // - this.BtnOnOffInfo.AltImage = null; - resources.ApplyResources(this.BtnOnOffInfo, "BtnOnOffInfo"); - this.BtnOnOffInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.BtnOnOffInfo.Caption = null; - this.BtnOnOffInfo.Coloration = System.Drawing.Color.Empty; - this.BtnOnOffInfo.Image = ((System.Drawing.Image)(resources.GetObject("BtnOnOffInfo.Image"))); - this.BtnOnOffInfo.Name = "BtnOnOffInfo"; - this.BtnOnOffInfo.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; - this.TT.SetToolTip(this.BtnOnOffInfo, resources.GetString("BtnOnOffInfo.ToolTip")); - this.BtnOnOffInfo.UseAltImage = false; - this.BtnOnOffInfo.Click += new System.EventHandler(this.BtnOnOffInfo_Click); - // - // CBLaserON - // - this.tableLayoutPanel7.SetColumnSpan(this.CBLaserON, 2); - resources.ApplyResources(this.CBLaserON, "CBLaserON"); - this.CBLaserON.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.CBLaserON.FormattingEnabled = true; - this.CBLaserON.Name = "CBLaserON"; - this.CBLaserON.SelectedIndexChanged += new System.EventHandler(this.CBLaserON_SelectedIndexChanged); - // - // LblSmax - // - resources.ApplyResources(this.LblSmax, "LblSmax"); - this.LblSmax.Name = "LblSmax"; - // - // IIMaxPower - // - resources.ApplyResources(this.IIMaxPower, "IIMaxPower"); - this.IIMaxPower.CurrentValue = 1000; - this.IIMaxPower.ForcedText = null; - this.IIMaxPower.ForceMinMax = false; - this.IIMaxPower.MaxValue = 1000; - this.IIMaxPower.MinValue = 1; - this.IIMaxPower.Name = "IIMaxPower"; - this.IIMaxPower.NormalBorderColor = System.Drawing.SystemColors.ActiveBorder; - this.IIMaxPower.CurrentValueChanged += new LaserGRBL.UserControls.NumericInput.IntegerInputBase.CurrentValueChangedEventHandler(this.IIMaxPowerCurrentValueChanged); - // - // LblMinPerc - // - resources.ApplyResources(this.LblMinPerc, "LblMinPerc"); - this.LblMinPerc.Name = "LblMinPerc"; - // - // LblMaxPerc - // - resources.ApplyResources(this.LblMaxPerc, "LblMaxPerc"); - this.LblMaxPerc.Name = "LblMaxPerc"; - // - // tableLayoutPanel1 - // - resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1"); - this.tableLayoutPanel1.Controls.Add(this.BtnCancel, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.BtnCreate, 2, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - // - // BtnCancel - // - this.BtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - resources.ApplyResources(this.BtnCancel, "BtnCancel"); - this.BtnCancel.Name = "BtnCancel"; - this.BtnCancel.UseVisualStyleBackColor = true; - // - // BtnCreate - // - this.BtnCreate.DialogResult = System.Windows.Forms.DialogResult.OK; - resources.ApplyResources(this.BtnCreate, "BtnCreate"); - this.BtnCreate.Name = "BtnCreate"; - this.BtnCreate.UseVisualStyleBackColor = true; - // - // TT - // - this.TT.AutoPopDelay = 10000; - this.TT.InitialDelay = 500; - this.TT.ReshowDelay = 100; - // - // SvgToGCodeForm - // - resources.ApplyResources(this, "$this"); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.tableLayoutPanel9); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - this.Name = "SvgToGCodeForm"; - this.tableLayoutPanel9.ResumeLayout(false); - this.tableLayoutPanel9.PerformLayout(); - this.GbSpeed.ResumeLayout(false); - this.GbSpeed.PerformLayout(); - this.tableLayoutPanel6.ResumeLayout(false); - this.tableLayoutPanel6.PerformLayout(); - this.GbLaser.ResumeLayout(false); - this.GbLaser.PerformLayout(); - this.tableLayoutPanel7.ResumeLayout(false); - this.tableLayoutPanel7.PerformLayout(); - this.tableLayoutPanel1.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SvgToGCodeForm)); + this.tableLayoutPanel9 = new System.Windows.Forms.TableLayoutPanel(); + this.GbSpeed = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel(); + this.LblBorderTracing = new System.Windows.Forms.Label(); + this.LblBorderTracingmm = new System.Windows.Forms.Label(); + this.IIBorderTracing = new LaserGRBL.UserControls.NumericInput.IntegerInputRanged(); + this.BtnPSHelper = new LaserGRBL.UserControls.ImageButton(); + this.GbLaser = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel(); + this.BtnModulationInfo = new LaserGRBL.UserControls.ImageButton(); + this.LblSmin = new System.Windows.Forms.Label(); + this.IIMinPower = new LaserGRBL.UserControls.NumericInput.IntegerInputRanged(); + this.label18 = new System.Windows.Forms.Label(); + this.BtnOnOffInfo = new LaserGRBL.UserControls.ImageButton(); + this.CBLaserON = new System.Windows.Forms.ComboBox(); + this.LblSmax = new System.Windows.Forms.Label(); + this.IIMaxPower = new LaserGRBL.UserControls.NumericInput.IntegerInputRanged(); + this.LblMinPerc = new System.Windows.Forms.Label(); + this.LblMaxPerc = new System.Windows.Forms.Label(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.BtnCancel = new System.Windows.Forms.Button(); + this.BtnCreate = new System.Windows.Forms.Button(); + this.GbSaveSettings = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.BtnDeleteSetting = new LaserGRBL.UserControls.ImageButton(); + this.CbSaveSettings = new System.Windows.Forms.ComboBox(); + this.BtnSaveSetting = new LaserGRBL.UserControls.ImageButton(); + this.TT = new System.Windows.Forms.ToolTip(this.components); + this.tableLayoutPanel9.SuspendLayout(); + this.GbSpeed.SuspendLayout(); + this.tableLayoutPanel6.SuspendLayout(); + this.GbLaser.SuspendLayout(); + this.tableLayoutPanel7.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.GbSaveSettings.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.SuspendLayout(); + // + // tableLayoutPanel9 + // + resources.ApplyResources(this.tableLayoutPanel9, "tableLayoutPanel9"); + this.tableLayoutPanel9.Controls.Add(this.GbSpeed, 0, 1); + this.tableLayoutPanel9.Controls.Add(this.GbLaser, 0, 2); + this.tableLayoutPanel9.Controls.Add(this.tableLayoutPanel1, 0, 4); + this.tableLayoutPanel9.Controls.Add(this.GbSaveSettings, 0, 0); + this.tableLayoutPanel9.Name = "tableLayoutPanel9"; + // + // GbSpeed + // + resources.ApplyResources(this.GbSpeed, "GbSpeed"); + this.GbSpeed.Controls.Add(this.tableLayoutPanel6); + this.GbSpeed.Name = "GbSpeed"; + this.GbSpeed.TabStop = false; + // + // tableLayoutPanel6 + // + resources.ApplyResources(this.tableLayoutPanel6, "tableLayoutPanel6"); + this.tableLayoutPanel6.Controls.Add(this.LblBorderTracing, 0, 0); + this.tableLayoutPanel6.Controls.Add(this.LblBorderTracingmm, 2, 0); + this.tableLayoutPanel6.Controls.Add(this.IIBorderTracing, 1, 0); + this.tableLayoutPanel6.Controls.Add(this.BtnPSHelper, 3, 0); + this.tableLayoutPanel6.Name = "tableLayoutPanel6"; + // + // LblBorderTracing + // + resources.ApplyResources(this.LblBorderTracing, "LblBorderTracing"); + this.LblBorderTracing.Name = "LblBorderTracing"; + // + // LblBorderTracingmm + // + resources.ApplyResources(this.LblBorderTracingmm, "LblBorderTracingmm"); + this.LblBorderTracingmm.Name = "LblBorderTracingmm"; + // + // IIBorderTracing + // + resources.ApplyResources(this.IIBorderTracing, "IIBorderTracing"); + this.IIBorderTracing.CurrentValue = 1000; + this.IIBorderTracing.ForcedText = null; + this.IIBorderTracing.ForceMinMax = false; + this.IIBorderTracing.MaxValue = 4000; + this.IIBorderTracing.MinValue = 1; + this.IIBorderTracing.Name = "IIBorderTracing"; + this.IIBorderTracing.NormalBorderColor = System.Drawing.SystemColors.ActiveBorder; + this.IIBorderTracing.CurrentValueChanged += new LaserGRBL.UserControls.NumericInput.IntegerInputBase.CurrentValueChangedEventHandler(this.IIBorderTracingCurrentValueChanged); + // + // BtnPSHelper + // + this.BtnPSHelper.AltImage = null; + resources.ApplyResources(this.BtnPSHelper, "BtnPSHelper"); + this.BtnPSHelper.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.BtnPSHelper.Caption = null; + this.BtnPSHelper.Coloration = System.Drawing.Color.Empty; + this.BtnPSHelper.Image = ((System.Drawing.Image)(resources.GetObject("BtnPSHelper.Image"))); + this.BtnPSHelper.Name = "BtnPSHelper"; + this.BtnPSHelper.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; + this.TT.SetToolTip(this.BtnPSHelper, resources.GetString("BtnPSHelper.ToolTip")); + this.BtnPSHelper.UseAltImage = false; + this.BtnPSHelper.Click += new System.EventHandler(this.BtnPSHelper_Click); + // + // GbLaser + // + resources.ApplyResources(this.GbLaser, "GbLaser"); + this.GbLaser.Controls.Add(this.tableLayoutPanel7); + this.GbLaser.Name = "GbLaser"; + this.GbLaser.TabStop = false; + // + // tableLayoutPanel7 + // + resources.ApplyResources(this.tableLayoutPanel7, "tableLayoutPanel7"); + this.tableLayoutPanel7.Controls.Add(this.BtnModulationInfo, 3, 1); + this.tableLayoutPanel7.Controls.Add(this.LblSmin, 0, 1); + this.tableLayoutPanel7.Controls.Add(this.IIMinPower, 1, 1); + this.tableLayoutPanel7.Controls.Add(this.label18, 0, 0); + this.tableLayoutPanel7.Controls.Add(this.BtnOnOffInfo, 3, 0); + this.tableLayoutPanel7.Controls.Add(this.CBLaserON, 1, 0); + this.tableLayoutPanel7.Controls.Add(this.LblSmax, 0, 2); + this.tableLayoutPanel7.Controls.Add(this.IIMaxPower, 1, 2); + this.tableLayoutPanel7.Controls.Add(this.LblMinPerc, 2, 1); + this.tableLayoutPanel7.Controls.Add(this.LblMaxPerc, 2, 2); + this.tableLayoutPanel7.Name = "tableLayoutPanel7"; + // + // BtnModulationInfo + // + this.BtnModulationInfo.AltImage = null; + resources.ApplyResources(this.BtnModulationInfo, "BtnModulationInfo"); + this.BtnModulationInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.BtnModulationInfo.Caption = null; + this.BtnModulationInfo.Coloration = System.Drawing.Color.Empty; + this.BtnModulationInfo.Image = ((System.Drawing.Image)(resources.GetObject("BtnModulationInfo.Image"))); + this.BtnModulationInfo.Name = "BtnModulationInfo"; + this.tableLayoutPanel7.SetRowSpan(this.BtnModulationInfo, 2); + this.BtnModulationInfo.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; + this.TT.SetToolTip(this.BtnModulationInfo, resources.GetString("BtnModulationInfo.ToolTip")); + this.BtnModulationInfo.UseAltImage = false; + this.BtnModulationInfo.Click += new System.EventHandler(this.BtnModulationInfo_Click); + // + // LblSmin + // + resources.ApplyResources(this.LblSmin, "LblSmin"); + this.LblSmin.Name = "LblSmin"; + // + // IIMinPower + // + resources.ApplyResources(this.IIMinPower, "IIMinPower"); + this.IIMinPower.ForcedText = null; + this.IIMinPower.ForceMinMax = false; + this.IIMinPower.MaxValue = 999; + this.IIMinPower.MinValue = 0; + this.IIMinPower.Name = "IIMinPower"; + this.IIMinPower.NormalBorderColor = System.Drawing.SystemColors.ActiveBorder; + this.IIMinPower.CurrentValueChanged += new LaserGRBL.UserControls.NumericInput.IntegerInputBase.CurrentValueChangedEventHandler(this.IIMinPowerCurrentValueChanged); + // + // label18 + // + resources.ApplyResources(this.label18, "label18"); + this.label18.Name = "label18"; + // + // BtnOnOffInfo + // + this.BtnOnOffInfo.AltImage = null; + resources.ApplyResources(this.BtnOnOffInfo, "BtnOnOffInfo"); + this.BtnOnOffInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.BtnOnOffInfo.Caption = null; + this.BtnOnOffInfo.Coloration = System.Drawing.Color.Empty; + this.BtnOnOffInfo.Image = ((System.Drawing.Image)(resources.GetObject("BtnOnOffInfo.Image"))); + this.BtnOnOffInfo.Name = "BtnOnOffInfo"; + this.BtnOnOffInfo.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; + this.TT.SetToolTip(this.BtnOnOffInfo, resources.GetString("BtnOnOffInfo.ToolTip")); + this.BtnOnOffInfo.UseAltImage = false; + this.BtnOnOffInfo.Click += new System.EventHandler(this.BtnOnOffInfo_Click); + // + // CBLaserON + // + this.tableLayoutPanel7.SetColumnSpan(this.CBLaserON, 2); + resources.ApplyResources(this.CBLaserON, "CBLaserON"); + this.CBLaserON.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.CBLaserON.FormattingEnabled = true; + this.CBLaserON.Name = "CBLaserON"; + this.CBLaserON.SelectedIndexChanged += new System.EventHandler(this.CBLaserON_SelectedIndexChanged); + // + // LblSmax + // + resources.ApplyResources(this.LblSmax, "LblSmax"); + this.LblSmax.Name = "LblSmax"; + // + // IIMaxPower + // + resources.ApplyResources(this.IIMaxPower, "IIMaxPower"); + this.IIMaxPower.CurrentValue = 1000; + this.IIMaxPower.ForcedText = null; + this.IIMaxPower.ForceMinMax = false; + this.IIMaxPower.MaxValue = 1000; + this.IIMaxPower.MinValue = 1; + this.IIMaxPower.Name = "IIMaxPower"; + this.IIMaxPower.NormalBorderColor = System.Drawing.SystemColors.ActiveBorder; + this.IIMaxPower.CurrentValueChanged += new LaserGRBL.UserControls.NumericInput.IntegerInputBase.CurrentValueChangedEventHandler(this.IIMaxPowerCurrentValueChanged); + // + // LblMinPerc + // + resources.ApplyResources(this.LblMinPerc, "LblMinPerc"); + this.LblMinPerc.Name = "LblMinPerc"; + // + // LblMaxPerc + // + resources.ApplyResources(this.LblMaxPerc, "LblMaxPerc"); + this.LblMaxPerc.Name = "LblMaxPerc"; + // + // tableLayoutPanel1 + // + resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1"); + this.tableLayoutPanel1.Controls.Add(this.BtnCancel, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.BtnCreate, 2, 0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + // + // BtnCancel + // + this.BtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + resources.ApplyResources(this.BtnCancel, "BtnCancel"); + this.BtnCancel.Name = "BtnCancel"; + this.BtnCancel.UseVisualStyleBackColor = true; + // + // BtnCreate + // + this.BtnCreate.DialogResult = System.Windows.Forms.DialogResult.OK; + resources.ApplyResources(this.BtnCreate, "BtnCreate"); + this.BtnCreate.Name = "BtnCreate"; + this.BtnCreate.UseVisualStyleBackColor = true; + // + // GbSaveSettings + // + resources.ApplyResources(this.GbSaveSettings, "GbSaveSettings"); + this.GbSaveSettings.Controls.Add(this.tableLayoutPanel2); + this.GbSaveSettings.Name = "GbSaveSettings"; + this.GbSaveSettings.TabStop = false; + // + // tableLayoutPanel2 + // + resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2"); + this.tableLayoutPanel2.Controls.Add(this.BtnDeleteSetting, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.CbSaveSettings, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.BtnSaveSetting, 2, 0); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + // + // BtnDeleteSetting + // + this.BtnDeleteSetting.AltImage = null; + resources.ApplyResources(this.BtnDeleteSetting, "BtnDeleteSetting"); + this.BtnDeleteSetting.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.BtnDeleteSetting.Caption = null; + this.BtnDeleteSetting.Coloration = System.Drawing.Color.Empty; + this.BtnDeleteSetting.Image = ((System.Drawing.Image)(resources.GetObject("BtnDeleteSetting.Image"))); + this.BtnDeleteSetting.Name = "BtnDeleteSetting"; + this.BtnDeleteSetting.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; + this.TT.SetToolTip(this.BtnDeleteSetting, resources.GetString("BtnDeleteSetting.ToolTip")); + this.BtnDeleteSetting.UseAltImage = false; + this.BtnDeleteSetting.Click += new System.EventHandler(this.BtnDeleteSetting_Click); + // + // CbSaveSettings + // + resources.ApplyResources(this.CbSaveSettings, "CbSaveSettings"); + this.CbSaveSettings.FormattingEnabled = true; + this.CbSaveSettings.Name = "CbSaveSettings"; + this.CbSaveSettings.SelectedIndexChanged += new System.EventHandler(this.CbSaveSettings_SelectedIndexChanged); + // + // BtnSaveSetting + // + this.BtnSaveSetting.AltImage = null; + resources.ApplyResources(this.BtnSaveSetting, "BtnSaveSetting"); + this.BtnSaveSetting.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.BtnSaveSetting.Caption = null; + this.BtnSaveSetting.Coloration = System.Drawing.Color.Empty; + this.BtnSaveSetting.Image = ((System.Drawing.Image)(resources.GetObject("BtnSaveSetting.Image"))); + this.BtnSaveSetting.Name = "BtnSaveSetting"; + this.BtnSaveSetting.SizingMode = LaserGRBL.UserControls.ImageButton.SizingModes.FixedSize; + this.TT.SetToolTip(this.BtnSaveSetting, resources.GetString("BtnSaveSetting.ToolTip")); + this.BtnSaveSetting.UseAltImage = false; + this.BtnSaveSetting.Click += new System.EventHandler(this.BtnSaveSetting_Click); + // + // TT + // + this.TT.AutoPopDelay = 10000; + this.TT.InitialDelay = 500; + this.TT.ReshowDelay = 100; + // + // SvgToGCodeForm + // + resources.ApplyResources(this, "$this"); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.tableLayoutPanel9); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Name = "SvgToGCodeForm"; + this.tableLayoutPanel9.ResumeLayout(false); + this.tableLayoutPanel9.PerformLayout(); + this.GbSpeed.ResumeLayout(false); + this.GbSpeed.PerformLayout(); + this.tableLayoutPanel6.ResumeLayout(false); + this.tableLayoutPanel6.PerformLayout(); + this.GbLaser.ResumeLayout(false); + this.GbLaser.PerformLayout(); + this.tableLayoutPanel7.ResumeLayout(false); + this.tableLayoutPanel7.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + this.GbSaveSettings.ResumeLayout(false); + this.GbSaveSettings.PerformLayout(); + this.tableLayoutPanel2.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -310,5 +371,10 @@ private void InitializeComponent() private UserControls.ImageButton BtnPSHelper; private System.Windows.Forms.Label LblMinPerc; private System.Windows.Forms.Label LblMaxPerc; - } + private System.Windows.Forms.GroupBox GbSaveSettings; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private UserControls.ImageButton BtnSaveSetting; + private UserControls.ImageButton BtnDeleteSetting; + private System.Windows.Forms.ComboBox CbSaveSettings; + } } diff --git a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.cs b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.cs index f296516a..fff7bdc5 100644 --- a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.cs +++ b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.cs @@ -1,4 +1,5 @@ //Copyright (c) 2016-2021 Diego Settimi - https://github.com/arkypita/ +//Copyright (c) 2023 Alexandre Besnier - https://github.com/Varamil/ // This program is free software; you can redistribute it and/or modify it under the terms of the GPLv3 General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GPLv3 General Public License for more details. @@ -6,6 +7,7 @@ using LaserGRBL.PSHelper; using System; +using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; @@ -65,6 +67,12 @@ private SvgToGCodeForm(GrblCore core, string filename, bool append) CBLaserON.Items.Add(LaserOptions[0]); CBLaserON.Items.Add(LaserOptions[1]); + + //get saved settings + Dictionary dic = Settings.GetObject("SVGImport.SavedSettings", new Dictionary()); + List keys = new List(dic.Keys); + keys.Sort(); + CbSaveSettings.Items.AddRange(keys.ToArray()); } private void AssignMinMaxLimit() @@ -168,16 +176,89 @@ private void BtnPSHelper_Click(object sender, EventArgs e) } } - //private void IISizeW_OnTheFlyValueChanged(object sender, int OldValue, int NewValue, bool ByUser) - //{ - // if (ByUser) - // IISizeH.CurrentValue = IP.WidthToHeight(NewValue); - //} + private void BtnSaveSetting_Click(object sender, EventArgs e) + { + //Check if empty + if(!string.IsNullOrWhiteSpace(CbSaveSettings.Text)) + { + //get saved settings + Dictionary dic = Settings.GetObject("SVGImport.SavedSettings", new Dictionary()); + + //check if already exist + string key = CbSaveSettings.Text; + if (dic.ContainsKey(key)) + { + //update it + dic[key] = string.Format("{0}|{1}|{2}|{3}", IIBorderTracing.CurrentValue,(CBLaserON.SelectedItem as ComboboxItem).Value, IIMinPower.CurrentValue, IIMaxPower.CurrentValue); + } + else + { + //add it + dic.Add(key, string.Format("{0}|{1}|{2}|{3}", IIBorderTracing.CurrentValue, (CBLaserON.SelectedItem as ComboboxItem).Value, IIMinPower.CurrentValue, IIMaxPower.CurrentValue)); + //add item + CbSaveSettings.Items.Add(key); + } + + //save settings + Settings.SetObject("SVGImport.SavedSettings", dic); + } + } + + private void CbSaveSettings_SelectedIndexChanged(object sender, EventArgs e) + { + //Check if empty + if (!string.IsNullOrWhiteSpace(CbSaveSettings.Text)) + { + //get saved settings + Dictionary dic = Settings.GetObject("SVGImport.SavedSettings", new Dictionary()); + + //check if exist + string key = CbSaveSettings.Text; + if (dic.ContainsKey(key)) + { + //load it + string[] data = dic[key].Split('|'); + IIBorderTracing.CurrentValue = int.Parse(data[0]); + IIMinPower.CurrentValue = int.Parse(data[2]); + IIMaxPower.CurrentValue = int.Parse(data[3]); + CBLaserON.SelectedItem = Array.Find(LaserOptions, x => (string)x.Value == data[1]); + }//else new one, nothing to do + } + } + + private void BtnDeleteSetting_Click(object sender, EventArgs e) + { + //Check if empty + if (!string.IsNullOrWhiteSpace(CbSaveSettings.Text)) + { + //get saved settings + Dictionary dic = Settings.GetObject("SVGImport.SavedSettings", new Dictionary()); + + //check if exist + string key = CbSaveSettings.Text; + if (dic.ContainsKey(key)) + { + //delete setting + dic.Remove(key); + CbSaveSettings.Items.Remove(key); + CbSaveSettings.Text = ""; + } + } + } + + + + + //private void IISizeW_OnTheFlyValueChanged(object sender, int OldValue, int NewValue, bool ByUser) + //{ + // if (ByUser) + // IISizeH.CurrentValue = IP.WidthToHeight(NewValue); + //} - //private void IISizeH_OnTheFlyValueChanged(object sender, int OldValue, int NewValue, bool ByUser) - //{ - // if (ByUser) IISizeW.CurrentValue = IP.HeightToWidht(NewValue); - //} + //private void IISizeH_OnTheFlyValueChanged(object sender, int OldValue, int NewValue, bool ByUser) + //{ + // if (ByUser) IISizeW.CurrentValue = IP.HeightToWidht(NewValue); + //} - } + } } diff --git a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.fr.resx b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.fr.resx index 75418d2c..82ec4c12 100644 --- a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.fr.resx +++ b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.fr.resx @@ -117,96 +117,69 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 53, 13 + + + 287, 42 - - Décalage - - - 32, 13 - - - Taille - - - 74, 24 - - - 147, 24 - - - 147, 3 - - - 74, 3 - - - 62, 4 + + Vitesse - - L + + 287, 87 - - 62, 25 + + Options du Laser - - 135, 4 + + 287, 67 - - 135, 25 + + 287, 46 - - 281, 42 + + Configurations sauvegardées - - 287, 61 + + 293, 266 - - Taille et Emplacement de l'image [mm] + + 281, 23 - 159, 13 + 87, 13 Vitesse de travail - 226, 4 + 154, 5 - 165, 3 - - - 226, 46 + 93, 4 - - 120, 13 - - - Vitesse de déplacement - - - 165, 24 - - - 226, 25 - - - 87, 13 - - - Vitesse de travail - - - 281, 63 + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6 + JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAACXBIWXMAAAsTAAALEwEAmpwYAAACrUlE + QVQ4T6WO60uTYRjG3/+kz0F9iMjEMnClhZonEMdi1WxoHoZzMzE3DTwhKttCN0MqZROdluiMSkQdw8OG + ZjrJaZ42Z21NrWnbxJ2eq/d1JH7wQ+ED1/PcXPf1/O6bAnAmnWr+j44LaftaWNFnDzf22OZrOtevngw1 + dC6zZL3rqzKtJVys+ERbJwClrfPDtCDtWGEa+OkDGTS5iWpwc1emnoqVa5dGjF8PyYoTGJ07gFRpQE1z + FziCeiZOUaLnpp4JswNi5dwRoMewgzeGLVg2feRJ82Tw3eQm8QQAxx6waA+joFEP8HIgvcKKAIoVxhHj + FwcEsvEjwG8/YPvhRUOnBdzyXjjcQcYmfgJi3wWEchOGhJW4FZfC+BQllE2Om1dcyK0dYgx0j7nQqrPC + YvPhoaQLC+t7UPbb4aHBzBZ59aMwGGcRE58RAQiaDPNr39x4IO0FMytMa8N5gPLWGWSJX0OmXcSOJ0jo + Htn2AI+eDUBUVoXovxsUNIysbrn2wSnTIMRY9Fl1hGCy7CI9XwEj/dZoNjCxTLB3CNx/qkaQUBBXxDNR + isqr++BwewPglLTBSxNc9JQF6yH69N+RmF0HyYtpzCy5sOHyYdtDwC5Woe1tKeKS0iIA+qP1Fw3ILGrB + Z2sAY2Yvhqe30T6wgDu8asg1U9DpF9H90Qy51oSM/CacszlwXVAWAbBFSqdr3w++9CVS+dWIulsIFlsC + jliNOHY5uCIV0nLqkMCtQFRyIWLSBEjo6MeNLD45AmQJW/whunS6Axg37+D9hBUtHcMorX2FS7dzwcmr + QGWTGhrdFAb1ZswuO6HWmZDOb4xskCmQe+6VqIJsYTNJ5FWTJF4ViU4pwuXEx7h4k4fzsVxcYGWTqGQB + uZZeQuLZklBqdn3gGMBcZ9Gp5r8L1B+TS/Tf7MeMdAAAAABJRU5ErkJggg== + - - 287, 82 + + 261, 3 - - Vitesse + + 281, 68 @@ -223,12 +196,24 @@ 2bCVq0RaJ5X9I9mIkt+LaQarb80ZCAAAAABJRU5ErkJggg== + + 261, 39 + LaserGRBL intègre la modulation de puissance au travers du G-Code "S". Ce la nécessite que votre laser supporte le mode TTL. Cliquez pour plus d'information... + + 61, 30 + + + 52, 13 + + + Laser ON + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m @@ -244,6 +229,9 @@ Cliquez pour plus d'information... 2bCVq0RaJ5X9I9mIkt+LaQarb80ZCAAAAABJRU5ErkJggg== + + 261, 5 + Laser ON: le mode standard est M3. Grbl v1.1 permet un nouveau mode M4 " Mode Puissance Laser Dynamique". @@ -251,14 +239,20 @@ Laser OFF: seule la commande M5 est supportée. Cliquez pour plus d'information... - - 281, 50 + + 61, 3 - - 287, 69 + + 194, 21 - - Options du Laser + + 61, 51 + + + 110, 31 + + + 110, 51 130, 3 @@ -272,43 +266,54 @@ Cliquez pour plus d'information... Créer ! - - 287, 30 - - - 293, 266 - - - 293, 266 - - - Image cible + + 281, 27 - - Taille et Emplacement de l'image [mm] - - - Vitesse - - - Options du Laser + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAK + 8AAACvABQqw0mAAAAAd0SU1FB9MIExEEBFRHv8sAAAIPSURBVDhPrZFdSFNhHIeH0U1XIY5uBn2xwtKg + 6PtG8K6broMK6ibFEiyCWKmIgu3KggIto4hYy3IsaeHaRymbfczVRY6o7WyTYUtC18pp7vPpPccTS6dd + RD944Fy8v+f9v/+j+W8x9tiR6bhmU2jpeqxwwdiv0NRuljmiHi+NXP5bZEFr18DKkqWCQqFAXpDJFUhn + 84rgU2x2Zcnl7kG1WowsyeaLgj9Ra8W0XR1Qa8X8FswLQSqdI5FKMz6ZpKntTkGtFdN2xaqU/O+ijL6N + 8mo0ytDLCA5vBNtwBMvzCI8Eibkcjc23Sie4ftelCORbF4CcevtcJs+MmCD5M8e0EJxp7i0V+HpNeGtr + mYgnCXp8OHfu4rPdjT/wBas7xENHiD5nmKnZLKeXEwzptNB4AH9HJ7b9+8T3dtzbKpFiCUXQJwtcEl8V + wc1SwX39VmipIVyjg5OVeDeXE/S9xy52YHGFeOAIYnZKTKaE4NKNUsHwbTMvNq2FU9WkDunwnj3Ph/DU + wvjOICa74JlEfCZDw8UlAq9Gc2JEXw51VXBcD0c34Fhfwcc3Yzz1RMXbJUwOiXuC2PcM9YaexQLLqrIx + zlUR2K3Fu2cjHF4Hx7SMHNwrtp8n/iPDhCiOf0sTnJ6nztC9WOBZXWa1VqzB3tqJ53WAJ9U7sG/R4+kf + xGA0KVuXaRDLqxfvX/Yv/Fs0ml+Q1AnMyHHyPgAAAABJRU5ErkJggg== + - - mm/min + + Supprimer la configuration actuelle - - Laser ON + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAoNJREFUOE+Vz+tLU2EcB/D+kV7UG6EXkUgoVNMullBkOsVqaYnkpjBRU1rYBX2h + oDMRh5ZpDCJCogsNa80cZRtelqft7Oh001RoZ/ed2852dnbO+XVGW/i2H98XXx6ez8PzOwAAqtvWkvql + 2lZ7Xau9tsWm1NiqNd+V6r9ZkFPZZD16beni9Xn5chaUqJ2v9oDhU3LnAVgAWoCklO2ifAQQZ6lOU+Bw + o1vuWVDahhkxniRokCDJAcVClIIIAXEGGBYyAoTDUc3L3YLm9RxQaNFpNENSjCQBm86CGAWBOOAxCBHA + JMHvj3SbqMK2X/uBQDEJucvvJVNAJSBGQzCeZQQDv/3ROx/IY9rtHChrQ6dQkWaTcpdHkE0a6FT2SyES + IpQMyE4TXdi+Dzx3SxwnbyvkIvJihk+n+EQizdDpMB7qMtFF/0B5OzqGgHWDs3i4WSxlQtn3P+m3q9Tr + ZWpmmXjzIzpjCza/yxR3bOXApS5Xjx1uvhBVT1OqSa5uglNOcFcMXKWBuzCSPt4rnBqFc0Yo7fblQGW3 + q+MraKYYJxoMhMJbO5G1zcj6ZsS7F539FjikJIr7hTIjnL6bB1U6V+sX0BrJMI4PjPsXHQGJj7FUTOLj + 2Aau0JInB8UTU3BGlwfVOpd6DpqfEahr+2AZPjq9R8T82zv+II7bV3Zr+mjFsFj0BM7ey4Pa+2jjR2gw + xGwLWPkt77jR4/X4VpEtzO2zWDdaDIzisXRkBMp78kvX9KBqGzRMEos2p8OBOlbcCOJBkHW3c21+AdN/ + Fs9PQ8EEVDzKg6tNlhtDPtUDZKB/dmzUMqw3Dw6ah4bMw/pPff3mDr2nqtdb8dB3uX4uB/5jAP4AeyVe + wT5ITnYAAAAASUVORK5CYII= + - - S-MIN + + 261, 5 - - S-MAX + + Sauvegarder une nouvelle configuration - - M5 + + 293, 266 - - Laser OFF + + Image cible \ No newline at end of file diff --git a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.resx b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.resx index 62731b9a..c2f6eb2e 100644 --- a/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.resx +++ b/LaserGRBL/SvgConverter/ConvertSizeAndOptionForm.resx @@ -229,7 +229,7 @@ IIBorderTracing - LaserGRBL.UserControls.NumericInput.IntegerInputRanged, LaserGRBL, Version=4.5.1.0, Culture=neutral, PublicKeyToken=null + LaserGRBL.UserControls.NumericInput.IntegerInputRanged, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null tableLayoutPanel6 @@ -259,7 +259,7 @@ - 242, 3 + 246, 3 17, 17 @@ -277,7 +277,7 @@ BtnPSHelper - LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.5.1.0, Culture=neutral, PublicKeyToken=null + LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null tableLayoutPanel6 @@ -295,7 +295,7 @@ 1 - 262, 23 + 266, 23 0 @@ -313,16 +313,16 @@ 0 - <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="LblBorderTracing" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="LblBorderTracingmm" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /><Control Name="IIBorderTracing" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="BtnPSHelper" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0,AutoSize,0,Absolute,76" /><Rows Styles="AutoSize,0,Absolute,23,Absolute,23" /></TableLayoutSettings> + <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="LblBorderTracing" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="LblBorderTracingmm" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /><Control Name="IIBorderTracing" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="BtnPSHelper" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0,AutoSize,0,Absolute,80" /><Rows Styles="AutoSize,0,Absolute,23,Absolute,23" /></TableLayoutSettings> Fill - 3, 3 + 3, 55 - 268, 42 + 272, 42 3 @@ -376,7 +376,7 @@ - 242, 39 + 246, 39 17, 17 @@ -394,7 +394,7 @@ Click for more information... BtnModulationInfo - LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.5.1.0, Culture=neutral, PublicKeyToken=null + LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null tableLayoutPanel7 @@ -451,7 +451,7 @@ Click for more information... IIMinPower - LaserGRBL.UserControls.NumericInput.IntegerInputRanged, LaserGRBL, Version=4.5.1.0, Culture=neutral, PublicKeyToken=null + LaserGRBL.UserControls.NumericInput.IntegerInputRanged, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null tableLayoutPanel7 @@ -511,7 +511,7 @@ Click for more information... - 242, 5 + 246, 5 17, 17 @@ -530,7 +530,7 @@ Click for more information... BtnOnOffInfo - LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.5.1.0, Culture=neutral, PublicKeyToken=null + LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null tableLayoutPanel7 @@ -545,7 +545,7 @@ Click for more information... 72, 3 - 164, 21 + 168, 21 24 @@ -611,7 +611,7 @@ Click for more information... IIMaxPower - LaserGRBL.UserControls.NumericInput.IntegerInputRanged, LaserGRBL, Version=4.5.1.0, Culture=neutral, PublicKeyToken=null + LaserGRBL.UserControls.NumericInput.IntegerInputRanged, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null tableLayoutPanel7 @@ -695,7 +695,7 @@ Click for more information... 3 - 262, 68 + 266, 68 0 @@ -719,10 +719,10 @@ Click for more information... Fill - 3, 51 + 3, 103 - 268, 87 + 272, 87 4 @@ -755,7 +755,7 @@ Click for more information... NoControl - 111, 3 + 115, 3 74, 27 @@ -782,7 +782,7 @@ Click for more information... NoControl - 191, 3 + 195, 3 74, 27 @@ -809,13 +809,13 @@ Click for more information... Fill - 3, 144 + 3, 196 1 - 268, 33 + 272, 34 2 @@ -835,6 +835,188 @@ Click for more information... <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="BtnCancel" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="BtnCreate" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /></Controls><Columns Styles="Percent,50,AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings> + + True + + + GrowAndShrink + + + True + + + GrowAndShrink + + + 3 + + + Right + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAK + 8AAACvABQqw0mAAAAAd0SU1FB9MIExEEBFRHv8sAAAIPSURBVDhPrZFdSFNhHIeH0U1XIY5uBn2xwtKg + 6PtG8K6broMK6ibFEiyCWKmIgu3KggIto4hYy3IsaeHaRymbfczVRY6o7WyTYUtC18pp7vPpPccTS6dd + RD944Fy8v+f9v/+j+W8x9tiR6bhmU2jpeqxwwdiv0NRuljmiHi+NXP5bZEFr18DKkqWCQqFAXpDJFUhn + 84rgU2x2Zcnl7kG1WowsyeaLgj9Ra8W0XR1Qa8X8FswLQSqdI5FKMz6ZpKntTkGtFdN2xaqU/O+ijL6N + 8mo0ytDLCA5vBNtwBMvzCI8Eibkcjc23Sie4ftelCORbF4CcevtcJs+MmCD5M8e0EJxp7i0V+HpNeGtr + mYgnCXp8OHfu4rPdjT/wBas7xENHiD5nmKnZLKeXEwzptNB4AH9HJ7b9+8T3dtzbKpFiCUXQJwtcEl8V + wc1SwX39VmipIVyjg5OVeDeXE/S9xy52YHGFeOAIYnZKTKaE4NKNUsHwbTMvNq2FU9WkDunwnj3Ph/DU + wvjOICa74JlEfCZDw8UlAq9Gc2JEXw51VXBcD0c34Fhfwcc3Yzz1RMXbJUwOiXuC2PcM9YaexQLLqrIx + zlUR2K3Fu2cjHF4Hx7SMHNwrtp8n/iPDhCiOf0sTnJ6nztC9WOBZXWa1VqzB3tqJ53WAJ9U7sG/R4+kf + xGA0KVuXaRDLqxfvX/Yv/Fs0ml+Q1AnMyHHyPgAAAABJRU5ErkJggg== + + + + 217, 5 + + + 17, 17 + + + 27 + + + Delete current setting + + + BtnDeleteSetting + + + LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null + + + tableLayoutPanel2 + + + 0 + + + Fill + + + 3, 3 + + + 208, 21 + + + 26 + + + CbSaveSettings + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tableLayoutPanel2 + + + 1 + + + Right + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAoNJREFUOE+Vz+tLU2EcB/D+kV7UG6EXkUgoVNMullBkOsVqaYnkpjBRU1rYBX2h + oDMRh5ZpDCJCogsNa80cZRtelqft7Oh001RoZ/ed2852dnbO+XVGW/i2H98XXx6ez8PzOwAAqtvWkvql + 2lZ7Xau9tsWm1NiqNd+V6r9ZkFPZZD16beni9Xn5chaUqJ2v9oDhU3LnAVgAWoCklO2ifAQQZ6lOU+Bw + o1vuWVDahhkxniRokCDJAcVClIIIAXEGGBYyAoTDUc3L3YLm9RxQaNFpNENSjCQBm86CGAWBOOAxCBHA + JMHvj3SbqMK2X/uBQDEJucvvJVNAJSBGQzCeZQQDv/3ROx/IY9rtHChrQ6dQkWaTcpdHkE0a6FT2SyES + IpQMyE4TXdi+Dzx3SxwnbyvkIvJihk+n+EQizdDpMB7qMtFF/0B5OzqGgHWDs3i4WSxlQtn3P+m3q9Tr + ZWpmmXjzIzpjCza/yxR3bOXApS5Xjx1uvhBVT1OqSa5uglNOcFcMXKWBuzCSPt4rnBqFc0Yo7fblQGW3 + q+MraKYYJxoMhMJbO5G1zcj6ZsS7F539FjikJIr7hTIjnL6bB1U6V+sX0BrJMI4PjPsXHQGJj7FUTOLj + 2Aau0JInB8UTU3BGlwfVOpd6DpqfEahr+2AZPjq9R8T82zv+II7bV3Zr+mjFsFj0BM7ey4Pa+2jjR2gw + xGwLWPkt77jR4/X4VpEtzO2zWDdaDIzisXRkBMp78kvX9KBqGzRMEos2p8OBOlbcCOJBkHW3c21+AdN/ + Fs9PQ8EEVDzKg6tNlhtDPtUDZKB/dmzUMqw3Dw6ah4bMw/pPff3mDr2nqtdb8dB3uX4uB/5jAP4AeyVe + wT5ITnYAAAAASUVORK5CYII= + + + + 246, 5 + + + 17, 17 + + + 25 + + + Save current settings + + + BtnSaveSetting + + + LaserGRBL.UserControls.ImageButton, LaserGRBL, Version=4.9.4.0, Culture=neutral, PublicKeyToken=null + + + tableLayoutPanel2 + + + 2 + + + Fill + + + 3, 16 + + + 1 + + + 266, 27 + + + 1 + + + tableLayoutPanel2 + + + System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GbSaveSettings + + + 0 + + + <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="BtnDeleteSetting" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="CbSaveSettings" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="BtnSaveSetting" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0,AutoSize,0,AutoSize,0" /><Rows Styles="AutoSize,0" /></TableLayoutSettings> + + + Fill + + + 3, 3 + + + 272, 46 + + + 5 + + + Saved settings + + + GbSaveSettings + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tableLayoutPanel9 + + + 3 + Fill @@ -842,10 +1024,10 @@ Click for more information... 0, 0 - 4 + 5 - 274, 180 + 274, 233 1 @@ -863,7 +1045,7 @@ Click for more information... 0 - <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="GbSpeed" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="GbLaser" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanel1" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,Percent,100" /></TableLayoutSettings> + <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="GbSpeed" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="GbLaser" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanel1" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="GbSaveSettings" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="AutoSize,0" /><Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Percent,100" /></TableLayoutSettings> True @@ -878,7 +1060,7 @@ Click for more information... GrowAndShrink - 274, 180 + 274, 233 4, 4, 4, 4