public ModifierRegion(classeMetier.Region laRegion)
        {
            uneRegion = laRegion;

            InitializeComponent();
            lstReg_Codeasync();
            donneDeLaRegion(laRegion);
        }
Beispiel #2
0
 public void LstRegion(classeMetier.Region LaRegions)
 {
     nomregion.Text   = LaRegions.REG_NOM;
     codesecteur.Text = LaRegions.SEC_CODE;
     coderegion.Text  = LaRegions.REG_CODE;
 }
Beispiel #3
0
 public ModifierRegions(classeMetier.Region LaRegion)
 {
     uneRegion = LaRegion;
     InitializeComponent();
     LstRegion(LaRegion);
 }
 private void donneDeLaRegion(classeMetier.Region laRegion)
 {
     txtRegion.Text = laRegion.REG_NOM;
     string idRegion = laRegion.REG_CODE;
 }
Beispiel #5
0
 private async void LvRegion_ItemSelected(object sender, SelectedItemChangedEventArgs e)
 {
     classeMetier.Region laregionselectione = (lvRegion.SelectedItem as classeMetier.Region);
     ModifierRegions     page = new ModifierRegions(laregionselectione);
     await Navigation.PushModalAsync(page);
 }
 private async void LvToutesLesRegions_ItemSelected(object sender, SelectedItemChangedEventArgs e)
 {
     classeMetier.Region laRegionSelectionne = (lvToutesLesRegions.SelectedItem as classeMetier.Region);
     ModifierRegion      page = new ModifierRegion(laRegionSelectionne);
     await Navigation.PushModalAsync(page);
 }