vbAccelerator - Contents of code file: ZoomIn_ZoomIn_frmAbout.cs

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace vbAccelerator.Samples.ZoomIn
{
   /// <summary>
   /// Summary description for frmAbout.
   /// </summary>
   public class frmAbout : System.Windows.Forms.Form
   {
      private System.Windows.Forms.Button btnOK;
      private System.Windows.Forms.Label lblInfo;
      private System.Windows.Forms.PictureBox picIcon;
      private System.Windows.Forms.GroupBox groupBox1;
      /// <summary>
      /// Required designer variable.
      /// </summary>
      private System.ComponentModel.Container components = null;

      public frmAbout()
      {
         //
         // Required for Windows Form Designer support
         //
         InitializeComponent();

         //
         // TODO: Add any constructor code after InitializeComponent call
         //
      }

      /// <summary>
      /// Clean up any resources being used.
      /// </summary>
      protected override void Dispose( bool disposing )
      {
         if( disposing )
         {
            if(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()
      {
         System.Resources.ResourceManager resources = new
          System.Resources.ResourceManager(typeof(frmAbout));
         this.lblInfo = new System.Windows.Forms.Label();
         this.btnOK = new System.Windows.Forms.Button();
         this.picIcon = new System.Windows.Forms.PictureBox();
         this.groupBox1 = new System.Windows.Forms.GroupBox();
         this.SuspendLayout();
         // 
         // lblInfo
         // 
         this.lblInfo.Location = new System.Drawing.Point(60, 8);
         this.lblInfo.Name = "lblInfo";
         this.lblInfo.Size = new System.Drawing.Size(220, 120);
         this.lblInfo.TabIndex = 0;
         this.lblInfo.Text = "C# Zoom In. vbAccelerator.com.";
         // 
         // btnOK
         // 
         this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
         this.btnOK.Location = new System.Drawing.Point(200, 160);
         this.btnOK.Name = "btnOK";
         this.btnOK.Size = new System.Drawing.Size(80, 28);
         this.btnOK.TabIndex = 1;
         this.btnOK.Text = "OK";
         this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
         // 
         // picIcon
         // 
         this.picIcon.BackgroundImage =
          ((System.Drawing.Bitmap)(resources.GetObject("picIcon.BackgroundImage"
         )));
         this.picIcon.Location = new System.Drawing.Point(8, 8);
         this.picIcon.Name = "picIcon";
         this.picIcon.Size = new System.Drawing.Size(32, 32);
         this.picIcon.TabIndex = 2;
         this.picIcon.TabStop = false;
         // 
         // groupBox1
         // 
         this.groupBox1.Location = new System.Drawing.Point(-20, 148);
         this.groupBox1.Name = "groupBox1";
         this.groupBox1.Size = new System.Drawing.Size(384, 4);
         this.groupBox1.TabIndex = 3;
         this.groupBox1.TabStop = false;
         this.groupBox1.Text = "groupBox1";
         // 
         // frmAbout
         // 
         this.AcceptButton = this.btnOK;
         this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
         this.ClientSize = new System.Drawing.Size(288, 194);
         this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                        this.groupBox1,
                                                        this.picIcon,
                                                        this.btnOK,
                                                        this.lblInfo});
         this.FormBorderStyle =
          System.Windows.Forms.FormBorderStyle.FixedDialog;
         this.MaximizeBox = false;
         this.MinimizeBox = false;
         this.Name = "frmAbout";
         this.StartPosition =
          System.Windows.Forms.FormStartPosition.CenterParent;
         this.Text = "About C# Zoom In";
         this.Load += new System.EventHandler(this.frmAbout_Load);
         this.ResumeLayout(false);

      }
      #endregion

      private void frmAbout_Load(object sender, System.EventArgs e)
      {
      
      }

      private void btnOK_Click(object sender, System.EventArgs e)
      {
         this.Close();
      }
   }
}