This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
LaptopSimulator2015/LaptopSimulator2015/Splash.cs

40 lines
1.0 KiB
C#

using LaptopSimulator2015.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LaptopSimulator2015
{
public partial class Splash : Form
{
public Splash()
{
InitializeComponent();
switch (new Random().Next(5))
{
case 0:
BackgroundImage = Resources.Cryengine;
break;
case 1:
BackgroundImage = Resources.GameMaker;
break;
case 2:
BackgroundImage = Resources.Godot;
break;
case 3:
BackgroundImage = Resources.Unity;
break;
default:
BackgroundImage = Resources.Unreal;
break;
}
}
}
}