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(); } } }