}//--------------------------------------- //#########################################END LINKLABEL lnkOtherInfo EVENTS#################################################### //###########################################COMBOBOX cboDepartment EVENTS################################################## //event is raised when the selected index is changed private void cboDepartmentSelectedIndexChanged(object sender, EventArgs e) { if (((ComboBox)sender).SelectedIndex != -1) { _serviceInfo.DepartmentInfo.DepartmentId = _auxiliaryManager.GetDepartmentId(((ComboBox)sender).SelectedIndex); _serviceInfo.DepartmentInfo.DepartmentName = _auxiliaryManager.GetDepartmentName(((ComboBox)sender).SelectedIndex); } }//---------------------------