📄 mainform.designer.cs
字号:
namespace watermarkit {
partial class MainForm {
/// <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(MainForm));
this.picturePreview = new System.Windows.Forms.PictureBox();
this.contextMenuPreview = new System.Windows.Forms.ContextMenuStrip(this.components);
this.normalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.stretchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.zoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.groupPreview = new System.Windows.Forms.GroupBox();
this.btnAddImage = new System.Windows.Forms.Button();
this.propertyGrid = new System.Windows.Forms.PropertyGrid();
this.btnSourceImage = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.groupOptions = new System.Windows.Forms.GroupBox();
this.groupFiles = new System.Windows.Forms.GroupBox();
this.checkReset = new System.Windows.Forms.CheckBox();
this.btnResetImage = new System.Windows.Forms.Button();
this.btnAddText = new System.Windows.Forms.Button();
this.textTextToAdd = new System.Windows.Forms.TextBox();
this.btnWatermark = new System.Windows.Forms.Button();
this.textWatermark = new System.Windows.Forms.TextBox();
this.textSourceImage = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.picturePreview)).BeginInit();
this.contextMenuPreview.SuspendLayout();
this.groupPreview.SuspendLayout();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.groupOptions.SuspendLayout();
this.groupFiles.SuspendLayout();
this.SuspendLayout();
//
// picturePreview
//
this.picturePreview.ContextMenuStrip = this.contextMenuPreview;
this.picturePreview.Dock = System.Windows.Forms.DockStyle.Fill;
this.picturePreview.Location = new System.Drawing.Point(8, 16);
this.picturePreview.Name = "picturePreview";
this.picturePreview.Size = new System.Drawing.Size(545, 677);
this.picturePreview.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.picturePreview.TabIndex = 2;
this.picturePreview.TabStop = false;
//
// contextMenuPreview
//
this.contextMenuPreview.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.normalToolStripMenuItem,
this.stretchToolStripMenuItem,
this.zoomToolStripMenuItem});
this.contextMenuPreview.Name = "contextMenuPreview";
this.contextMenuPreview.Size = new System.Drawing.Size(121, 70);
//
// normalToolStripMenuItem
//
this.normalToolStripMenuItem.Name = "normalToolStripMenuItem";
this.normalToolStripMenuItem.Size = new System.Drawing.Size(120, 22);
this.normalToolStripMenuItem.Text = "Normal";
this.normalToolStripMenuItem.Click += new System.EventHandler(this.normalToolStripMenuItem_Click);
//
// stretchToolStripMenuItem
//
this.stretchToolStripMenuItem.Name = "stretchToolStripMenuItem";
this.stretchToolStripMenuItem.Size = new System.Drawing.Size(120, 22);
this.stretchToolStripMenuItem.Text = "Stretch";
this.stretchToolStripMenuItem.Click += new System.EventHandler(this.stretchToolStripMenuItem_Click);
//
// zoomToolStripMenuItem
//
this.zoomToolStripMenuItem.Name = "zoomToolStripMenuItem";
this.zoomToolStripMenuItem.Size = new System.Drawing.Size(120, 22);
this.zoomToolStripMenuItem.Text = "Zoom";
this.zoomToolStripMenuItem.Click += new System.EventHandler(this.zoomToolStripMenuItem_Click);
//
// groupPreview
//
this.groupPreview.Controls.Add(this.picturePreview);
this.groupPreview.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupPreview.Location = new System.Drawing.Point(0, 0);
this.groupPreview.Name = "groupPreview";
this.groupPreview.Padding = new System.Windows.Forms.Padding(8, 3, 8, 8);
this.groupPreview.Size = new System.Drawing.Size(561, 701);
this.groupPreview.TabIndex = 3;
this.groupPreview.TabStop = false;
this.groupPreview.Text = "Preview";
//
// btnAddImage
//
this.btnAddImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnAddImage.Image = ((System.Drawing.Image)(resources.GetObject("btnAddImage.Image")));
this.btnAddImage.Location = new System.Drawing.Point(188, 155);
this.btnAddImage.Name = "btnAddImage";
this.btnAddImage.Size = new System.Drawing.Size(95, 30);
this.btnAddImage.TabIndex = 6;
this.btnAddImage.Text = "Add Image";
this.btnAddImage.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnAddImage.UseVisualStyleBackColor = true;
this.btnAddImage.Click += new System.EventHandler(this.btnAddImage_Click);
//
// propertyGrid
//
this.propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
this.propertyGrid.HelpVisible = false;
this.propertyGrid.Location = new System.Drawing.Point(3, 16);
this.propertyGrid.Name = "propertyGrid";
this.propertyGrid.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
this.propertyGrid.Size = new System.Drawing.Size(386, 491);
this.propertyGrid.TabIndex = 8;
//
// btnSourceImage
//
this.btnSourceImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSourceImage.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnSourceImage.Image = ((System.Drawing.Image)(resources.GetObject("btnSourceImage.Image")));
this.btnSourceImage.Location = new System.Drawing.Point(365, 13);
this.btnSourceImage.Name = "btnSourceImage";
this.btnSourceImage.Size = new System.Drawing.Size(21, 21);
this.btnSourceImage.TabIndex = 7;
this.btnSourceImage.UseVisualStyleBackColor = true;
this.btnSourceImage.Click += new System.EventHandler(this.btnSourceImage_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(9, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(76, 13);
this.label1.TabIndex = 9;
this.label1.Text = "Source Image:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 43);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(94, 13);
this.label2.TabIndex = 10;
this.label2.Text = "Watermark Image:";
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(5, 5);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.groupOptions);
this.splitContainer1.Panel1.Controls.Add(this.groupFiles);
//
// splitContainer1.Panel2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -