Exemplo n.º 1
0
        void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            isChange = true;
            getAllProjectPath();
            PersonInfo selPerson = PersonDao.getPersonInfoByModuleid(Int32.Parse(this.comboBox1.SelectedValue.ToString()));

            for (int index_manager = 0; index_manager < datasource_person.Count; index_manager++)
            {
                if (selPerson.Id == datasource_person[index_manager].Id)
                {
                    this.comboBox2.SelectedItem = this.comboBox2.Items[index_manager];
                    break;
                }
            }
        }