📄 mainform.designer.cs
字号:
//
this.splitContainer1.Panel2.Controls.Add(this.groupPreview);
this.splitContainer1.Size = new System.Drawing.Size(957, 701);
this.splitContainer1.SplitterDistance = 392;
this.splitContainer1.TabIndex = 11;
//
// groupOptions
//
this.groupOptions.Controls.Add(this.propertyGrid);
this.groupOptions.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupOptions.Location = new System.Drawing.Point(0, 191);
this.groupOptions.Name = "groupOptions";
this.groupOptions.Size = new System.Drawing.Size(392, 510);
this.groupOptions.TabIndex = 1;
this.groupOptions.TabStop = false;
this.groupOptions.Text = "Options";
//
// groupFiles
//
this.groupFiles.Controls.Add(this.checkReset);
this.groupFiles.Controls.Add(this.btnResetImage);
this.groupFiles.Controls.Add(this.btnAddText);
this.groupFiles.Controls.Add(this.textTextToAdd);
this.groupFiles.Controls.Add(this.btnWatermark);
this.groupFiles.Controls.Add(this.textWatermark);
this.groupFiles.Controls.Add(this.textSourceImage);
this.groupFiles.Controls.Add(this.label3);
this.groupFiles.Controls.Add(this.label1);
this.groupFiles.Controls.Add(this.label2);
this.groupFiles.Controls.Add(this.btnAddImage);
this.groupFiles.Controls.Add(this.btnSourceImage);
this.groupFiles.Dock = System.Windows.Forms.DockStyle.Top;
this.groupFiles.Location = new System.Drawing.Point(0, 0);
this.groupFiles.Name = "groupFiles";
this.groupFiles.Size = new System.Drawing.Size(392, 191);
this.groupFiles.TabIndex = 0;
this.groupFiles.TabStop = false;
//
// checkReset
//
this.checkReset.AutoSize = true;
this.checkReset.Location = new System.Drawing.Point(109, 125);
this.checkReset.Name = "checkReset";
this.checkReset.Size = new System.Drawing.Size(182, 17);
this.checkReset.TabIndex = 18;
this.checkReset.Text = "Reset image before watermarking";
this.checkReset.UseVisualStyleBackColor = true;
//
// btnResetImage
//
this.btnResetImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnResetImage.Image = ((System.Drawing.Image)(resources.GetObject("btnResetImage.Image")));
this.btnResetImage.Location = new System.Drawing.Point(85, 155);
this.btnResetImage.Name = "btnResetImage";
this.btnResetImage.Size = new System.Drawing.Size(97, 30);
this.btnResetImage.TabIndex = 17;
this.btnResetImage.Text = "Reset Image";
this.btnResetImage.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnResetImage.UseVisualStyleBackColor = true;
this.btnResetImage.Click += new System.EventHandler(this.btnResetImage_Click);
//
// btnAddText
//
this.btnAddText.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnAddText.Image = ((System.Drawing.Image)(resources.GetObject("btnAddText.Image")));
this.btnAddText.Location = new System.Drawing.Point(291, 155);
this.btnAddText.Name = "btnAddText";
this.btnAddText.Size = new System.Drawing.Size(95, 30);
this.btnAddText.TabIndex = 16;
this.btnAddText.Text = "Add Text";
this.btnAddText.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnAddText.UseVisualStyleBackColor = true;
this.btnAddText.Click += new System.EventHandler(this.btnAddText_Click);
//
// textTextToAdd
//
this.textTextToAdd.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textTextToAdd.Location = new System.Drawing.Point(109, 71);
this.textTextToAdd.Multiline = true;
this.textTextToAdd.Name = "textTextToAdd";
this.textTextToAdd.Size = new System.Drawing.Size(277, 47);
this.textTextToAdd.TabIndex = 15;
//
// btnWatermark
//
this.btnWatermark.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnWatermark.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.btnWatermark.Image = ((System.Drawing.Image)(resources.GetObject("btnWatermark.Image")));
this.btnWatermark.Location = new System.Drawing.Point(365, 40);
this.btnWatermark.Name = "btnWatermark";
this.btnWatermark.Size = new System.Drawing.Size(21, 21);
this.btnWatermark.TabIndex = 14;
this.btnWatermark.UseVisualStyleBackColor = true;
this.btnWatermark.Click += new System.EventHandler(this.btnWatermark_Click);
//
// textWatermark
//
this.textWatermark.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textWatermark.Enabled = false;
this.textWatermark.Location = new System.Drawing.Point(109, 40);
this.textWatermark.Name = "textWatermark";
this.textWatermark.Size = new System.Drawing.Size(250, 20);
this.textWatermark.TabIndex = 13;
//
// textSourceImage
//
this.textSourceImage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textSourceImage.Enabled = false;
this.textSourceImage.Location = new System.Drawing.Point(109, 13);
this.textSourceImage.Name = "textSourceImage";
this.textSourceImage.Size = new System.Drawing.Size(250, 20);
this.textSourceImage.TabIndex = 12;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(9, 71);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(86, 13);
this.label3.TabIndex = 11;
this.label3.Text = "Watermark Text:";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(967, 711);
this.Controls.Add(this.splitContainer1);
this.Name = "MainForm";
this.Padding = new System.Windows.Forms.Padding(5);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Watermarker Demo Project";
((System.ComponentModel.ISupportInitialize)(this.picturePreview)).EndInit();
this.contextMenuPreview.ResumeLayout(false);
this.groupPreview.ResumeLayout(false);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.groupOptions.ResumeLayout(false);
this.groupFiles.ResumeLayout(false);
this.groupFiles.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.PictureBox picturePreview;
private System.Windows.Forms.GroupBox groupPreview;
private System.Windows.Forms.ContextMenuStrip contextMenuPreview;
private System.Windows.Forms.ToolStripMenuItem normalToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem stretchToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem zoomToolStripMenuItem;
private System.Windows.Forms.Button btnAddImage;
private System.Windows.Forms.PropertyGrid propertyGrid;
private System.Windows.Forms.Button btnSourceImage;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.GroupBox groupOptions;
private System.Windows.Forms.GroupBox groupFiles;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox textSourceImage;
private System.Windows.Forms.TextBox textWatermark;
private System.Windows.Forms.Button btnWatermark;
private System.Windows.Forms.Button btnAddText;
private System.Windows.Forms.TextBox textTextToAdd;
private System.Windows.Forms.Button btnResetImage;
private System.Windows.Forms.CheckBox checkReset;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -