Game Development Reference
In-Depth Information
public string StatusText
{
set
{
StatusLabel.Text = String.Format(“Status: {0}”, value);
}
}
public SplashDialog(SplashScreen splashScreen)
{
InitializeComponent();
_splashScreen = splashScreen;
if (_splashScreen != null)
{
if (_splashScreen.SplashImage != null)
{
this.Width = _splashScreen.SplashImage.Width;
this.Height = _splashScreen.SplashImage.Height;
this.SplashPanel.BackgroundImage = _splashScreen.SplashImage;
}
VersionLabel.Visible = _splashScreen.DisplayVersion;
StatusLabel.Visible = _splashScreen.DisplayStatus;
DisplayTimer.Interval = _splashScreen.SplashInterval;
if (_splashScreen.BlackBorder)
{
SplashPanel.BorderStyle = BorderStyle.FixedSingle;
}
else
{
SplashPanel.BorderStyle = BorderStyle.None;
}
if (_splashScreen.WindowTitle != null &&
_splashScreen.WindowTitle.Length > 0)
{
this.FormBorderStyle = FormBorderStyle.FixedDialog;
Search Nedrilad ::




Custom Search