2023-04-25 02:33:40 +12:00
|
|
|
|
namespace ShareX.MediaLib
|
|
|
|
|
{
|
|
|
|
|
partial class ImageBeautifierForm
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
#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()
|
|
|
|
|
{
|
2023-04-25 09:04:52 +12:00
|
|
|
|
this.components = new System.ComponentModel.Container();
|
2024-01-17 15:26:44 +13:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImageBeautifierForm));
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.lblMargin = new System.Windows.Forms.Label();
|
|
|
|
|
this.tbMargin = new System.Windows.Forms.TrackBar();
|
|
|
|
|
this.lblPadding = new System.Windows.Forms.Label();
|
|
|
|
|
this.tbPadding = new System.Windows.Forms.TrackBar();
|
|
|
|
|
this.cbSmartPadding = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.lblRoundedCorner = new System.Windows.Forms.Label();
|
|
|
|
|
this.tbRoundedCorner = new System.Windows.Forms.TrackBar();
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.lblShadowRadius = new System.Windows.Forms.Label();
|
|
|
|
|
this.tbShadowRadius = new System.Windows.Forms.TrackBar();
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.lblBackground = new System.Windows.Forms.Label();
|
2023-04-25 03:38:50 +12:00
|
|
|
|
this.lblMarginValue = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblPaddingValue = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblRoundedCornerValue = new System.Windows.Forms.Label();
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.lblShadowRadiusValue = new System.Windows.Forms.Label();
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.tlpMain = new System.Windows.Forms.TableLayoutPanel();
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.pbPreview = new ShareX.HelpersLib.MyPictureBox();
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.pOptions = new System.Windows.Forms.Panel();
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.btnShadowExpand = new System.Windows.Forms.Button();
|
2023-06-08 19:23:51 +12:00
|
|
|
|
this.gbShadow = new System.Windows.Forms.GroupBox();
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.lblShadowAngleValue = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblShadowDistanceValue = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblShadowOpacityValue = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnShadowColor = new ShareX.HelpersLib.ColorButton();
|
|
|
|
|
this.tbShadowAngle = new System.Windows.Forms.TrackBar();
|
|
|
|
|
this.lblShadowAngle = new System.Windows.Forms.Label();
|
|
|
|
|
this.tbShadowDistance = new System.Windows.Forms.TrackBar();
|
|
|
|
|
this.lblShadowOpacity = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblShadowDistance = new System.Windows.Forms.Label();
|
|
|
|
|
this.tbShadowOpacity = new System.Windows.Forms.TrackBar();
|
2023-05-31 02:56:52 +12:00
|
|
|
|
this.btnResetOptions = new System.Windows.Forms.Button();
|
2023-05-30 23:46:32 +12:00
|
|
|
|
this.lblBackgroundImageFilePath = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnBackgroundImageFilePathBrowse = new System.Windows.Forms.Button();
|
2023-05-01 08:26:17 +12:00
|
|
|
|
this.cbBackgroundType = new System.Windows.Forms.ComboBox();
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnPrint = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnUpload = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnSaveAs = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnCopy = new System.Windows.Forms.Button();
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.pbBackground = new System.Windows.Forms.PictureBox();
|
2023-04-25 09:04:52 +12:00
|
|
|
|
this.ttMain = new System.Windows.Forms.ToolTip(this.components);
|
2023-04-25 02:33:40 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbMargin)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbPadding)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbRoundedCorner)).BeginInit();
|
2023-06-07 18:18:53 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowRadius)).BeginInit();
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.tlpMain.SuspendLayout();
|
|
|
|
|
this.pOptions.SuspendLayout();
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.gbShadow.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowAngle)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowDistance)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowOpacity)).BeginInit();
|
2023-04-25 06:27:23 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pbBackground)).BeginInit();
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// lblMargin
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblMargin, "lblMargin");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.lblMargin.Name = "lblMargin";
|
|
|
|
|
//
|
|
|
|
|
// tbMargin
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tbMargin, "tbMargin");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.tbMargin.Maximum = 300;
|
|
|
|
|
this.tbMargin.Name = "tbMargin";
|
|
|
|
|
this.tbMargin.TickFrequency = 10;
|
|
|
|
|
this.tbMargin.Scroll += new System.EventHandler(this.tbMargin_Scroll);
|
2023-05-31 02:56:52 +12:00
|
|
|
|
this.tbMargin.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbMargin_MouseUp);
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
|
|
|
|
// lblPadding
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblPadding, "lblPadding");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.lblPadding.Name = "lblPadding";
|
|
|
|
|
//
|
|
|
|
|
// tbPadding
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tbPadding, "tbPadding");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.tbPadding.Maximum = 200;
|
|
|
|
|
this.tbPadding.Name = "tbPadding";
|
|
|
|
|
this.tbPadding.TickFrequency = 10;
|
|
|
|
|
this.tbPadding.Scroll += new System.EventHandler(this.tbPadding_Scroll);
|
2023-05-31 02:56:52 +12:00
|
|
|
|
this.tbPadding.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbPadding_MouseUp);
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
|
|
|
|
// cbSmartPadding
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.cbSmartPadding, "cbSmartPadding");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.cbSmartPadding.Name = "cbSmartPadding";
|
|
|
|
|
this.cbSmartPadding.UseVisualStyleBackColor = true;
|
|
|
|
|
this.cbSmartPadding.CheckedChanged += new System.EventHandler(this.cbSmartPadding_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// lblRoundedCorner
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblRoundedCorner, "lblRoundedCorner");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.lblRoundedCorner.Name = "lblRoundedCorner";
|
|
|
|
|
//
|
|
|
|
|
// tbRoundedCorner
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tbRoundedCorner, "tbRoundedCorner");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.tbRoundedCorner.Maximum = 50;
|
|
|
|
|
this.tbRoundedCorner.Name = "tbRoundedCorner";
|
|
|
|
|
this.tbRoundedCorner.TickFrequency = 5;
|
|
|
|
|
this.tbRoundedCorner.Scroll += new System.EventHandler(this.tbRoundedCorner_Scroll);
|
2023-05-31 02:56:52 +12:00
|
|
|
|
this.tbRoundedCorner.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbRoundedCorner_MouseUp);
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
2023-06-07 18:18:53 +12:00
|
|
|
|
// lblShadowRadius
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowRadius, "lblShadowRadius");
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.lblShadowRadius.Name = "lblShadowRadius";
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
2023-06-07 18:18:53 +12:00
|
|
|
|
// tbShadowRadius
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tbShadowRadius, "tbShadowRadius");
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.tbShadowRadius.Maximum = 100;
|
|
|
|
|
this.tbShadowRadius.Name = "tbShadowRadius";
|
|
|
|
|
this.tbShadowRadius.TickFrequency = 5;
|
|
|
|
|
this.tbShadowRadius.Scroll += new System.EventHandler(this.tbShadowRadius_Scroll);
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
|
|
|
|
// lblBackground
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblBackground, "lblBackground");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.lblBackground.Name = "lblBackground";
|
|
|
|
|
//
|
2023-04-25 03:38:50 +12:00
|
|
|
|
// lblMarginValue
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblMarginValue, "lblMarginValue");
|
2023-04-25 03:38:50 +12:00
|
|
|
|
this.lblMarginValue.Name = "lblMarginValue";
|
|
|
|
|
//
|
|
|
|
|
// lblPaddingValue
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblPaddingValue, "lblPaddingValue");
|
2023-04-25 03:38:50 +12:00
|
|
|
|
this.lblPaddingValue.Name = "lblPaddingValue";
|
|
|
|
|
//
|
|
|
|
|
// lblRoundedCornerValue
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblRoundedCornerValue, "lblRoundedCornerValue");
|
2023-04-25 03:38:50 +12:00
|
|
|
|
this.lblRoundedCornerValue.Name = "lblRoundedCornerValue";
|
|
|
|
|
//
|
2023-06-07 18:18:53 +12:00
|
|
|
|
// lblShadowRadiusValue
|
2023-04-25 03:38:50 +12:00
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowRadiusValue, "lblShadowRadiusValue");
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.lblShadowRadiusValue.Name = "lblShadowRadiusValue";
|
2023-04-25 02:33:40 +12:00
|
|
|
|
//
|
2023-04-25 06:27:23 +12:00
|
|
|
|
// tlpMain
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tlpMain, "tlpMain");
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.tlpMain.Controls.Add(this.pbPreview, 1, 0);
|
|
|
|
|
this.tlpMain.Controls.Add(this.pOptions, 0, 0);
|
|
|
|
|
this.tlpMain.Name = "tlpMain";
|
|
|
|
|
//
|
2023-04-25 08:14:38 +12:00
|
|
|
|
// pbPreview
|
|
|
|
|
//
|
|
|
|
|
this.pbPreview.BackColor = System.Drawing.SystemColors.Window;
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.pbPreview, "pbPreview");
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.pbPreview.DrawCheckeredBackground = true;
|
|
|
|
|
this.pbPreview.EnableRightClickMenu = true;
|
|
|
|
|
this.pbPreview.FullscreenOnClick = true;
|
|
|
|
|
this.pbPreview.Name = "pbPreview";
|
|
|
|
|
this.pbPreview.PictureBoxBackColor = System.Drawing.SystemColors.Window;
|
|
|
|
|
this.pbPreview.ShowImageSizeLabel = true;
|
|
|
|
|
//
|
2023-04-25 06:27:23 +12:00
|
|
|
|
// pOptions
|
|
|
|
|
//
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.pOptions.Controls.Add(this.btnShadowExpand);
|
|
|
|
|
this.pOptions.Controls.Add(this.gbShadow);
|
2023-05-30 23:46:32 +12:00
|
|
|
|
this.pOptions.Controls.Add(this.btnResetOptions);
|
2023-05-01 08:26:17 +12:00
|
|
|
|
this.pOptions.Controls.Add(this.lblBackgroundImageFilePath);
|
|
|
|
|
this.pOptions.Controls.Add(this.btnBackgroundImageFilePathBrowse);
|
|
|
|
|
this.pOptions.Controls.Add(this.cbBackgroundType);
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.pOptions.Controls.Add(this.btnPrint);
|
|
|
|
|
this.pOptions.Controls.Add(this.btnSave);
|
|
|
|
|
this.pOptions.Controls.Add(this.btnUpload);
|
|
|
|
|
this.pOptions.Controls.Add(this.btnSaveAs);
|
|
|
|
|
this.pOptions.Controls.Add(this.btnCopy);
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.pOptions.Controls.Add(this.pbBackground);
|
|
|
|
|
this.pOptions.Controls.Add(this.lblMargin);
|
|
|
|
|
this.pOptions.Controls.Add(this.tbMargin);
|
|
|
|
|
this.pOptions.Controls.Add(this.lblRoundedCornerValue);
|
|
|
|
|
this.pOptions.Controls.Add(this.lblPadding);
|
|
|
|
|
this.pOptions.Controls.Add(this.lblPaddingValue);
|
|
|
|
|
this.pOptions.Controls.Add(this.tbPadding);
|
|
|
|
|
this.pOptions.Controls.Add(this.lblMarginValue);
|
|
|
|
|
this.pOptions.Controls.Add(this.cbSmartPadding);
|
|
|
|
|
this.pOptions.Controls.Add(this.lblRoundedCorner);
|
|
|
|
|
this.pOptions.Controls.Add(this.lblBackground);
|
|
|
|
|
this.pOptions.Controls.Add(this.tbRoundedCorner);
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.pOptions, "pOptions");
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.pOptions.Name = "pOptions";
|
|
|
|
|
//
|
2023-06-08 19:23:51 +12:00
|
|
|
|
// btnShadowExpand
|
|
|
|
|
//
|
|
|
|
|
this.btnShadowExpand.Image = global::ShareX.MediaLib.Properties.Resources.plus_white;
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnShadowExpand, "btnShadowExpand");
|
2023-06-08 19:23:51 +12:00
|
|
|
|
this.btnShadowExpand.Name = "btnShadowExpand";
|
|
|
|
|
this.btnShadowExpand.Tag = "+";
|
|
|
|
|
this.btnShadowExpand.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnShadowExpand.Click += new System.EventHandler(this.btnShadowExpand_Click);
|
|
|
|
|
//
|
2023-06-07 17:37:52 +12:00
|
|
|
|
// gbShadow
|
|
|
|
|
//
|
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowAngleValue);
|
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowDistanceValue);
|
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowOpacityValue);
|
|
|
|
|
this.gbShadow.Controls.Add(this.btnShadowColor);
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.gbShadow.Controls.Add(this.tbShadowRadius);
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.gbShadow.Controls.Add(this.tbShadowAngle);
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowRadiusValue);
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowAngle);
|
2023-06-07 18:18:53 +12:00
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowRadius);
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.gbShadow.Controls.Add(this.tbShadowDistance);
|
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowOpacity);
|
|
|
|
|
this.gbShadow.Controls.Add(this.lblShadowDistance);
|
|
|
|
|
this.gbShadow.Controls.Add(this.tbShadowOpacity);
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.gbShadow, "gbShadow");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.gbShadow.Name = "gbShadow";
|
|
|
|
|
this.gbShadow.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// lblShadowAngleValue
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowAngleValue, "lblShadowAngleValue");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.lblShadowAngleValue.Name = "lblShadowAngleValue";
|
|
|
|
|
//
|
|
|
|
|
// lblShadowDistanceValue
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowDistanceValue, "lblShadowDistanceValue");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.lblShadowDistanceValue.Name = "lblShadowDistanceValue";
|
|
|
|
|
//
|
|
|
|
|
// lblShadowOpacityValue
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowOpacityValue, "lblShadowOpacityValue");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.lblShadowOpacityValue.Name = "lblShadowOpacityValue";
|
|
|
|
|
//
|
|
|
|
|
// btnShadowColor
|
|
|
|
|
//
|
|
|
|
|
this.btnShadowColor.Color = System.Drawing.Color.Empty;
|
|
|
|
|
this.btnShadowColor.ColorPickerOptions = null;
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnShadowColor, "btnShadowColor");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.btnShadowColor.Name = "btnShadowColor";
|
|
|
|
|
this.btnShadowColor.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnShadowColor.ColorChanged += new ShareX.HelpersLib.ColorButton.ColorChangedEventHandler(this.btnShadowColor_ColorChanged);
|
|
|
|
|
//
|
|
|
|
|
// tbShadowAngle
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tbShadowAngle, "tbShadowAngle");
|
2023-06-13 16:27:15 +12:00
|
|
|
|
this.tbShadowAngle.Maximum = 360;
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.tbShadowAngle.Name = "tbShadowAngle";
|
|
|
|
|
this.tbShadowAngle.TickFrequency = 45;
|
|
|
|
|
this.tbShadowAngle.Scroll += new System.EventHandler(this.tbShadowAngle_Scroll);
|
|
|
|
|
//
|
|
|
|
|
// lblShadowAngle
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowAngle, "lblShadowAngle");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.lblShadowAngle.Name = "lblShadowAngle";
|
|
|
|
|
//
|
|
|
|
|
// tbShadowDistance
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tbShadowDistance, "tbShadowDistance");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.tbShadowDistance.Maximum = 100;
|
|
|
|
|
this.tbShadowDistance.Name = "tbShadowDistance";
|
|
|
|
|
this.tbShadowDistance.TickFrequency = 10;
|
|
|
|
|
this.tbShadowDistance.Scroll += new System.EventHandler(this.tbShadowDistance_Scroll);
|
|
|
|
|
//
|
|
|
|
|
// lblShadowOpacity
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowOpacity, "lblShadowOpacity");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.lblShadowOpacity.Name = "lblShadowOpacity";
|
|
|
|
|
//
|
|
|
|
|
// lblShadowDistance
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblShadowDistance, "lblShadowDistance");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.lblShadowDistance.Name = "lblShadowDistance";
|
|
|
|
|
//
|
|
|
|
|
// tbShadowOpacity
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.tbShadowOpacity, "tbShadowOpacity");
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.tbShadowOpacity.Maximum = 100;
|
|
|
|
|
this.tbShadowOpacity.Name = "tbShadowOpacity";
|
|
|
|
|
this.tbShadowOpacity.SmallChange = 10;
|
|
|
|
|
this.tbShadowOpacity.TickFrequency = 10;
|
|
|
|
|
this.tbShadowOpacity.Scroll += new System.EventHandler(this.tbShadowOpacity_Scroll);
|
|
|
|
|
//
|
2023-05-31 02:56:52 +12:00
|
|
|
|
// btnResetOptions
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnResetOptions, "btnResetOptions");
|
2023-05-31 02:56:52 +12:00
|
|
|
|
this.btnResetOptions.Name = "btnResetOptions";
|
|
|
|
|
this.btnResetOptions.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnResetOptions.Click += new System.EventHandler(this.btnResetOptions_Click);
|
|
|
|
|
//
|
2023-05-30 23:46:32 +12:00
|
|
|
|
// lblBackgroundImageFilePath
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.lblBackgroundImageFilePath, "lblBackgroundImageFilePath");
|
2023-05-30 23:46:32 +12:00
|
|
|
|
this.lblBackgroundImageFilePath.Name = "lblBackgroundImageFilePath";
|
|
|
|
|
//
|
|
|
|
|
// btnBackgroundImageFilePathBrowse
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnBackgroundImageFilePathBrowse, "btnBackgroundImageFilePathBrowse");
|
2023-05-30 23:46:32 +12:00
|
|
|
|
this.btnBackgroundImageFilePathBrowse.Name = "btnBackgroundImageFilePathBrowse";
|
|
|
|
|
this.btnBackgroundImageFilePathBrowse.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnBackgroundImageFilePathBrowse.Click += new System.EventHandler(this.btnBackgroundImageFilePathBrowse_Click);
|
|
|
|
|
//
|
2023-05-01 08:26:17 +12:00
|
|
|
|
// cbBackgroundType
|
|
|
|
|
//
|
|
|
|
|
this.cbBackgroundType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
|
this.cbBackgroundType.FormattingEnabled = true;
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.cbBackgroundType, "cbBackgroundType");
|
2023-05-01 08:26:17 +12:00
|
|
|
|
this.cbBackgroundType.Name = "cbBackgroundType";
|
|
|
|
|
this.cbBackgroundType.SelectedIndexChanged += new System.EventHandler(this.cbBackgroundType_SelectedIndexChanged);
|
|
|
|
|
//
|
2023-04-25 08:14:38 +12:00
|
|
|
|
// btnPrint
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnPrint, "btnPrint");
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnPrint.Image = global::ShareX.MediaLib.Properties.Resources.printer;
|
|
|
|
|
this.btnPrint.Name = "btnPrint";
|
2024-01-17 15:26:44 +13:00
|
|
|
|
this.ttMain.SetToolTip(this.btnPrint, resources.GetString("btnPrint.ToolTip"));
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnPrint.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnSave
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnSave, "btnSave");
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnSave.Image = global::ShareX.MediaLib.Properties.Resources.disk_black;
|
|
|
|
|
this.btnSave.Name = "btnSave";
|
2024-01-17 15:26:44 +13:00
|
|
|
|
this.ttMain.SetToolTip(this.btnSave, resources.GetString("btnSave.ToolTip"));
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnUpload
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnUpload, "btnUpload");
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnUpload.Image = global::ShareX.MediaLib.Properties.Resources.upload_cloud;
|
|
|
|
|
this.btnUpload.Name = "btnUpload";
|
2024-01-17 15:26:44 +13:00
|
|
|
|
this.ttMain.SetToolTip(this.btnUpload, resources.GetString("btnUpload.ToolTip"));
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnUpload.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnUpload.Click += new System.EventHandler(this.btnUpload_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnSaveAs
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnSaveAs, "btnSaveAs");
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnSaveAs.Image = global::ShareX.MediaLib.Properties.Resources.disks_black;
|
|
|
|
|
this.btnSaveAs.Name = "btnSaveAs";
|
2024-01-17 15:26:44 +13:00
|
|
|
|
this.ttMain.SetToolTip(this.btnSaveAs, resources.GetString("btnSaveAs.ToolTip"));
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnSaveAs.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnSaveAs.Click += new System.EventHandler(this.btnSaveAs_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnCopy
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.btnCopy, "btnCopy");
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnCopy.Image = global::ShareX.MediaLib.Properties.Resources.document_copy;
|
|
|
|
|
this.btnCopy.Name = "btnCopy";
|
2024-01-17 15:26:44 +13:00
|
|
|
|
this.ttMain.SetToolTip(this.btnCopy, resources.GetString("btnCopy.ToolTip"));
|
2023-04-25 08:14:38 +12:00
|
|
|
|
this.btnCopy.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
|
|
|
|
|
//
|
2023-04-25 06:27:23 +12:00
|
|
|
|
// pbBackground
|
|
|
|
|
//
|
|
|
|
|
this.pbBackground.Cursor = System.Windows.Forms.Cursors.Hand;
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this.pbBackground, "pbBackground");
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.pbBackground.Name = "pbBackground";
|
|
|
|
|
this.pbBackground.TabStop = false;
|
|
|
|
|
this.pbBackground.Click += new System.EventHandler(this.pbBackground_Click);
|
|
|
|
|
//
|
2023-04-25 02:33:40 +12:00
|
|
|
|
// ImageBeautifierForm
|
|
|
|
|
//
|
2024-01-17 15:26:44 +13:00
|
|
|
|
resources.ApplyResources(this, "$this");
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.Controls.Add(this.tlpMain);
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.Name = "ImageBeautifierForm";
|
|
|
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
2023-04-25 03:38:50 +12:00
|
|
|
|
this.Shown += new System.EventHandler(this.ImageBeautifierForm_Shown);
|
2023-04-25 02:33:40 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbMargin)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbPadding)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbRoundedCorner)).EndInit();
|
2023-06-07 18:18:53 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowRadius)).EndInit();
|
2023-04-25 06:27:23 +12:00
|
|
|
|
this.tlpMain.ResumeLayout(false);
|
|
|
|
|
this.pOptions.ResumeLayout(false);
|
|
|
|
|
this.pOptions.PerformLayout();
|
2023-06-07 17:37:52 +12:00
|
|
|
|
this.gbShadow.ResumeLayout(false);
|
|
|
|
|
this.gbShadow.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowAngle)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowDistance)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tbShadowOpacity)).EndInit();
|
2023-04-25 06:27:23 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pbBackground)).EndInit();
|
2023-04-25 02:33:40 +12:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private System.Windows.Forms.Label lblMargin;
|
|
|
|
|
private System.Windows.Forms.TrackBar tbMargin;
|
|
|
|
|
private System.Windows.Forms.Label lblPadding;
|
|
|
|
|
private System.Windows.Forms.TrackBar tbPadding;
|
|
|
|
|
private System.Windows.Forms.CheckBox cbSmartPadding;
|
|
|
|
|
private System.Windows.Forms.Label lblRoundedCorner;
|
|
|
|
|
private System.Windows.Forms.TrackBar tbRoundedCorner;
|
2023-06-07 18:18:53 +12:00
|
|
|
|
private System.Windows.Forms.Label lblShadowRadius;
|
|
|
|
|
private System.Windows.Forms.TrackBar tbShadowRadius;
|
2023-04-25 02:33:40 +12:00
|
|
|
|
private System.Windows.Forms.Label lblBackground;
|
2023-04-25 03:38:50 +12:00
|
|
|
|
private System.Windows.Forms.Label lblMarginValue;
|
|
|
|
|
private System.Windows.Forms.Label lblPaddingValue;
|
|
|
|
|
private System.Windows.Forms.Label lblRoundedCornerValue;
|
2023-06-07 18:18:53 +12:00
|
|
|
|
private System.Windows.Forms.Label lblShadowRadiusValue;
|
2023-04-25 06:27:23 +12:00
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tlpMain;
|
|
|
|
|
private System.Windows.Forms.Panel pOptions;
|
|
|
|
|
private HelpersLib.MyPictureBox pbPreview;
|
|
|
|
|
private System.Windows.Forms.PictureBox pbBackground;
|
2023-04-25 08:14:38 +12:00
|
|
|
|
private System.Windows.Forms.Button btnSave;
|
|
|
|
|
private System.Windows.Forms.Button btnUpload;
|
|
|
|
|
private System.Windows.Forms.Button btnSaveAs;
|
|
|
|
|
private System.Windows.Forms.Button btnCopy;
|
|
|
|
|
private System.Windows.Forms.Button btnPrint;
|
2023-04-25 09:04:52 +12:00
|
|
|
|
private System.Windows.Forms.ToolTip ttMain;
|
2023-05-01 08:26:17 +12:00
|
|
|
|
private System.Windows.Forms.ComboBox cbBackgroundType;
|
|
|
|
|
private System.Windows.Forms.Button btnBackgroundImageFilePathBrowse;
|
|
|
|
|
private System.Windows.Forms.Label lblBackgroundImageFilePath;
|
2023-05-30 23:46:32 +12:00
|
|
|
|
private System.Windows.Forms.Button btnResetOptions;
|
2023-06-07 17:37:52 +12:00
|
|
|
|
private System.Windows.Forms.TrackBar tbShadowOpacity;
|
|
|
|
|
private System.Windows.Forms.Label lblShadowOpacity;
|
|
|
|
|
private HelpersLib.ColorButton btnShadowColor;
|
|
|
|
|
private System.Windows.Forms.TrackBar tbShadowAngle;
|
|
|
|
|
private System.Windows.Forms.Label lblShadowAngle;
|
|
|
|
|
private System.Windows.Forms.TrackBar tbShadowDistance;
|
|
|
|
|
private System.Windows.Forms.Label lblShadowDistance;
|
|
|
|
|
private System.Windows.Forms.GroupBox gbShadow;
|
|
|
|
|
private System.Windows.Forms.Label lblShadowAngleValue;
|
|
|
|
|
private System.Windows.Forms.Label lblShadowDistanceValue;
|
|
|
|
|
private System.Windows.Forms.Label lblShadowOpacityValue;
|
|
|
|
|
private System.Windows.Forms.Button btnShadowExpand;
|
2023-04-25 02:33:40 +12:00
|
|
|
|
}
|
|
|
|
|
}
|