private void TheNextButton_Click(object sender, EventArgs e)
        {
            TheNextButton.Enabled = true;
            EndForm endForm = new EndForm();

            endForm.Show();
            this.Hide();
        }
Exemplo n.º 2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     startForm = new StartForm();
     mainForm  = new MainForm();
     endForm   = new EndForm();
     Application.Run(new StartForm());
     Program.startForm.Hide();
     Program.mainForm.Show();
 }