private void rboxVehicle_GetList(object sender, ReferenceBox.ReferenceBoxEventArgs e) { e.ItemList = Vehicle.LoadList(Database); }
private void rboxCargo_GetList(object sender, ReferenceBox.ReferenceBoxEventArgs e) { e.ItemList = Cargo.LoadList(Database); }
private void rboxContractor_ShowListForm(object sender, ReferenceBox.ReferenceBoxEventArgs e) { ContractorListForm form = (ContractorListForm)e.Form; form.ContractorGroup = EntryControlDatabase.VehicleOwnerGroup; }
/// <summary> /// заполняет список для выбора пунктов пропуска /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void rboxEntryPoint_GetList(object sender, ReferenceBox.ReferenceBoxEventArgs e) { e.ItemList = EntryPoint.LoadList(Database); }
private void rboxContractor_GetList(object sender, ReferenceBox.ReferenceBoxEventArgs e) { e.ItemList = Contractor.LoadVehicleOwnerList(Database); }