kopia lustrzana https://github.com/njcrawford/EmbroideryReader
257 wiersze
11 KiB
C#
257 wiersze
11 KiB
C#
/*
|
|
Embridery Reader - an application to view .pes embroidery designs
|
|
|
|
Copyright (C) 2008 Nathan Crawford
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
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
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
02111-1307, USA.
|
|
|
|
A copy of the full GPL 2 license can be found in the docs directory.
|
|
You can contact me at http://www.njcrawford.com/contact.html.
|
|
*/
|
|
|
|
|
|
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()
|
|
{
|
|
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
|
|
this.btnColor = new System.Windows.Forms.Button();
|
|
this.lblColor = new System.Windows.Forms.Label();
|
|
this.btnResetColor = new System.Windows.Forms.Button();
|
|
this.btnOK = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtThreadThickness = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.chkUglyStitches = new System.Windows.Forms.CheckBox();
|
|
this.txtThreshold = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnColor
|
|
//
|
|
this.btnColor.Location = new System.Drawing.Point(171, 16);
|
|
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);
|
|
//
|
|
// lblColor
|
|
//
|
|
this.lblColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.lblColor.Location = new System.Drawing.Point(6, 16);
|
|
this.lblColor.Name = "lblColor";
|
|
this.lblColor.Size = new System.Drawing.Size(130, 52);
|
|
this.lblColor.TabIndex = 1;
|
|
this.lblColor.Text = "Background Color";
|
|
this.lblColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// btnResetColor
|
|
//
|
|
this.btnResetColor.Location = new System.Drawing.Point(171, 45);
|
|
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(171, 190);
|
|
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(252, 190);
|
|
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);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 16);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(92, 13);
|
|
this.label1.TabIndex = 5;
|
|
this.label1.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;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(142, 16);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(33, 13);
|
|
this.label2.TabIndex = 7;
|
|
this.label2.Text = "pixels";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.lblColor);
|
|
this.groupBox1.Controls.Add(this.btnColor);
|
|
this.groupBox1.Controls.Add(this.btnResetColor);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(315, 79);
|
|
this.groupBox1.TabIndex = 8;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Background";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.label4);
|
|
this.groupBox2.Controls.Add(this.label3);
|
|
this.groupBox2.Controls.Add(this.txtThreshold);
|
|
this.groupBox2.Controls.Add(this.chkUglyStitches);
|
|
this.groupBox2.Controls.Add(this.label1);
|
|
this.groupBox2.Controls.Add(this.txtThreadThickness);
|
|
this.groupBox2.Controls.Add(this.label2);
|
|
this.groupBox2.Location = new System.Drawing.Point(12, 97);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(315, 87);
|
|
this.groupBox2.TabIndex = 3;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Stitch drawing";
|
|
//
|
|
// 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;
|
|
//
|
|
// txtThreshold
|
|
//
|
|
this.txtThreshold.Location = new System.Drawing.Point(130, 55);
|
|
this.txtThreshold.Name = "txtThreshold";
|
|
this.txtThreshold.Size = new System.Drawing.Size(32, 20);
|
|
this.txtThreshold.TabIndex = 9;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(168, 58);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(33, 13);
|
|
this.label3.TabIndex = 10;
|
|
this.label3.Text = "pixels";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(57, 58);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(67, 13);
|
|
this.label4.TabIndex = 11;
|
|
this.label4.Text = "Ugly Length:";
|
|
//
|
|
// 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(339, 225);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnOK);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "frmSettingsDialog";
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|
this.Text = "Embroidery Reader Settings";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ColorDialog colorDialog1;
|
|
private System.Windows.Forms.Button btnColor;
|
|
private System.Windows.Forms.Label lblColor;
|
|
private System.Windows.Forms.Button btnResetColor;
|
|
private System.Windows.Forms.Button btnOK;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox txtThreadThickness;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtThreshold;
|
|
private System.Windows.Forms.CheckBox chkUglyStitches;
|
|
private System.Windows.Forms.Label label4;
|
|
}
|
|
} |