Пример #1
0
        private void AddManager_Load(object sender, EventArgs e)
        {
            textBox1.Text = (ManagerFactory.count() + 1).ToString();

            for (int i = 0; i < ManagerTypeCol.count(); i++)
            {
                comboBox1.Items.Add(ManagerTypeCol.collection[i].Type);
            }
        }
Пример #2
0
        private void AddOrder_Load(object sender, EventArgs e)
        {
            textBox1.Text = (OrderFactory.count() + 1).ToString();

            for (int i = 0; i < ManagerTypeCol.count(); i++)
            {
                comboBox1.Items.Add(ManagerTypeCol.collection[i].Type);
            }

            for (int i = 0; i < ClientTypeCol.count(); i++)
            {
                comboBox2.Items.Add(ClientTypeCol.coll_of_type[i].Type);
            }
            for (int i = 0; i < TourFactory.count(); i++)
            {
                comboBox3.Items.Add(TourFactory.array_Tours[i]._name.Name);
            }
        }