Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
        /* 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();
        }