|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace QIP_Country_Match
{
public partial class Splash : Form
{
public Splash()
{
InitializeComponent();
form1 = new Form1();
}
private void Splash_Load(object sender, EventArgs e)
{
tmrWasteTime.Start();
}
private void tmrFader_Tick(object sender, EventArgs e)
{
if(this.Opacity >0.01)
this.Opacity = this.Opacity - 0.03;
else
kill_tmrFader();
}
Form1 form1;
private void kill_tmrFader()
{
tmrFader.Stop();
form1.Show();
this.Hide();
}
int waste;
private void tmrWasteTime_Tick(object sender, EventArgs e)
{
if (waste < 2)
waste++;
else
kill_tmrWasteTime();
}
private void kill_tmrWasteTime()
{
tmrWasteTime.Stop();
tmrFader.Start();
}
private void lnk_website_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(@"http://www.qsoftonline.com");
}
}
}
|
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.