Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     StartForm main = new StartForm();
     this.Hide();
     main.ShowDialog();
     this.Show();
     Close();
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            StartForm start = new StartForm();

            this.Hide();
            start.ShowDialog();
            this.Show();
            Close();
        }