Beispiel #1
0
        private void btnObslugaDostaw_Click(object sender, EventArgs e)
        {
            ObslugaDostaw dostawy = new ObslugaDostaw();

            dostawy.Show();
            this.Hide();
        }
 private void WyborPolkiDoOdlozenia_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (czyWyswietlicStart)
     {
         if (Application.OpenForms.OfType <ObslugaDostaw>().Count() > 0)
         {
             Application.OpenForms[typeof(ObslugaDostaw).Name].Show();
         }
         else
         {
             ObslugaDostaw otworzPonownieMagazynForm = new ObslugaDostaw();
             otworzPonownieMagazynForm.Show();
         }
     }
 }