private void pbxRefreshComboBox_Click(object sender, EventArgs e) { // WaitForm.Show(); VesselVoyageStatusBindingSource.DataSource = VesselVoyageStatusService.GetAll(); CountryBindingSource.DataSource = CountryService.GetAll(); CompaniesNameBindingSource.DataSource = CompanyService.GetCompaniesCodeAndNameByTypeId(5); VesselBindingSource.DataSource = VesselService.GetVesselByActive(true, true); // WaitForm.Close(); }
/* TODO ERROR: Skipped EndRegionDirectiveTrivia *//* TODO ERROR: Skipped RegionDirectiveTrivia */ public void LoadForm() { listVesselVoyageStatus = VesselVoyageStatusService.GetAll(); listCountry = CountryService.GetCountryDropBox(); listCompany = CompanyService.GetCompaniesCodeAndNameByTypeId(5); listVessel = VesselService.GetVesselByActive(true, true); VesselVoyageService.UpdateIsActiveDateLRDLessThanYesterday(); listVesselVoyage = VesselVoyageService.GetVesselVoyageListAll(); SearchByColumn(); }