示例#1
0
        private async void Crash_Load(object sender, EventArgs e)
        {
            await Task.Delay(2000);

            if (Properties.Settings.Default.hijacked2 == true)
            {
                MessageBox.Show("Coming soon!");
            }
            else
            {
                Boot boot = new Boot();
                boot.Show();
                this.Close();
            }
        }
        private void btnPlay_Click(object sender, EventArgs e)
        {
            Desktop desktop = new Desktop();
            Boot    boot    = new Boot();

            #if DEBUG
            Properties.Settings.Default.hijacked = false;
            #endif
            if (Properties.Settings.Default.hijacked == true)
            {
                hijackScreen hijack = new hijackScreen();
                hijack.Show();
            }
            else
            {
                boot.Show();
            }
        }