Exemplo n.º 1
0
 public void LoadCityToComboBox(ComboBox cbb, string towncodeLV1, string towncodeLV2)
 {
     city = DataDefinition.GetTownnameLV2(towncodeLV1).Copy();
     LoadComboBoxData(cbb, city, "TOWNNAME", "TOWNCODE", towncodeLV2);
     SelectedCity = towncodeLV2;
 }
Exemplo n.º 2
0
 public void LoadTumbonToComboBox(ComboBox cbb, string towncodeLV2, string towncodeLV3)
 {
     tumbon = DataDefinition.GetTownnameLV3(towncodeLV2).Copy();
     LoadComboBoxData(cbb, tumbon, "TOWNNAME", "TOWNCODE", towncodeLV3);
     SelectedTumbon = towncodeLV3;
 }
Exemplo n.º 3
0
 public TownnameTab()
 {
     province = DataDefinition.GetTownnameLV1().Copy();
     city     = new DataTable();
     tumbon   = new DataTable();
 }