private void FilteringRecords_Shown(object sender, EventArgs e)
 {
     Lists.LoadList(@"\Regions.dat", "регионов", cBRegion.Items, Lists.RegionsDefault);
     Lists.LoadList(@"\Streets.dat", "улиц", tBStreet.AutoCompleteCustomSource, Lists.StreetsDefault);
     Lists.LoadList(@"\Implementers.dat", "исполнителей", cBFullNameImplementer.Items, Lists.WorkersDefault);
 }
Exemple #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     Lists.ResetList("regions", "RegionID", "RegionName", @"\Region.dat");
     Lists.ResetList("streets", "StreetID", "StreetName", @"\Streets.dat");
     Lists.ResetList("workers", "WorkerID", "WorkerName", @"\Implementer.dat");
 }