Game Development Reference
In-Depth Information
this.Text = _splashScreen.WindowTitle;
}
else
{
this.FormBorderStyle = FormBorderStyle.None;
}
this.VersionText = _splashScreen.VersionText;
}
}
private void SplashDialog_Load(object sender, EventArgs e)
{
this.Opacity = 1.0;
if (_splashScreen.LoadingJobs == null ||
_splashScreen.LoadingJobs.Count <= 0)
DisplayTimer.Start();
else
ProcessJobs();
}
private void DisplayTimer_Tick(object sender, System.EventArgs e)
{
DisplayTimer.Stop();
this.Close();
}
private void SplashDialog_KeyDown(object sender,
System.Windows.Forms.KeyEventArgs e)
{
InterruptSplash();
}
private void SplashPanel_MouseClick(object sender, MouseEventArgs e)
{
InterruptSplash();
}
private void InterruptSplash()
{
if (_splashScreen.Interruptable)
Search Nedrilad ::




Custom Search