Exemple #1
0
        private void Odrers_Click(object sender, EventArgs e)
        {
            form_orders = new OrdersForm();
            form_orders.Show();
            if (form_managers == null)
            {
                form_managers = new managers();
                Shop.managers.openData();
            }
            if (form_clients == null)
            {
                form_clients = new Clients();
                Shop.Clients.openData();
            }
            if (form_goods == null)
            {
                form_goods = new GoodsForm();
                if (form_typegoods == null)
                {
                    form_typegoods = new TypeGoodsForm();
                    TypeGoodsForm.openData();
                }

                GoodsForm.openData();
            }

            OrdersForm.openData();
        }
Exemple #2
0
 private void Managers_Click(object sender, EventArgs e)
 {
     form_managers = new managers();
     form_managers.Show();
     Shop.managers.openData();
 }