Example #1
0
        private void btnMagazyn_Click(object sender, EventArgs e)
        {
            MagazynForm magForm = new MagazynForm();

            magForm.Show();
            this.Hide();
        }
Example #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();
     }
 }
Example #3
0
        private void btnMagazyn_Click(object sender, EventArgs e)
        {
            MagazynForm magForm = new MagazynForm(szwalnia);

            magForm.Show();
        }