127 lines
4.9 KiB
C#
127 lines
4.9 KiB
C#
namespace _15_3
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows 窗体设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||
this.Open = new System.Windows.Forms.Button();
|
||
this.Center = new System.Windows.Forms.Button();
|
||
this.Stretch = new System.Windows.Forms.Button();
|
||
this.AutoSize = new System.Windows.Forms.Button();
|
||
this.Zoom = new System.Windows.Forms.Button();
|
||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||
this.SuspendLayout();
|
||
//
|
||
// pictureBox1
|
||
//
|
||
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
|
||
this.pictureBox1.Name = "pictureBox1";
|
||
this.pictureBox1.Size = new System.Drawing.Size(592, 453);
|
||
this.pictureBox1.TabIndex = 0;
|
||
this.pictureBox1.TabStop = false;
|
||
//
|
||
// Open
|
||
//
|
||
this.Open.Location = new System.Drawing.Point(658, 70);
|
||
this.Open.Name = "Open";
|
||
this.Open.Size = new System.Drawing.Size(75, 34);
|
||
this.Open.TabIndex = 1;
|
||
this.Open.Text = "打开";
|
||
this.Open.UseVisualStyleBackColor = true;
|
||
this.Open.Click += new System.EventHandler(this.Open_Click);
|
||
//
|
||
// Center
|
||
//
|
||
this.Center.Location = new System.Drawing.Point(658, 121);
|
||
this.Center.Name = "Center";
|
||
this.Center.Size = new System.Drawing.Size(75, 34);
|
||
this.Center.TabIndex = 2;
|
||
this.Center.Text = "居中";
|
||
this.Center.UseVisualStyleBackColor = true;
|
||
this.Center.Click += new System.EventHandler(this.Center_Click);
|
||
//
|
||
// Stretch
|
||
//
|
||
this.Stretch.Location = new System.Drawing.Point(658, 172);
|
||
this.Stretch.Name = "Stretch";
|
||
this.Stretch.Size = new System.Drawing.Size(75, 34);
|
||
this.Stretch.TabIndex = 3;
|
||
this.Stretch.Text = "拉伸";
|
||
this.Stretch.UseVisualStyleBackColor = true;
|
||
this.Stretch.Click += new System.EventHandler(this.Stretch_Click);
|
||
//
|
||
// AutoSize
|
||
//
|
||
this.AutoSize.Location = new System.Drawing.Point(650, 269);
|
||
this.AutoSize.Name = "AutoSize";
|
||
this.AutoSize.Size = new System.Drawing.Size(94, 34);
|
||
this.AutoSize.TabIndex = 4;
|
||
this.AutoSize.Text = "自动大小";
|
||
this.AutoSize.UseVisualStyleBackColor = true;
|
||
this.AutoSize.Click += new System.EventHandler(this.AutoSize_Click);
|
||
//
|
||
// Zoom
|
||
//
|
||
this.Zoom.Location = new System.Drawing.Point(658, 223);
|
||
this.Zoom.Name = "Zoom";
|
||
this.Zoom.Size = new System.Drawing.Size(75, 29);
|
||
this.Zoom.TabIndex = 5;
|
||
this.Zoom.Text = "缩放";
|
||
this.Zoom.UseVisualStyleBackColor = true;
|
||
this.Zoom.Click += new System.EventHandler(this.Zoom_Click);
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||
this.Controls.Add(this.Zoom);
|
||
this.Controls.Add(this.AutoSize);
|
||
this.Controls.Add(this.Stretch);
|
||
this.Controls.Add(this.Center);
|
||
this.Controls.Add(this.Open);
|
||
this.Controls.Add(this.pictureBox1);
|
||
this.Name = "Form1";
|
||
this.Text = "N";
|
||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.PictureBox pictureBox1;
|
||
private System.Windows.Forms.Button Open;
|
||
private System.Windows.Forms.Button Center;
|
||
private System.Windows.Forms.Button Stretch;
|
||
private System.Windows.Forms.Button AutoSize;
|
||
private System.Windows.Forms.Button Zoom;
|
||
}
|
||
}
|
||
|