예제 #1
0
        private void btnManageDepartments_Click(object sender, EventArgs e)
        {
            frmDepartment fmiDepartment;

            fmiDepartment = new frmDepartment(ref m_DL);

            if (fmiDepartment.ManageDepartments())
            {
                //Refresh departments list
                PopulateDepartmentList();

                //We must re-display developer's deparments as the selected items will be lost after a refresh
                if (cboID.Text.Length > 0)
                {
                    //Try to repopulate the information of the currently selected developer
                    PopulateDeveloperFields();
                }
            }
        }
예제 #2
0
파일: Form1.cs 프로젝트: anneilb/ce-dev
        private void btnManageDepartments_Click(object sender, EventArgs e)
        {
            frmDepartment fmiDepartment;

            fmiDepartment = new frmDepartment(ref m_DL);

            if (fmiDepartment.ManageDepartments())
            {
                //Refresh departments list
                PopulateDepartmentList();

                //We must re-display developer's deparments as the selected items will be lost after a refresh
                if (cboID.Text.Length > 0)
                {
                    //Try to repopulate the information of the currently selected developer
                    PopulateDeveloperFields();
                }
            }
        }