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

namespace QCGM.Forms
{
	/// <summary>
	/// Summary description for Splash.
	/// </summary>
	public class Splash : System.Windows.Forms.Form
	{
		public Splash()
		{
			//
			// 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 )
		{
			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(Splash));
			// 
			// Splash
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
			this.ClientSize = new System.Drawing.Size(433, 289);
			this.ControlBox = false;
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			this.MaximizeBox = false;
			this.Name = "Splash";
			this.ShowInTaskbar = false;
			this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "QCGM Splash";
			this.Click += new System.EventHandler(this.Splash_Click);
			this.Load += new System.EventHandler(this.Splash_Load);
			this.Closed += new System.EventHandler(this.Splash_Closed);
			this.MouseEnter += new System.EventHandler(this.Splash_MouseEnter);
			this.MouseLeave += new System.EventHandler(this.Splash_MouseLeave);

		}
		#endregion

		private void Splash_Load(object sender, System.EventArgs e)
		{
			//this.timer1.Start();
		}

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

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

		private void Splash_MouseEnter(object sender, System.EventArgs e)
		{
			this.Cursor = Cursors.AppStarting;
		}

		private void Splash_MouseLeave(object sender, System.EventArgs e)
		{
			this.Cursor = Cursors.Default;
		}

		private void Splash_Closed(object sender, System.EventArgs e)
		{
			this.Cursor = Cursors.Default;
		}
	}
}
