using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace ForestPadDesktop { /// <summary> /// Summary description for About. /// </summary> public class About : System.Windows.Forms.Form { private System.Windows.Forms.PictureBox pictureBox; /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; public About() { // // 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(About)); this.pictureBox = new System.Windows.Forms.PictureBox(); this.SuspendLayout(); // // pictureBox // this.pictureBox.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBox.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox.Image"))); this.pictureBox.Location = new System.Drawing.Point(0, 0); this.pictureBox.Name = "pictureBox"; this.pictureBox.Size = new System.Drawing.Size(394, 250); this.pictureBox.TabIndex = 0; this.pictureBox.TabStop = false; this.pictureBox.Click += new System.EventHandler(this.pictureBox_Click); // // About // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(394, 250); this.Controls.Add(this.pictureBox); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "About"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "About"; this.TopMost = true; this.ResumeLayout(false); } #endregion private void pictureBox_Click(object sender, System.EventArgs e) { this.Close(); } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)