|
/*
* Created by SharpDevelop.
* User: andy
* Date: 21/12/2007
* Time: 19:34
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
using log4net;
namespace uk.org.aspellclark.common
{
/// <summary>
/// <name>NotImplementedDlg</name>
/// <namespace>uk.org.aspellclark.common</namespace>
/// <version>1.0</version>
/// <author>Andy Aspell-Clark</author>
/// <description>Display a simple about box
/// </description>
/// <history>
/// <historyitem> 1 Jan 2008 1.0 ARAC Initial Version.</historyitem>
/// </history>
/// </summary>
public class NotImplementedDlg : System.Windows.Forms.Form
{
// Create a logger for use in this class
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Label lblAppName;
/// <summary>
/// About box constructor
/// </summary>
public NotImplementedDlg()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
}
#region Windows Forms Designer generated code
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent() {
this.btnClose = new System.Windows.Forms.Button();
this.lblAppName = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// btnClose
//
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnClose.Location = new System.Drawing.Point(120, 115);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(63, 23);
this.btnClose.TabIndex = 0;
this.btnClose.Text = "Close";
this.btnClose.Click += new System.EventHandler(this.BtnCloseClick);
//
// lblAppName
//
this.lblAppName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblAppName.Font = new System.Drawing.Font("Times New Roman", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblAppName.ForeColor = System.Drawing.Color.Purple;
this.lblAppName.Location = new System.Drawing.Point(8, 4);
this.lblAppName.Name = "lblAppName";
this.lblAppName.Size = new System.Drawing.Size(288, 91);
this.lblAppName.TabIndex = 1;
this.lblAppName.Text = "Function Not Yet Implemented";
this.lblAppName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// NotImplementedDlg
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(304, 152);
this.Controls.Add(this.lblAppName);
this.Controls.Add(this.btnClose);
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(312, 179);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(312, 179);
this.Name = "NotImplementedDlg";
this.ShowInTaskbar = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "Not Implemented";
this.ResumeLayout(false);
}
#endregion
void BtnCloseClick(object sender, 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 member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.