kopia lustrzana https://github.com/njcrawford/EmbroideryReader
381 wiersze
19 KiB
C#
381 wiersze
19 KiB
C#
namespace embroideryReader
|
|
{
|
|
partial class frmSettingsDialog
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSettingsDialog));
|
|
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
|
|
this.btnColor = new System.Windows.Forms.Button();
|
|
this.btnResetColor = new System.Windows.Forms.Button();
|
|
this.btnOK = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.lblThreadThickness = new System.Windows.Forms.Label();
|
|
this.txtThreadThickness = new System.Windows.Forms.TextBox();
|
|
this.lblPixelThick = new System.Windows.Forms.Label();
|
|
this.grpBackground = new System.Windows.Forms.GroupBox();
|
|
this.txtGridSize = new System.Windows.Forms.TextBox();
|
|
this.lblGridSizePixels = new System.Windows.Forms.Label();
|
|
this.lblGridSize = new System.Windows.Forms.Label();
|
|
this.btnResetGridColor = new System.Windows.Forms.Button();
|
|
this.btnGridColor = new System.Windows.Forms.Button();
|
|
this.pnlBackground = new System.Windows.Forms.Panel();
|
|
this.lblBackgroundColor = new System.Windows.Forms.Label();
|
|
this.chkDrawGrid = new System.Windows.Forms.CheckBox();
|
|
this.grpStitch = new System.Windows.Forms.GroupBox();
|
|
this.lblUglyLength = new System.Windows.Forms.Label();
|
|
this.lblPixelLength = new System.Windows.Forms.Label();
|
|
this.txtThreshold = new System.Windows.Forms.TextBox();
|
|
this.chkUglyStitches = new System.Windows.Forms.CheckBox();
|
|
this.cmbLanguage = new System.Windows.Forms.ComboBox();
|
|
this.grpLanguage = new System.Windows.Forms.GroupBox();
|
|
this.lblIncompleteTranslation = new System.Windows.Forms.Label();
|
|
this.grpTranparencyGrid = new System.Windows.Forms.GroupBox();
|
|
this.grpBackground.SuspendLayout();
|
|
this.pnlBackground.SuspendLayout();
|
|
this.grpStitch.SuspendLayout();
|
|
this.grpLanguage.SuspendLayout();
|
|
this.grpTranparencyGrid.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnColor
|
|
//
|
|
this.btnColor.Location = new System.Drawing.Point(200, 19);
|
|
this.btnColor.Name = "btnColor";
|
|
this.btnColor.Size = new System.Drawing.Size(75, 23);
|
|
this.btnColor.TabIndex = 0;
|
|
this.btnColor.Text = "Pick Color...";
|
|
this.btnColor.UseVisualStyleBackColor = true;
|
|
this.btnColor.Click += new System.EventHandler(this.btnColor_Click);
|
|
//
|
|
// btnResetColor
|
|
//
|
|
this.btnResetColor.Location = new System.Drawing.Point(200, 48);
|
|
this.btnResetColor.Name = "btnResetColor";
|
|
this.btnResetColor.Size = new System.Drawing.Size(75, 23);
|
|
this.btnResetColor.TabIndex = 2;
|
|
this.btnResetColor.Text = "Reset Color";
|
|
this.btnResetColor.UseVisualStyleBackColor = true;
|
|
this.btnResetColor.Click += new System.EventHandler(this.btnResetColor_Click);
|
|
//
|
|
// btnOK
|
|
//
|
|
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.btnOK.Location = new System.Drawing.Point(137, 327);
|
|
this.btnOK.Name = "btnOK";
|
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
|
this.btnOK.TabIndex = 3;
|
|
this.btnOK.Text = "OK";
|
|
this.btnOK.UseVisualStyleBackColor = true;
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Location = new System.Drawing.Point(218, 327);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btnCancel.TabIndex = 4;
|
|
this.btnCancel.Text = "Cancel";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// lblThreadThickness
|
|
//
|
|
this.lblThreadThickness.AutoSize = true;
|
|
this.lblThreadThickness.Location = new System.Drawing.Point(6, 16);
|
|
this.lblThreadThickness.Name = "lblThreadThickness";
|
|
this.lblThreadThickness.Size = new System.Drawing.Size(92, 13);
|
|
this.lblThreadThickness.TabIndex = 5;
|
|
this.lblThreadThickness.Text = "Thread thickness:";
|
|
//
|
|
// txtThreadThickness
|
|
//
|
|
this.txtThreadThickness.Location = new System.Drawing.Point(104, 13);
|
|
this.txtThreadThickness.Name = "txtThreadThickness";
|
|
this.txtThreadThickness.Size = new System.Drawing.Size(32, 20);
|
|
this.txtThreadThickness.TabIndex = 6;
|
|
//
|
|
// lblPixelThick
|
|
//
|
|
this.lblPixelThick.AutoSize = true;
|
|
this.lblPixelThick.Location = new System.Drawing.Point(142, 16);
|
|
this.lblPixelThick.Name = "lblPixelThick";
|
|
this.lblPixelThick.Size = new System.Drawing.Size(33, 13);
|
|
this.lblPixelThick.TabIndex = 7;
|
|
this.lblPixelThick.Text = "pixels";
|
|
//
|
|
// grpBackground
|
|
//
|
|
this.grpBackground.Controls.Add(this.grpTranparencyGrid);
|
|
this.grpBackground.Controls.Add(this.pnlBackground);
|
|
this.grpBackground.Controls.Add(this.btnColor);
|
|
this.grpBackground.Controls.Add(this.btnResetColor);
|
|
this.grpBackground.Location = new System.Drawing.Point(12, 12);
|
|
this.grpBackground.Name = "grpBackground";
|
|
this.grpBackground.Size = new System.Drawing.Size(281, 155);
|
|
this.grpBackground.TabIndex = 8;
|
|
this.grpBackground.TabStop = false;
|
|
this.grpBackground.Text = "Background";
|
|
//
|
|
// txtGridSize
|
|
//
|
|
this.txtGridSize.Location = new System.Drawing.Point(64, 42);
|
|
this.txtGridSize.Name = "txtGridSize";
|
|
this.txtGridSize.Size = new System.Drawing.Size(32, 20);
|
|
this.txtGridSize.TabIndex = 18;
|
|
this.txtGridSize.TextChanged += new System.EventHandler(this.txtGridSize_TextChanged);
|
|
//
|
|
// lblGridSizePixels
|
|
//
|
|
this.lblGridSizePixels.AutoSize = true;
|
|
this.lblGridSizePixels.Location = new System.Drawing.Point(102, 45);
|
|
this.lblGridSizePixels.Name = "lblGridSizePixels";
|
|
this.lblGridSizePixels.Size = new System.Drawing.Size(33, 13);
|
|
this.lblGridSizePixels.TabIndex = 17;
|
|
this.lblGridSizePixels.Text = "pixels";
|
|
//
|
|
// lblGridSize
|
|
//
|
|
this.lblGridSize.AutoSize = true;
|
|
this.lblGridSize.Location = new System.Drawing.Point(6, 45);
|
|
this.lblGridSize.Name = "lblGridSize";
|
|
this.lblGridSize.Size = new System.Drawing.Size(52, 13);
|
|
this.lblGridSize.TabIndex = 16;
|
|
this.lblGridSize.Text = "Grid Size:";
|
|
//
|
|
// btnResetGridColor
|
|
//
|
|
this.btnResetGridColor.Location = new System.Drawing.Point(188, 44);
|
|
this.btnResetGridColor.Name = "btnResetGridColor";
|
|
this.btnResetGridColor.Size = new System.Drawing.Size(75, 23);
|
|
this.btnResetGridColor.TabIndex = 15;
|
|
this.btnResetGridColor.Text = "Reset Color";
|
|
this.btnResetGridColor.UseVisualStyleBackColor = true;
|
|
this.btnResetGridColor.Click += new System.EventHandler(this.btnResetGridColor_Click);
|
|
//
|
|
// btnGridColor
|
|
//
|
|
this.btnGridColor.Location = new System.Drawing.Point(188, 15);
|
|
this.btnGridColor.Name = "btnGridColor";
|
|
this.btnGridColor.Size = new System.Drawing.Size(75, 23);
|
|
this.btnGridColor.TabIndex = 14;
|
|
this.btnGridColor.Text = "Pick Color...";
|
|
this.btnGridColor.UseVisualStyleBackColor = true;
|
|
this.btnGridColor.Click += new System.EventHandler(this.btnGridColor_Click);
|
|
//
|
|
// pnlBackground
|
|
//
|
|
this.pnlBackground.Controls.Add(this.lblBackgroundColor);
|
|
this.pnlBackground.Location = new System.Drawing.Point(10, 19);
|
|
this.pnlBackground.Name = "pnlBackground";
|
|
this.pnlBackground.Size = new System.Drawing.Size(130, 50);
|
|
this.pnlBackground.TabIndex = 13;
|
|
this.pnlBackground.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlBackground_Paint);
|
|
//
|
|
// lblBackgroundColor
|
|
//
|
|
this.lblBackgroundColor.BackColor = System.Drawing.Color.Transparent;
|
|
this.lblBackgroundColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.lblBackgroundColor.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblBackgroundColor.Location = new System.Drawing.Point(0, 0);
|
|
this.lblBackgroundColor.Name = "lblBackgroundColor";
|
|
this.lblBackgroundColor.Size = new System.Drawing.Size(130, 50);
|
|
this.lblBackgroundColor.TabIndex = 16;
|
|
this.lblBackgroundColor.Text = "Background Color";
|
|
this.lblBackgroundColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// chkDrawGrid
|
|
//
|
|
this.chkDrawGrid.AutoSize = true;
|
|
this.chkDrawGrid.Location = new System.Drawing.Point(6, 19);
|
|
this.chkDrawGrid.Name = "chkDrawGrid";
|
|
this.chkDrawGrid.Size = new System.Drawing.Size(143, 17);
|
|
this.chkDrawGrid.TabIndex = 12;
|
|
this.chkDrawGrid.Text = "Enable transparency grid";
|
|
this.chkDrawGrid.UseVisualStyleBackColor = true;
|
|
this.chkDrawGrid.CheckedChanged += new System.EventHandler(this.chkDrawGrid_CheckedChanged);
|
|
//
|
|
// grpStitch
|
|
//
|
|
this.grpStitch.Controls.Add(this.lblUglyLength);
|
|
this.grpStitch.Controls.Add(this.lblPixelLength);
|
|
this.grpStitch.Controls.Add(this.txtThreshold);
|
|
this.grpStitch.Controls.Add(this.chkUglyStitches);
|
|
this.grpStitch.Controls.Add(this.lblThreadThickness);
|
|
this.grpStitch.Controls.Add(this.txtThreadThickness);
|
|
this.grpStitch.Controls.Add(this.lblPixelThick);
|
|
this.grpStitch.Location = new System.Drawing.Point(12, 173);
|
|
this.grpStitch.Name = "grpStitch";
|
|
this.grpStitch.Size = new System.Drawing.Size(281, 86);
|
|
this.grpStitch.TabIndex = 3;
|
|
this.grpStitch.TabStop = false;
|
|
this.grpStitch.Text = "Stitch drawing";
|
|
//
|
|
// lblUglyLength
|
|
//
|
|
this.lblUglyLength.AutoSize = true;
|
|
this.lblUglyLength.Location = new System.Drawing.Point(31, 58);
|
|
this.lblUglyLength.Name = "lblUglyLength";
|
|
this.lblUglyLength.Size = new System.Drawing.Size(67, 13);
|
|
this.lblUglyLength.TabIndex = 11;
|
|
this.lblUglyLength.Text = "Ugly Length:";
|
|
//
|
|
// lblPixelLength
|
|
//
|
|
this.lblPixelLength.AutoSize = true;
|
|
this.lblPixelLength.Location = new System.Drawing.Point(142, 58);
|
|
this.lblPixelLength.Name = "lblPixelLength";
|
|
this.lblPixelLength.Size = new System.Drawing.Size(33, 13);
|
|
this.lblPixelLength.TabIndex = 10;
|
|
this.lblPixelLength.Text = "pixels";
|
|
//
|
|
// txtThreshold
|
|
//
|
|
this.txtThreshold.Location = new System.Drawing.Point(104, 55);
|
|
this.txtThreshold.Name = "txtThreshold";
|
|
this.txtThreshold.Size = new System.Drawing.Size(32, 20);
|
|
this.txtThreshold.TabIndex = 9;
|
|
//
|
|
// chkUglyStitches
|
|
//
|
|
this.chkUglyStitches.AutoSize = true;
|
|
this.chkUglyStitches.Location = new System.Drawing.Point(9, 38);
|
|
this.chkUglyStitches.Name = "chkUglyStitches";
|
|
this.chkUglyStitches.Size = new System.Drawing.Size(131, 17);
|
|
this.chkUglyStitches.TabIndex = 8;
|
|
this.chkUglyStitches.Text = "Remove \'ugly\' stitches";
|
|
this.chkUglyStitches.UseVisualStyleBackColor = true;
|
|
//
|
|
// cmbLanguage
|
|
//
|
|
this.cmbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbLanguage.FormattingEnabled = true;
|
|
this.cmbLanguage.Location = new System.Drawing.Point(14, 19);
|
|
this.cmbLanguage.Name = "cmbLanguage";
|
|
this.cmbLanguage.Size = new System.Drawing.Size(132, 21);
|
|
this.cmbLanguage.TabIndex = 10;
|
|
this.cmbLanguage.SelectedIndexChanged += new System.EventHandler(this.cmbLanguage_SelectedIndexChanged);
|
|
//
|
|
// grpLanguage
|
|
//
|
|
this.grpLanguage.Controls.Add(this.lblIncompleteTranslation);
|
|
this.grpLanguage.Controls.Add(this.cmbLanguage);
|
|
this.grpLanguage.Location = new System.Drawing.Point(12, 265);
|
|
this.grpLanguage.Name = "grpLanguage";
|
|
this.grpLanguage.Size = new System.Drawing.Size(281, 56);
|
|
this.grpLanguage.TabIndex = 11;
|
|
this.grpLanguage.TabStop = false;
|
|
this.grpLanguage.Text = "Language";
|
|
//
|
|
// lblIncompleteTranslation
|
|
//
|
|
this.lblIncompleteTranslation.AutoSize = true;
|
|
this.lblIncompleteTranslation.Location = new System.Drawing.Point(152, 22);
|
|
this.lblIncompleteTranslation.Name = "lblIncompleteTranslation";
|
|
this.lblIncompleteTranslation.Size = new System.Drawing.Size(123, 13);
|
|
this.lblIncompleteTranslation.TabIndex = 11;
|
|
this.lblIncompleteTranslation.Text = "Translation is incomplete";
|
|
this.lblIncompleteTranslation.Visible = false;
|
|
//
|
|
// grpTranparencyGrid
|
|
//
|
|
this.grpTranparencyGrid.Controls.Add(this.chkDrawGrid);
|
|
this.grpTranparencyGrid.Controls.Add(this.btnResetGridColor);
|
|
this.grpTranparencyGrid.Controls.Add(this.txtGridSize);
|
|
this.grpTranparencyGrid.Controls.Add(this.btnGridColor);
|
|
this.grpTranparencyGrid.Controls.Add(this.lblGridSize);
|
|
this.grpTranparencyGrid.Controls.Add(this.lblGridSizePixels);
|
|
this.grpTranparencyGrid.Location = new System.Drawing.Point(6, 75);
|
|
this.grpTranparencyGrid.Name = "grpTranparencyGrid";
|
|
this.grpTranparencyGrid.Size = new System.Drawing.Size(269, 74);
|
|
this.grpTranparencyGrid.TabIndex = 12;
|
|
this.grpTranparencyGrid.TabStop = false;
|
|
this.grpTranparencyGrid.Text = "Transparency Grid";
|
|
//
|
|
// frmSettingsDialog
|
|
//
|
|
this.AcceptButton = this.btnOK;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnCancel;
|
|
this.ClientSize = new System.Drawing.Size(305, 359);
|
|
this.Controls.Add(this.grpLanguage);
|
|
this.Controls.Add(this.grpStitch);
|
|
this.Controls.Add(this.grpBackground);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnOK);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "frmSettingsDialog";
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|
this.Text = "Embroidery Reader Settings";
|
|
this.grpBackground.ResumeLayout(false);
|
|
this.pnlBackground.ResumeLayout(false);
|
|
this.grpStitch.ResumeLayout(false);
|
|
this.grpStitch.PerformLayout();
|
|
this.grpLanguage.ResumeLayout(false);
|
|
this.grpLanguage.PerformLayout();
|
|
this.grpTranparencyGrid.ResumeLayout(false);
|
|
this.grpTranparencyGrid.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ColorDialog colorDialog1;
|
|
private System.Windows.Forms.Button btnColor;
|
|
private System.Windows.Forms.Button btnResetColor;
|
|
private System.Windows.Forms.Button btnOK;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Label lblThreadThickness;
|
|
private System.Windows.Forms.TextBox txtThreadThickness;
|
|
private System.Windows.Forms.Label lblPixelThick;
|
|
private System.Windows.Forms.GroupBox grpBackground;
|
|
private System.Windows.Forms.GroupBox grpStitch;
|
|
private System.Windows.Forms.Label lblPixelLength;
|
|
private System.Windows.Forms.TextBox txtThreshold;
|
|
private System.Windows.Forms.CheckBox chkUglyStitches;
|
|
private System.Windows.Forms.Label lblUglyLength;
|
|
private System.Windows.Forms.CheckBox chkDrawGrid;
|
|
private System.Windows.Forms.ComboBox cmbLanguage;
|
|
private System.Windows.Forms.GroupBox grpLanguage;
|
|
private System.Windows.Forms.Panel pnlBackground;
|
|
private System.Windows.Forms.Button btnResetGridColor;
|
|
private System.Windows.Forms.Button btnGridColor;
|
|
private System.Windows.Forms.Label lblBackgroundColor;
|
|
private System.Windows.Forms.Label lblIncompleteTranslation;
|
|
private System.Windows.Forms.TextBox txtGridSize;
|
|
private System.Windows.Forms.Label lblGridSizePixels;
|
|
private System.Windows.Forms.Label lblGridSize;
|
|
private System.Windows.Forms.GroupBox grpTranparencyGrid;
|
|
}
|
|
}
|