using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace Hello585 { /// /// Summary description for Author. /// public class Author : System.Windows.Forms.Form { private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Label name; private System.Windows.Forms.Label title; private System.Windows.Forms.Label dept; private System.Windows.Forms.Label school; private System.Windows.Forms.Label homePage; private System.Windows.Forms.Label office; private System.Windows.Forms.Label phone; private System.Windows.Forms.Button okButton; /// /// Required designer variable. /// private System.ComponentModel.Container components = null; public Author() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // } /// /// Clean up any resources being used. /// protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Author)); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.name = new System.Windows.Forms.Label(); this.title = new System.Windows.Forms.Label(); this.dept = new System.Windows.Forms.Label(); this.school = new System.Windows.Forms.Label(); this.homePage = new System.Windows.Forms.Label(); this.office = new System.Windows.Forms.Label(); this.phone = new System.Windows.Forms.Label(); this.okButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Bitmap) (resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(24, 24); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(96, 160); this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // name // this.name.Location = new System.Drawing.Point(152, 24); this.name.Name = "name"; this.name.Size = new System.Drawing.Size(125, 16); this.name.TabIndex = 1; this.name.Text = "G. Michael Barnes, PhD"; // // title // this.title.Location = new System.Drawing.Point(152, 48); this.title.Name = "title"; this.title.Size = new System.Drawing.Size(125, 16); this.title.TabIndex = 2; this.title.Text = "Professor "; // // dept // this.dept.Location = new System.Drawing.Point(152, 72); this.dept.Name = "dept"; this.dept.Size = new System.Drawing.Size(125, 16); this.dept.TabIndex = 3; this.dept.Text = "Computer Science"; // // school // this.school.Location = new System.Drawing.Point(152, 96); this.school.Name = "school"; this.school.Size = new System.Drawing.Size(125, 16); this.school.TabIndex = 4; this.school.Text = "CSU Northridge"; // // homePage // this.homePage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.homePage.Location = new System.Drawing.Point(152, 144); this.homePage.Name = "homePage"; this.homePage.Size = new System.Drawing.Size(125, 16); this.homePage.TabIndex = 5; this.homePage.Text = "www.csun.edu/~renzo"; // // office // this.office.Location = new System.Drawing.Point(152, 120); this.office.Name = "office"; this.office.Size = new System.Drawing.Size(125, 16); this.office.TabIndex = 6; this.office.Text = "EA 1443"; // // phone // this.phone.Location = new System.Drawing.Point(152, 168); this.phone.Name = "phone"; this.phone.Size = new System.Drawing.Size(125, 16); this.phone.TabIndex = 7; this.phone.Text = "(818) 677-2299"; // // okButton // this.okButton.Location = new System.Drawing.Point(112, 216); this.okButton.Name = "okButton"; this.okButton.TabIndex = 8; this.okButton.Text = "Ok"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // Author // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(292, 273); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.okButton, this.phone, this.office, this.homePage, this.school, this.dept, this.title, this.name, this.pictureBox1}); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MinimizeBox = false; this.Name = "Author"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Author"; this.Load += new System.EventHandler(this.Author_Load); this.ResumeLayout(false); } #endregion private void Author_Load(object sender, System.EventArgs e) { } private void okButton_Click(object sender, System.EventArgs e) { Hide(); } } }