mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-18 19:51:39 +12:00
463 lines
No EOL
20 KiB
C#
463 lines
No EOL
20 KiB
C#
/*
|
|
* Greenshot - a free and open source screenshot tool
|
|
* Copyright (C) 2007-2015 Thomas Braun, Jens Klingen, Robin Krom
|
|
*
|
|
* For more information see: http://getgreenshot.org/
|
|
* The Greenshot project is hosted on Sourceforge: http://sourceforge.net/projects/greenshot/
|
|
*
|
|
* 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 1 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, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
namespace Greenshot.Forms {
|
|
partial class TornEdgeSettingsForm {
|
|
/// <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.thickness = new System.Windows.Forms.NumericUpDown();
|
|
this.offsetX = new System.Windows.Forms.NumericUpDown();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.offsetY = new System.Windows.Forms.NumericUpDown();
|
|
this.shadowDarkness = new System.Windows.Forms.TrackBar();
|
|
this.buttonOK = new GreenshotPlugin.Controls.GreenshotButton();
|
|
this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton();
|
|
this.labelDarkness = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.labelOffset = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.labelThickness = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.toothsize = new System.Windows.Forms.NumericUpDown();
|
|
this.label_toothsize = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.label_horizontaltoothrange = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.horizontaltoothrange = new System.Windows.Forms.NumericUpDown();
|
|
this.labelVerticaltoothrange = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.verticaltoothrange = new System.Windows.Forms.NumericUpDown();
|
|
this.top = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
|
this.right = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
|
this.bottom = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
|
this.left = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
|
this.shadowCheckbox = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
|
this.all = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.thickness)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.offsetX)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.offsetY)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.shadowDarkness)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.toothsize)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.horizontaltoothrange)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.verticaltoothrange)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// thickness
|
|
//
|
|
this.thickness.Location = new System.Drawing.Point(173, 35);
|
|
this.thickness.Maximum = new decimal(new int[] {
|
|
20,
|
|
0,
|
|
0,
|
|
0});
|
|
this.thickness.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.thickness.Name = "thickness";
|
|
this.thickness.Size = new System.Drawing.Size(45, 20);
|
|
this.thickness.TabIndex = 2;
|
|
this.thickness.Value = new decimal(new int[] {
|
|
9,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// offsetX
|
|
//
|
|
this.offsetX.Location = new System.Drawing.Point(102, 61);
|
|
this.offsetX.Maximum = new decimal(new int[] {
|
|
20,
|
|
0,
|
|
0,
|
|
0});
|
|
this.offsetX.Minimum = new decimal(new int[] {
|
|
20,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.offsetX.Name = "offsetX";
|
|
this.offsetX.Size = new System.Drawing.Size(45, 20);
|
|
this.offsetX.TabIndex = 3;
|
|
this.offsetX.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(153, 63);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(12, 13);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "x";
|
|
//
|
|
// offsetY
|
|
//
|
|
this.offsetY.Location = new System.Drawing.Point(173, 61);
|
|
this.offsetY.Maximum = new decimal(new int[] {
|
|
20,
|
|
0,
|
|
0,
|
|
0});
|
|
this.offsetY.Minimum = new decimal(new int[] {
|
|
20,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.offsetY.Name = "offsetY";
|
|
this.offsetY.Size = new System.Drawing.Size(45, 20);
|
|
this.offsetY.TabIndex = 4;
|
|
this.offsetY.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
//
|
|
// shadowDarkness
|
|
//
|
|
this.shadowDarkness.Location = new System.Drawing.Point(102, 87);
|
|
this.shadowDarkness.Maximum = 40;
|
|
this.shadowDarkness.Minimum = 1;
|
|
this.shadowDarkness.Name = "shadowDarkness";
|
|
this.shadowDarkness.Size = new System.Drawing.Size(116, 45);
|
|
this.shadowDarkness.TabIndex = 5;
|
|
this.shadowDarkness.Value = 40;
|
|
//
|
|
// buttonOK
|
|
//
|
|
this.buttonOK.LanguageKey = "OK";
|
|
this.buttonOK.Location = new System.Drawing.Point(288, 192);
|
|
this.buttonOK.Name = "buttonOK";
|
|
this.buttonOK.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonOK.TabIndex = 20;
|
|
this.buttonOK.Text = "OK";
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
|
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.buttonCancel.LanguageKey = "CANCEL";
|
|
this.buttonCancel.Location = new System.Drawing.Point(368, 192);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonCancel.TabIndex = 21;
|
|
this.buttonCancel.Text = "Cancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// labelDarkness
|
|
//
|
|
this.labelDarkness.AutoSize = true;
|
|
this.labelDarkness.LanguageKey = "editor_dropshadow_darkness";
|
|
this.labelDarkness.Location = new System.Drawing.Point(12, 97);
|
|
this.labelDarkness.Name = "labelDarkness";
|
|
this.labelDarkness.Size = new System.Drawing.Size(92, 13);
|
|
this.labelDarkness.TabIndex = 13;
|
|
this.labelDarkness.Text = "Shadow darkness";
|
|
//
|
|
// labelOffset
|
|
//
|
|
this.labelOffset.AutoSize = true;
|
|
this.labelOffset.LanguageKey = "editor_dropshadow_offset";
|
|
this.labelOffset.Location = new System.Drawing.Point(12, 63);
|
|
this.labelOffset.Name = "labelOffset";
|
|
this.labelOffset.Size = new System.Drawing.Size(75, 13);
|
|
this.labelOffset.TabIndex = 14;
|
|
this.labelOffset.Tag = "";
|
|
this.labelOffset.Text = "Shadow offset";
|
|
//
|
|
// labelThickness
|
|
//
|
|
this.labelThickness.AutoSize = true;
|
|
this.labelThickness.LanguageKey = "editor_dropshadow_thickness";
|
|
this.labelThickness.Location = new System.Drawing.Point(12, 37);
|
|
this.labelThickness.Name = "labelThickness";
|
|
this.labelThickness.Size = new System.Drawing.Size(94, 13);
|
|
this.labelThickness.TabIndex = 15;
|
|
this.labelThickness.Text = "Shadow thickness";
|
|
//
|
|
// toothsize
|
|
//
|
|
this.toothsize.Location = new System.Drawing.Point(173, 138);
|
|
this.toothsize.Maximum = new decimal(new int[] {
|
|
40,
|
|
0,
|
|
0,
|
|
0});
|
|
this.toothsize.Minimum = new decimal(new int[] {
|
|
2,
|
|
0,
|
|
0,
|
|
0});
|
|
this.toothsize.Name = "toothsize";
|
|
this.toothsize.Size = new System.Drawing.Size(45, 20);
|
|
this.toothsize.TabIndex = 6;
|
|
this.toothsize.Value = new decimal(new int[] {
|
|
12,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// label_toothsize
|
|
//
|
|
this.label_toothsize.AutoSize = true;
|
|
this.label_toothsize.LanguageKey = "editor_tornedge_toothsize";
|
|
this.label_toothsize.Location = new System.Drawing.Point(12, 140);
|
|
this.label_toothsize.Name = "label_toothsize";
|
|
this.label_toothsize.Size = new System.Drawing.Size(56, 13);
|
|
this.label_toothsize.TabIndex = 17;
|
|
this.label_toothsize.Text = "Tooth size";
|
|
//
|
|
// label_horizontaltoothrange
|
|
//
|
|
this.label_horizontaltoothrange.AutoSize = true;
|
|
this.label_horizontaltoothrange.LanguageKey = "editor_tornedge_horizontaltoothrange";
|
|
this.label_horizontaltoothrange.Location = new System.Drawing.Point(12, 166);
|
|
this.label_horizontaltoothrange.Name = "label_horizontaltoothrange";
|
|
this.label_horizontaltoothrange.Size = new System.Drawing.Size(111, 13);
|
|
this.label_horizontaltoothrange.TabIndex = 19;
|
|
this.label_horizontaltoothrange.Text = "Horizontal tooth range";
|
|
//
|
|
// horizontaltoothrange
|
|
//
|
|
this.horizontaltoothrange.Location = new System.Drawing.Point(173, 164);
|
|
this.horizontaltoothrange.Maximum = new decimal(new int[] {
|
|
40,
|
|
0,
|
|
0,
|
|
0});
|
|
this.horizontaltoothrange.Minimum = new decimal(new int[] {
|
|
2,
|
|
0,
|
|
0,
|
|
0});
|
|
this.horizontaltoothrange.Name = "horizontaltoothrange";
|
|
this.horizontaltoothrange.Size = new System.Drawing.Size(45, 20);
|
|
this.horizontaltoothrange.TabIndex = 7;
|
|
this.horizontaltoothrange.Value = new decimal(new int[] {
|
|
20,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// labelVerticaltoothrange
|
|
//
|
|
this.labelVerticaltoothrange.AutoSize = true;
|
|
this.labelVerticaltoothrange.LanguageKey = "editor_tornedge_verticaltoothrange";
|
|
this.labelVerticaltoothrange.Location = new System.Drawing.Point(12, 192);
|
|
this.labelVerticaltoothrange.Name = "labelVerticaltoothrange";
|
|
this.labelVerticaltoothrange.Size = new System.Drawing.Size(99, 13);
|
|
this.labelVerticaltoothrange.TabIndex = 21;
|
|
this.labelVerticaltoothrange.Text = "Vertical tooth range";
|
|
//
|
|
// verticaltoothrange
|
|
//
|
|
this.verticaltoothrange.Location = new System.Drawing.Point(173, 190);
|
|
this.verticaltoothrange.Maximum = new decimal(new int[] {
|
|
40,
|
|
0,
|
|
0,
|
|
0});
|
|
this.verticaltoothrange.Minimum = new decimal(new int[] {
|
|
2,
|
|
0,
|
|
0,
|
|
0});
|
|
this.verticaltoothrange.Name = "verticaltoothrange";
|
|
this.verticaltoothrange.Size = new System.Drawing.Size(45, 20);
|
|
this.verticaltoothrange.TabIndex = 8;
|
|
this.verticaltoothrange.Value = new decimal(new int[] {
|
|
20,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// top
|
|
//
|
|
this.top.AutoSize = true;
|
|
this.top.CheckAlign = System.Drawing.ContentAlignment.BottomCenter;
|
|
this.top.LanguageKey = "editor_tornedge_top";
|
|
this.top.Location = new System.Drawing.Point(312, 48);
|
|
this.top.Name = "top";
|
|
this.top.Size = new System.Drawing.Size(52, 31);
|
|
this.top.TabIndex = 10;
|
|
this.top.Text = "Top side";
|
|
this.top.UseVisualStyleBackColor = true;
|
|
this.top.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
|
|
//
|
|
// right
|
|
//
|
|
this.right.AutoSize = true;
|
|
this.right.LanguageKey = "editor_tornedge_right";
|
|
this.right.Location = new System.Drawing.Point(360, 96);
|
|
this.right.Name = "right";
|
|
this.right.Size = new System.Drawing.Size(73, 17);
|
|
this.right.TabIndex = 11;
|
|
this.right.Text = "Right side";
|
|
this.right.UseVisualStyleBackColor = true;
|
|
this.right.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
|
|
//
|
|
// bottom
|
|
//
|
|
this.bottom.AutoSize = true;
|
|
this.bottom.CheckAlign = System.Drawing.ContentAlignment.TopCenter;
|
|
this.bottom.LanguageKey = "editor_tornedge_bottom";
|
|
this.bottom.Location = new System.Drawing.Point(304, 128);
|
|
this.bottom.Name = "bottom";
|
|
this.bottom.Size = new System.Drawing.Size(66, 31);
|
|
this.bottom.TabIndex = 12;
|
|
this.bottom.Text = "Bottom side";
|
|
this.bottom.UseVisualStyleBackColor = true;
|
|
this.bottom.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
|
|
//
|
|
// left
|
|
//
|
|
this.left.AutoSize = true;
|
|
this.left.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.left.LanguageKey = "editor_tornedge_left";
|
|
this.left.Location = new System.Drawing.Point(248, 96);
|
|
this.left.Name = "left";
|
|
this.left.Size = new System.Drawing.Size(66, 17);
|
|
this.left.TabIndex = 13;
|
|
this.left.Text = "Left side";
|
|
this.left.UseVisualStyleBackColor = true;
|
|
this.left.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
|
|
//
|
|
// shadowCheckbox
|
|
//
|
|
this.shadowCheckbox.AutoSize = true;
|
|
this.shadowCheckbox.LanguageKey = "editor_tornedge_shadow";
|
|
this.shadowCheckbox.Location = new System.Drawing.Point(12, 12);
|
|
this.shadowCheckbox.Name = "shadowCheckbox";
|
|
this.shadowCheckbox.Size = new System.Drawing.Size(110, 17);
|
|
this.shadowCheckbox.TabIndex = 1;
|
|
this.shadowCheckbox.Text = "Generate shadow";
|
|
this.shadowCheckbox.UseVisualStyleBackColor = true;
|
|
this.shadowCheckbox.CheckedChanged += new System.EventHandler(this.shadowCheckbox_CheckedChanged);
|
|
//
|
|
// all
|
|
//
|
|
this.all.AutoSize = true;
|
|
this.all.LanguageKey = "editor_tornedge_left";
|
|
this.all.Location = new System.Drawing.Point(248, 12);
|
|
this.all.Name = "all";
|
|
this.all.Size = new System.Drawing.Size(88, 17);
|
|
this.all.TabIndex = 9;
|
|
this.all.Text = "Tear all sides";
|
|
this.all.UseVisualStyleBackColor = true;
|
|
this.all.CheckedChanged += new System.EventHandler(this.all_CheckedChanged);
|
|
//
|
|
// TornEdgeSettingsForm
|
|
//
|
|
this.AcceptButton = this.buttonOK;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.AutoSize = true;
|
|
this.CancelButton = this.buttonCancel;
|
|
this.ClientSize = new System.Drawing.Size(454, 224);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.all);
|
|
this.Controls.Add(this.shadowCheckbox);
|
|
this.Controls.Add(this.left);
|
|
this.Controls.Add(this.bottom);
|
|
this.Controls.Add(this.right);
|
|
this.Controls.Add(this.top);
|
|
this.Controls.Add(this.labelVerticaltoothrange);
|
|
this.Controls.Add(this.verticaltoothrange);
|
|
this.Controls.Add(this.label_horizontaltoothrange);
|
|
this.Controls.Add(this.horizontaltoothrange);
|
|
this.Controls.Add(this.label_toothsize);
|
|
this.Controls.Add(this.toothsize);
|
|
this.Controls.Add(this.labelThickness);
|
|
this.Controls.Add(this.labelOffset);
|
|
this.Controls.Add(this.labelDarkness);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonOK);
|
|
this.Controls.Add(this.shadowDarkness);
|
|
this.Controls.Add(this.offsetY);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.offsetX);
|
|
this.Controls.Add(this.thickness);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.LanguageKey = "editor_tornedge_settings";
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "TornEdgeSettingsForm";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Torn edges settings";
|
|
this.Load += new System.EventHandler(this.TornEdgeSettingsForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.thickness)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.offsetX)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.offsetY)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.shadowDarkness)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.toothsize)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.horizontaltoothrange)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.verticaltoothrange)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.NumericUpDown thickness;
|
|
private System.Windows.Forms.NumericUpDown offsetX;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.NumericUpDown offsetY;
|
|
private System.Windows.Forms.TrackBar shadowDarkness;
|
|
private GreenshotPlugin.Controls.GreenshotButton buttonOK;
|
|
private GreenshotPlugin.Controls.GreenshotButton buttonCancel;
|
|
private GreenshotPlugin.Controls.GreenshotLabel labelDarkness;
|
|
private GreenshotPlugin.Controls.GreenshotLabel labelOffset;
|
|
private GreenshotPlugin.Controls.GreenshotLabel labelThickness;
|
|
private System.Windows.Forms.NumericUpDown toothsize;
|
|
private GreenshotPlugin.Controls.GreenshotLabel label_toothsize;
|
|
private GreenshotPlugin.Controls.GreenshotLabel label_horizontaltoothrange;
|
|
private System.Windows.Forms.NumericUpDown horizontaltoothrange;
|
|
private GreenshotPlugin.Controls.GreenshotLabel labelVerticaltoothrange;
|
|
private System.Windows.Forms.NumericUpDown verticaltoothrange;
|
|
private GreenshotPlugin.Controls.GreenshotCheckBox top;
|
|
private GreenshotPlugin.Controls.GreenshotCheckBox right;
|
|
private GreenshotPlugin.Controls.GreenshotCheckBox bottom;
|
|
private GreenshotPlugin.Controls.GreenshotCheckBox left;
|
|
private GreenshotPlugin.Controls.GreenshotCheckBox shadowCheckbox;
|
|
private GreenshotPlugin.Controls.GreenshotCheckBox all;
|
|
}
|
|
} |