Esempio n. 1
0
        private void btnMagazyn_Click(object sender, EventArgs e)
        {
            MagazynForm magForm = new MagazynForm();

            magForm.Show();
            this.Hide();
        }
Esempio n. 2
0
 private void ObslugaZamowien_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (Application.OpenForms.OfType <MagazynForm>().Count() > 0)
     {
         Application.OpenForms[typeof(MagazynForm).Name].Show();
     }
     else
     {
         MagazynForm otworzNowyMagazynForm = new MagazynForm();
         otworzNowyMagazynForm.Show();
     }
 }
Esempio n. 3
0
        private void btnMagazyn_Click(object sender, EventArgs e)
        {
            MagazynForm magForm = new MagazynForm(szwalnia);

            magForm.Show();
        }