Ejemplo n.º 1
0
 private void AddClient_Load(object sender, EventArgs e)
 {
     textBox1.Text = (ClientFactory.count() + 1).ToString();
     for (int i = 0; i < ClientTypeCol.count(); i++)
     {
         comboBox1.Items.Add(ClientTypeCol.coll_of_type[i].Type);
     }
 }
Ejemplo n.º 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);
            }
        }