101 lines
4.1 KiB
C#
101 lines
4.1 KiB
C#
namespace Test_CustomMessageBox
|
|
{
|
|
partial class MessageBox
|
|
{
|
|
/// <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.lbImage = new System.Windows.Forms.PictureBox();
|
|
this.lbText = new System.Windows.Forms.Label();
|
|
this.btYes = new System.Windows.Forms.Button();
|
|
this.btNo = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.lbImage)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// lbImage
|
|
//
|
|
this.lbImage.Location = new System.Drawing.Point(13, 13);
|
|
this.lbImage.Name = "lbImage";
|
|
this.lbImage.Size = new System.Drawing.Size(32, 32);
|
|
this.lbImage.TabIndex = 0;
|
|
this.lbImage.TabStop = false;
|
|
//
|
|
// lbText
|
|
//
|
|
this.lbText.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.lbText.Location = new System.Drawing.Point(84, 13);
|
|
this.lbText.Name = "lbText";
|
|
this.lbText.Size = new System.Drawing.Size(532, 356);
|
|
this.lbText.TabIndex = 1;
|
|
this.lbText.Text = "label1";
|
|
//
|
|
// btYes
|
|
//
|
|
this.btYes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btYes.Location = new System.Drawing.Point(13, 372);
|
|
this.btYes.Name = "btYes";
|
|
this.btYes.Size = new System.Drawing.Size(75, 23);
|
|
this.btYes.TabIndex = 2;
|
|
this.btYes.Text = "Yes";
|
|
this.btYes.UseVisualStyleBackColor = true;
|
|
//
|
|
// btNo
|
|
//
|
|
this.btNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btNo.Location = new System.Drawing.Point(541, 372);
|
|
this.btNo.Name = "btNo";
|
|
this.btNo.Size = new System.Drawing.Size(75, 23);
|
|
this.btNo.TabIndex = 3;
|
|
this.btNo.Text = "No";
|
|
this.btNo.UseVisualStyleBackColor = true;
|
|
//
|
|
// MessageForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(628, 407);
|
|
this.Controls.Add(this.btNo);
|
|
this.Controls.Add(this.btYes);
|
|
this.Controls.Add(this.lbText);
|
|
this.Controls.Add(this.lbImage);
|
|
this.Name = "MessageForm";
|
|
this.Text = "MessageBox";
|
|
this.Load += new System.EventHandler(this.MessageForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.lbImage)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.PictureBox lbImage;
|
|
private System.Windows.Forms.Label lbText;
|
|
private System.Windows.Forms.Button btYes;
|
|
private System.Windows.Forms.Button btNo;
|
|
}
|
|
} |