mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
ba5b52791e
* (Add) Tool: Layer Clone * (Add) Mutator: Mask * (Add) Mutator - Pixel Dimming: "Strips" pattern * (Remove) Bottom progress bar
316 lines
16 KiB
C#
316 lines
16 KiB
C#
using UVtools.GUI.Controls;
|
|
|
|
namespace UVtools.GUI.Forms
|
|
{
|
|
partial class FrmToolLayerClone
|
|
{
|
|
/// <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.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmToolLayerClone));
|
|
this.lbDescription = new System.Windows.Forms.Label();
|
|
this.lbLayerRange = new System.Windows.Forms.Label();
|
|
this.nmLayerRangeStart = new System.Windows.Forms.NumericUpDown();
|
|
this.nmLayerRangeEnd = new System.Windows.Forms.NumericUpDown();
|
|
this.lbLayerRangeTo = new System.Windows.Forms.Label();
|
|
this.cmLayerRange = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.btnLayerRangeAllLayers = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.btnLayerRangeCurrentLayer = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.btnLayerRangeBottomLayers = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.btnLayerRangeNormalLayers = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.nmClones = new System.Windows.Forms.NumericUpDown();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
this.lbLayersCount = new System.Windows.Forms.Label();
|
|
this.lbHeights = new System.Windows.Forms.Label();
|
|
this.btnLayerRangeSelect = new UVtools.GUI.Controls.SplitButton();
|
|
((System.ComponentModel.ISupportInitialize)(this.nmLayerRangeStart)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nmLayerRangeEnd)).BeginInit();
|
|
this.cmLayerRange.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nmClones)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// lbDescription
|
|
//
|
|
this.lbDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lbDescription.Location = new System.Drawing.Point(13, 14);
|
|
this.lbDescription.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lbDescription.Name = "lbDescription";
|
|
this.lbDescription.Size = new System.Drawing.Size(584, 39);
|
|
this.lbDescription.TabIndex = 0;
|
|
this.lbDescription.Text = "Clone layers, usefull to fix a model height, for structural parts and fix raft he" +
|
|
"igth.";
|
|
//
|
|
// lbLayerRange
|
|
//
|
|
this.lbLayerRange.AutoSize = true;
|
|
this.lbLayerRange.Location = new System.Drawing.Point(13, 62);
|
|
this.lbLayerRange.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lbLayerRange.Name = "lbLayerRange";
|
|
this.lbLayerRange.Size = new System.Drawing.Size(97, 20);
|
|
this.lbLayerRange.TabIndex = 9;
|
|
this.lbLayerRange.Text = "Layer range:";
|
|
//
|
|
// nmLayerRangeStart
|
|
//
|
|
this.nmLayerRangeStart.Location = new System.Drawing.Point(118, 59);
|
|
this.nmLayerRangeStart.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.nmLayerRangeStart.Maximum = new decimal(new int[] {
|
|
100000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nmLayerRangeStart.Name = "nmLayerRangeStart";
|
|
this.nmLayerRangeStart.Size = new System.Drawing.Size(120, 26);
|
|
this.nmLayerRangeStart.TabIndex = 0;
|
|
this.nmLayerRangeStart.ValueChanged += new System.EventHandler(this.EventValueChanged);
|
|
//
|
|
// nmLayerRangeEnd
|
|
//
|
|
this.nmLayerRangeEnd.Location = new System.Drawing.Point(314, 59);
|
|
this.nmLayerRangeEnd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.nmLayerRangeEnd.Maximum = new decimal(new int[] {
|
|
100000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nmLayerRangeEnd.Name = "nmLayerRangeEnd";
|
|
this.nmLayerRangeEnd.Size = new System.Drawing.Size(120, 26);
|
|
this.nmLayerRangeEnd.TabIndex = 1;
|
|
this.nmLayerRangeEnd.ValueChanged += new System.EventHandler(this.EventValueChanged);
|
|
//
|
|
// lbLayerRangeTo
|
|
//
|
|
this.lbLayerRangeTo.AutoSize = true;
|
|
this.lbLayerRangeTo.Location = new System.Drawing.Point(275, 62);
|
|
this.lbLayerRangeTo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lbLayerRangeTo.Name = "lbLayerRangeTo";
|
|
this.lbLayerRangeTo.Size = new System.Drawing.Size(31, 20);
|
|
this.lbLayerRangeTo.TabIndex = 12;
|
|
this.lbLayerRangeTo.Text = "To:";
|
|
//
|
|
// cmLayerRange
|
|
//
|
|
this.cmLayerRange.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.btnLayerRangeAllLayers,
|
|
this.btnLayerRangeCurrentLayer,
|
|
this.btnLayerRangeBottomLayers,
|
|
this.btnLayerRangeNormalLayers});
|
|
this.cmLayerRange.Name = "cmLayerRange";
|
|
this.cmLayerRange.Size = new System.Drawing.Size(226, 92);
|
|
//
|
|
// btnLayerRangeAllLayers
|
|
//
|
|
this.btnLayerRangeAllLayers.Name = "btnLayerRangeAllLayers";
|
|
this.btnLayerRangeAllLayers.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
|
| System.Windows.Forms.Keys.A)));
|
|
this.btnLayerRangeAllLayers.Size = new System.Drawing.Size(225, 22);
|
|
this.btnLayerRangeAllLayers.Text = "&All Layers";
|
|
this.btnLayerRangeAllLayers.Click += new System.EventHandler(this.EventClick);
|
|
//
|
|
// btnLayerRangeCurrentLayer
|
|
//
|
|
this.btnLayerRangeCurrentLayer.Name = "btnLayerRangeCurrentLayer";
|
|
this.btnLayerRangeCurrentLayer.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
|
| System.Windows.Forms.Keys.C)));
|
|
this.btnLayerRangeCurrentLayer.Size = new System.Drawing.Size(225, 22);
|
|
this.btnLayerRangeCurrentLayer.Text = "&Current Layer";
|
|
this.btnLayerRangeCurrentLayer.Click += new System.EventHandler(this.EventClick);
|
|
//
|
|
// btnLayerRangeBottomLayers
|
|
//
|
|
this.btnLayerRangeBottomLayers.Name = "btnLayerRangeBottomLayers";
|
|
this.btnLayerRangeBottomLayers.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
|
| System.Windows.Forms.Keys.B)));
|
|
this.btnLayerRangeBottomLayers.Size = new System.Drawing.Size(225, 22);
|
|
this.btnLayerRangeBottomLayers.Text = "&Bottom Layers";
|
|
this.btnLayerRangeBottomLayers.Click += new System.EventHandler(this.EventClick);
|
|
//
|
|
// btnLayerRangeNormalLayers
|
|
//
|
|
this.btnLayerRangeNormalLayers.Name = "btnLayerRangeNormalLayers";
|
|
this.btnLayerRangeNormalLayers.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
|
| System.Windows.Forms.Keys.N)));
|
|
this.btnLayerRangeNormalLayers.Size = new System.Drawing.Size(225, 22);
|
|
this.btnLayerRangeNormalLayers.Text = "&Normal Layers";
|
|
this.btnLayerRangeNormalLayers.Click += new System.EventHandler(this.EventClick);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(48, 96);
|
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(62, 20);
|
|
this.label4.TabIndex = 21;
|
|
this.label4.Text = "Clones:";
|
|
//
|
|
// nmClones
|
|
//
|
|
this.nmClones.Location = new System.Drawing.Point(118, 93);
|
|
this.nmClones.Maximum = new decimal(new int[] {
|
|
10000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nmClones.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nmClones.Name = "nmClones";
|
|
this.nmClones.Size = new System.Drawing.Size(121, 26);
|
|
this.nmClones.TabIndex = 19;
|
|
this.nmClones.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nmClones.ValueChanged += new System.EventHandler(this.EventValueChanged);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Image = global::UVtools.GUI.Properties.Resources.Cancel_24x24;
|
|
this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.btnCancel.Location = new System.Drawing.Point(434, 196);
|
|
this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(150, 48);
|
|
this.btnCancel.TabIndex = 6;
|
|
this.btnCancel.Text = "&Cancel";
|
|
this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.EventClick);
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btnOk.Image = global::UVtools.GUI.Properties.Resources.Ok_24x24;
|
|
this.btnOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.btnOk.Location = new System.Drawing.Point(276, 196);
|
|
this.btnOk.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(150, 48);
|
|
this.btnOk.TabIndex = 5;
|
|
this.btnOk.Text = "&Clone";
|
|
this.btnOk.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
this.btnOk.Click += new System.EventHandler(this.EventClick);
|
|
//
|
|
// lbLayersCount
|
|
//
|
|
this.lbLayersCount.AutoSize = true;
|
|
this.lbLayersCount.Location = new System.Drawing.Point(13, 137);
|
|
this.lbLayersCount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lbLayersCount.Name = "lbLayersCount";
|
|
this.lbLayersCount.Size = new System.Drawing.Size(56, 20);
|
|
this.lbLayersCount.TabIndex = 22;
|
|
this.lbLayersCount.Text = "Layers";
|
|
//
|
|
// lbHeights
|
|
//
|
|
this.lbHeights.AutoSize = true;
|
|
this.lbHeights.Location = new System.Drawing.Point(13, 161);
|
|
this.lbHeights.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lbHeights.Name = "lbHeights";
|
|
this.lbHeights.Size = new System.Drawing.Size(56, 20);
|
|
this.lbHeights.TabIndex = 23;
|
|
this.lbHeights.Text = "Height";
|
|
//
|
|
// btnLayerRangeSelect
|
|
//
|
|
this.btnLayerRangeSelect.Location = new System.Drawing.Point(446, 58);
|
|
this.btnLayerRangeSelect.Menu = this.cmLayerRange;
|
|
this.btnLayerRangeSelect.Name = "btnLayerRangeSelect";
|
|
this.btnLayerRangeSelect.Size = new System.Drawing.Size(138, 26);
|
|
this.btnLayerRangeSelect.TabIndex = 2;
|
|
this.btnLayerRangeSelect.Text = "Select";
|
|
this.btnLayerRangeSelect.UseVisualStyleBackColor = true;
|
|
//
|
|
// FrmToolLayerClone
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnCancel;
|
|
this.ClientSize = new System.Drawing.Size(599, 258);
|
|
this.Controls.Add(this.lbHeights);
|
|
this.Controls.Add(this.lbLayersCount);
|
|
this.Controls.Add(this.btnLayerRangeSelect);
|
|
this.Controls.Add(this.lbLayerRangeTo);
|
|
this.Controls.Add(this.nmLayerRangeEnd);
|
|
this.Controls.Add(this.nmLayerRangeStart);
|
|
this.Controls.Add(this.lbLayerRange);
|
|
this.Controls.Add(this.btnOk);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.lbDescription);
|
|
this.Controls.Add(this.nmClones);
|
|
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.KeyPreview = true;
|
|
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FrmToolLayerClone";
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Pattern";
|
|
this.TopMost = true;
|
|
((System.ComponentModel.ISupportInitialize)(this.nmLayerRangeStart)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nmLayerRangeEnd)).EndInit();
|
|
this.cmLayerRange.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.nmClones)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label lbDescription;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Button btnOk;
|
|
private System.Windows.Forms.Label lbLayerRange;
|
|
private System.Windows.Forms.NumericUpDown nmLayerRangeStart;
|
|
private System.Windows.Forms.NumericUpDown nmLayerRangeEnd;
|
|
private System.Windows.Forms.Label lbLayerRangeTo;
|
|
private System.Windows.Forms.ContextMenuStrip cmLayerRange;
|
|
private System.Windows.Forms.ToolStripMenuItem btnLayerRangeAllLayers;
|
|
private System.Windows.Forms.ToolStripMenuItem btnLayerRangeCurrentLayer;
|
|
private System.Windows.Forms.ToolStripMenuItem btnLayerRangeBottomLayers;
|
|
private System.Windows.Forms.ToolStripMenuItem btnLayerRangeNormalLayers;
|
|
private System.Windows.Forms.NumericUpDown nmClones;
|
|
private System.Windows.Forms.Label label4;
|
|
private SplitButton btnLayerRangeSelect;
|
|
private System.Windows.Forms.Label lbLayersCount;
|
|
private System.Windows.Forms.Label lbHeights;
|
|
}
|
|
} |