예제 #1
0
 private void rboxVehicle_GetList(object sender, ReferenceBox.ReferenceBoxEventArgs e)
 {
     e.ItemList = Vehicle.LoadList(Database);
 }
예제 #2
0
 private void rboxCargo_GetList(object sender, ReferenceBox.ReferenceBoxEventArgs e)
 {
     e.ItemList = Cargo.LoadList(Database);
 }
예제 #3
0
        private void rboxContractor_ShowListForm(object sender, ReferenceBox.ReferenceBoxEventArgs e)
        {
            ContractorListForm form = (ContractorListForm)e.Form;

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