WPF Progress

This commit is contained in:
Tiago Conceição
2020-09-26 03:52:57 +01:00
parent 85690aec9f
commit 3ec6472706
19 changed files with 726 additions and 42 deletions
+22 -22
View File
@@ -41,6 +41,7 @@ namespace UVtools.GUI.Forms
this.lbLayerRangeFromMM = new System.Windows.Forms.Label();
this.lbLayerRangeToMM = new System.Windows.Forms.Label();
this.nmLayerRangeEnd = new System.Windows.Forms.NumericUpDown();
this.btnLayerRangeSelect = new UVtools.GUI.Controls.SplitButton();
this.cmLayerRange = new System.Windows.Forms.ContextMenuStrip(this.components);
this.btnLayerRangeAllLayers = new System.Windows.Forms.ToolStripMenuItem();
this.btnLayerRangeCurrentLayer = new System.Windows.Forms.ToolStripMenuItem();
@@ -61,11 +62,10 @@ namespace UVtools.GUI.Forms
this.btnOk = new System.Windows.Forms.Button();
this.pnROI = new System.Windows.Forms.Panel();
this.gbROI = new System.Windows.Forms.GroupBox();
this.cbClearRoiAfterOperation = new System.Windows.Forms.CheckBox();
this.lbRoi = new System.Windows.Forms.Label();
this.btnClearRoi = new System.Windows.Forms.Button();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.cbClearRoiAfterOperation = new System.Windows.Forms.CheckBox();
this.btnLayerRangeSelect = new UVtools.GUI.Controls.SplitButton();
this.pnDescription.SuspendLayout();
this.pnLayerRange.SuspendLayout();
this.gbLayerRange.SuspendLayout();
@@ -193,6 +193,16 @@ namespace UVtools.GUI.Forms
this.nmLayerRangeEnd.TabIndex = 14;
this.nmLayerRangeEnd.ValueChanged += new System.EventHandler(this.EventValueChanged);
//
// btnLayerRangeSelect
//
this.btnLayerRangeSelect.Location = new System.Drawing.Point(359, 31);
this.btnLayerRangeSelect.Menu = this.cmLayerRange;
this.btnLayerRangeSelect.Name = "btnLayerRangeSelect";
this.btnLayerRangeSelect.Size = new System.Drawing.Size(180, 26);
this.btnLayerRangeSelect.TabIndex = 18;
this.btnLayerRangeSelect.Text = "Select";
this.btnLayerRangeSelect.UseVisualStyleBackColor = true;
//
// cmLayerRange
//
this.cmLayerRange.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -434,6 +444,16 @@ namespace UVtools.GUI.Forms
this.gbROI.Text = "ROI - Region of interest";
this.toolTip.SetToolTip(this.gbROI, "The impact of the operation will be limited to the ROI, which can be set directly" +
" from the layer preview window.");
//
// cbClearRoiAfterOperation
//
this.cbClearRoiAfterOperation.AutoSize = true;
this.cbClearRoiAfterOperation.Location = new System.Drawing.Point(11, 61);
this.cbClearRoiAfterOperation.Name = "cbClearRoiAfterOperation";
this.cbClearRoiAfterOperation.Size = new System.Drawing.Size(292, 24);
this.cbClearRoiAfterOperation.TabIndex = 3;
this.cbClearRoiAfterOperation.Text = "Clear ROI after perform the operation";
this.cbClearRoiAfterOperation.UseVisualStyleBackColor = true;
//
// lbRoi
//
@@ -464,26 +484,6 @@ namespace UVtools.GUI.Forms
this.toolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;
this.toolTip.ToolTipTitle = "Information";
//
// cbClearRoiAfterOperation
//
this.cbClearRoiAfterOperation.AutoSize = true;
this.cbClearRoiAfterOperation.Location = new System.Drawing.Point(11, 61);
this.cbClearRoiAfterOperation.Name = "cbClearRoiAfterOperation";
this.cbClearRoiAfterOperation.Size = new System.Drawing.Size(292, 24);
this.cbClearRoiAfterOperation.TabIndex = 3;
this.cbClearRoiAfterOperation.Text = "Clear ROI after perform the operation";
this.cbClearRoiAfterOperation.UseVisualStyleBackColor = true;
//
// btnLayerRangeSelect
//
this.btnLayerRangeSelect.Location = new System.Drawing.Point(359, 31);
this.btnLayerRangeSelect.Menu = this.cmLayerRange;
this.btnLayerRangeSelect.Name = "btnLayerRangeSelect";
this.btnLayerRangeSelect.Size = new System.Drawing.Size(180, 26);
this.btnLayerRangeSelect.TabIndex = 18;
this.btnLayerRangeSelect.Text = "Select";
this.btnLayerRangeSelect.UseVisualStyleBackColor = true;
//
// FrmToolWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);