mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-20 12:41:29 +12:00
99 lines
4 KiB
C#
99 lines
4 KiB
C#
|
namespace HelpersLib
|
|||
|
{
|
|||
|
partial class MyPictureBox
|
|||
|
{
|
|||
|
/// <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 Component 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();
|
|||
|
this.lblStatus = new System.Windows.Forms.Label();
|
|||
|
this.pbMain = new System.Windows.Forms.PictureBox();
|
|||
|
this.cmsMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|||
|
this.tsmiCopyImage = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pbMain)).BeginInit();
|
|||
|
this.cmsMenu.SuspendLayout();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// lblStatus
|
|||
|
//
|
|||
|
this.lblStatus.BackColor = System.Drawing.Color.DimGray;
|
|||
|
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
|
|||
|
this.lblStatus.ForeColor = System.Drawing.Color.White;
|
|||
|
this.lblStatus.Location = new System.Drawing.Point(0, 0);
|
|||
|
this.lblStatus.Name = "lblStatus";
|
|||
|
this.lblStatus.Size = new System.Drawing.Size(150, 24);
|
|||
|
this.lblStatus.TabIndex = 0;
|
|||
|
this.lblStatus.Text = "Image preview";
|
|||
|
this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|||
|
//
|
|||
|
// pbMain
|
|||
|
//
|
|||
|
this.pbMain.BackColor = System.Drawing.Color.White;
|
|||
|
this.pbMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.pbMain.Location = new System.Drawing.Point(0, 0);
|
|||
|
this.pbMain.Name = "pbMain";
|
|||
|
this.pbMain.Size = new System.Drawing.Size(150, 150);
|
|||
|
this.pbMain.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|||
|
this.pbMain.TabIndex = 0;
|
|||
|
this.pbMain.TabStop = false;
|
|||
|
//
|
|||
|
// cmsMenu
|
|||
|
//
|
|||
|
this.cmsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|||
|
this.tsmiCopyImage});
|
|||
|
this.cmsMenu.Name = "cmsMenu";
|
|||
|
this.cmsMenu.ShowImageMargin = false;
|
|||
|
this.cmsMenu.Size = new System.Drawing.Size(128, 48);
|
|||
|
//
|
|||
|
// tsmiCopyImage
|
|||
|
//
|
|||
|
this.tsmiCopyImage.Name = "tsmiCopyImage";
|
|||
|
this.tsmiCopyImage.Size = new System.Drawing.Size(127, 22);
|
|||
|
this.tsmiCopyImage.Text = "Copy image";
|
|||
|
this.tsmiCopyImage.Click += new System.EventHandler(this.tsmiCopyImage_Click);
|
|||
|
//
|
|||
|
// MyPictureBox
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.BackColor = System.Drawing.Color.White;
|
|||
|
this.Controls.Add(this.lblStatus);
|
|||
|
this.Controls.Add(this.pbMain);
|
|||
|
this.Name = "MyPictureBox";
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pbMain)).EndInit();
|
|||
|
this.cmsMenu.ResumeLayout(false);
|
|||
|
this.ResumeLayout(false);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion Component Designer generated code
|
|||
|
|
|||
|
private System.Windows.Forms.Label lblStatus;
|
|||
|
private System.Windows.Forms.PictureBox pbMain;
|
|||
|
private System.Windows.Forms.ContextMenuStrip cmsMenu;
|
|||
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyImage;
|
|||
|
}
|
|||
|
}
|