mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-17 19:21:55 +12:00
246 lines
No EOL
11 KiB
C#
246 lines
No EOL
11 KiB
C#
namespace ShareX.MediaLib
|
|
{
|
|
partial class ImageThumbnailerForm
|
|
{
|
|
/// <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.lvImages = new ShareX.HelpersLib.MyListView();
|
|
this.chImages = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
this.btnRemove = new System.Windows.Forms.Button();
|
|
this.lblWidth = new System.Windows.Forms.Label();
|
|
this.nudWidth = new System.Windows.Forms.NumericUpDown();
|
|
this.lblHeight = new System.Windows.Forms.Label();
|
|
this.nudHeight = new System.Windows.Forms.NumericUpDown();
|
|
this.lblOutputFilename = new System.Windows.Forms.Label();
|
|
this.txtOutputFilename = new System.Windows.Forms.TextBox();
|
|
this.btnGenerate = new System.Windows.Forms.Button();
|
|
this.lblOutputFolder = new System.Windows.Forms.Label();
|
|
this.txtOutputFolder = new System.Windows.Forms.TextBox();
|
|
this.btnOutputFolder = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudWidth)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudHeight)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// lvImages
|
|
//
|
|
this.lvImages.AllowDrop = true;
|
|
this.lvImages.AllowItemDrag = true;
|
|
this.lvImages.AutoFillColumn = true;
|
|
this.lvImages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.chImages});
|
|
this.lvImages.FullRowSelect = true;
|
|
this.lvImages.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
|
this.lvImages.Location = new System.Drawing.Point(8, 40);
|
|
this.lvImages.Name = "lvImages";
|
|
this.lvImages.Size = new System.Drawing.Size(560, 368);
|
|
this.lvImages.TabIndex = 0;
|
|
this.lvImages.UseCompatibleStateImageBehavior = false;
|
|
this.lvImages.View = System.Windows.Forms.View.Details;
|
|
this.lvImages.DragDrop += new System.Windows.Forms.DragEventHandler(this.lvImages_DragDrop);
|
|
this.lvImages.DragEnter += new System.Windows.Forms.DragEventHandler(this.lvImages_DragEnter);
|
|
//
|
|
// btnAdd
|
|
//
|
|
this.btnAdd.Location = new System.Drawing.Point(8, 8);
|
|
this.btnAdd.Name = "btnAdd";
|
|
this.btnAdd.Size = new System.Drawing.Size(168, 24);
|
|
this.btnAdd.TabIndex = 1;
|
|
this.btnAdd.Text = "Add...";
|
|
this.btnAdd.UseVisualStyleBackColor = true;
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|
//
|
|
// btnRemove
|
|
//
|
|
this.btnRemove.Location = new System.Drawing.Point(184, 8);
|
|
this.btnRemove.Name = "btnRemove";
|
|
this.btnRemove.Size = new System.Drawing.Size(168, 23);
|
|
this.btnRemove.TabIndex = 2;
|
|
this.btnRemove.Text = "Remove";
|
|
this.btnRemove.UseVisualStyleBackColor = true;
|
|
this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
|
|
//
|
|
// lblWidth
|
|
//
|
|
this.lblWidth.AutoSize = true;
|
|
this.lblWidth.Location = new System.Drawing.Point(8, 416);
|
|
this.lblWidth.Name = "lblWidth";
|
|
this.lblWidth.Size = new System.Drawing.Size(38, 13);
|
|
this.lblWidth.TabIndex = 3;
|
|
this.lblWidth.Text = "Width:";
|
|
//
|
|
// nudWidth
|
|
//
|
|
this.nudWidth.Location = new System.Drawing.Point(8, 432);
|
|
this.nudWidth.Maximum = new decimal(new int[] {
|
|
10000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudWidth.Name = "nudWidth";
|
|
this.nudWidth.Size = new System.Drawing.Size(80, 20);
|
|
this.nudWidth.TabIndex = 4;
|
|
this.nudWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
this.nudWidth.Value = new decimal(new int[] {
|
|
150,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudWidth.ValueChanged += new System.EventHandler(this.nudWidth_ValueChanged);
|
|
//
|
|
// lblHeight
|
|
//
|
|
this.lblHeight.AutoSize = true;
|
|
this.lblHeight.Location = new System.Drawing.Point(104, 416);
|
|
this.lblHeight.Name = "lblHeight";
|
|
this.lblHeight.Size = new System.Drawing.Size(41, 13);
|
|
this.lblHeight.TabIndex = 5;
|
|
this.lblHeight.Text = "Height:";
|
|
//
|
|
// nudHeight
|
|
//
|
|
this.nudHeight.Location = new System.Drawing.Point(104, 432);
|
|
this.nudHeight.Maximum = new decimal(new int[] {
|
|
10000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudHeight.Name = "nudHeight";
|
|
this.nudHeight.Size = new System.Drawing.Size(80, 20);
|
|
this.nudHeight.TabIndex = 6;
|
|
this.nudHeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
this.nudHeight.Value = new decimal(new int[] {
|
|
150,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudHeight.ValueChanged += new System.EventHandler(this.nudWidth_ValueChanged);
|
|
//
|
|
// lblOutputFilename
|
|
//
|
|
this.lblOutputFilename.AutoSize = true;
|
|
this.lblOutputFilename.Location = new System.Drawing.Point(8, 512);
|
|
this.lblOutputFilename.Name = "lblOutputFilename";
|
|
this.lblOutputFilename.Size = new System.Drawing.Size(87, 13);
|
|
this.lblOutputFilename.TabIndex = 9;
|
|
this.lblOutputFilename.Text = "Output file name:";
|
|
//
|
|
// txtOutputFilename
|
|
//
|
|
this.txtOutputFilename.Location = new System.Drawing.Point(8, 528);
|
|
this.txtOutputFilename.Name = "txtOutputFilename";
|
|
this.txtOutputFilename.Size = new System.Drawing.Size(560, 20);
|
|
this.txtOutputFilename.TabIndex = 10;
|
|
this.txtOutputFilename.Text = "$filename_th";
|
|
this.txtOutputFilename.TextChanged += new System.EventHandler(this.txtOutputFilename_TextChanged);
|
|
//
|
|
// btnGenerate
|
|
//
|
|
this.btnGenerate.Enabled = false;
|
|
this.btnGenerate.Location = new System.Drawing.Point(8, 560);
|
|
this.btnGenerate.Name = "btnGenerate";
|
|
this.btnGenerate.Size = new System.Drawing.Size(560, 23);
|
|
this.btnGenerate.TabIndex = 11;
|
|
this.btnGenerate.Text = "Generate thumbnails";
|
|
this.btnGenerate.UseVisualStyleBackColor = true;
|
|
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
|
|
//
|
|
// lblOutputFolder
|
|
//
|
|
this.lblOutputFolder.AutoSize = true;
|
|
this.lblOutputFolder.Location = new System.Drawing.Point(8, 464);
|
|
this.lblOutputFolder.Name = "lblOutputFolder";
|
|
this.lblOutputFolder.Size = new System.Drawing.Size(71, 13);
|
|
this.lblOutputFolder.TabIndex = 12;
|
|
this.lblOutputFolder.Text = "Output folder:";
|
|
//
|
|
// txtOutputFolder
|
|
//
|
|
this.txtOutputFolder.Location = new System.Drawing.Point(8, 480);
|
|
this.txtOutputFolder.Name = "txtOutputFolder";
|
|
this.txtOutputFolder.Size = new System.Drawing.Size(520, 20);
|
|
this.txtOutputFolder.TabIndex = 13;
|
|
this.txtOutputFolder.TextChanged += new System.EventHandler(this.txtOutputFolder_TextChanged);
|
|
//
|
|
// btnOutputFolder
|
|
//
|
|
this.btnOutputFolder.Location = new System.Drawing.Point(536, 479);
|
|
this.btnOutputFolder.Name = "btnOutputFolder";
|
|
this.btnOutputFolder.Size = new System.Drawing.Size(32, 23);
|
|
this.btnOutputFolder.TabIndex = 14;
|
|
this.btnOutputFolder.Text = "...";
|
|
this.btnOutputFolder.UseVisualStyleBackColor = true;
|
|
this.btnOutputFolder.Click += new System.EventHandler(this.btnOutputFolder_Click);
|
|
//
|
|
// ImageThumbnailerForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(576, 593);
|
|
this.Controls.Add(this.btnOutputFolder);
|
|
this.Controls.Add(this.txtOutputFolder);
|
|
this.Controls.Add(this.lblOutputFolder);
|
|
this.Controls.Add(this.btnGenerate);
|
|
this.Controls.Add(this.txtOutputFilename);
|
|
this.Controls.Add(this.lblOutputFilename);
|
|
this.Controls.Add(this.nudHeight);
|
|
this.Controls.Add(this.lblHeight);
|
|
this.Controls.Add(this.nudWidth);
|
|
this.Controls.Add(this.lblWidth);
|
|
this.Controls.Add(this.btnRemove);
|
|
this.Controls.Add(this.btnAdd);
|
|
this.Controls.Add(this.lvImages);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.Name = "ImageThumbnailerForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "ShareX - Image thumbnailer";
|
|
((System.ComponentModel.ISupportInitialize)(this.nudWidth)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudHeight)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private HelpersLib.MyListView lvImages;
|
|
private System.Windows.Forms.Button btnAdd;
|
|
private System.Windows.Forms.Button btnRemove;
|
|
private System.Windows.Forms.Label lblWidth;
|
|
private System.Windows.Forms.NumericUpDown nudWidth;
|
|
private System.Windows.Forms.Label lblHeight;
|
|
private System.Windows.Forms.NumericUpDown nudHeight;
|
|
private System.Windows.Forms.Label lblOutputFilename;
|
|
private System.Windows.Forms.TextBox txtOutputFilename;
|
|
private System.Windows.Forms.Button btnGenerate;
|
|
private System.Windows.Forms.ColumnHeader chImages;
|
|
private System.Windows.Forms.Label lblOutputFolder;
|
|
private System.Windows.Forms.TextBox txtOutputFolder;
|
|
private System.Windows.Forms.Button btnOutputFolder;
|
|
}
|
|
} |