Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Haupt frmHaupt = new Haupt();
            frmHaupt.Show();

            this.Hide();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Haupt frmHaupt = new Haupt();

            frmHaupt.Show();

            this.Hide();
        }
Пример #3
0
 private void Kontakt_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (Program.frmHaupt == null)
     {
         Haupt frmHaupt = new Haupt();
         Program.frmHaupt = frmHaupt;
         frmHaupt.Show();
     }
     else
     {
         Program.frmHaupt.Show();
     }
 }
Пример #4
0
 private void Termin_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (Program.frmHaupt == null)
     {
         Haupt frmHaupt = new Haupt();
         Program.frmHaupt = frmHaupt;
         frmHaupt.Show();
     }
     else
     {
         Program.frmHaupt.Show();
     }
 }