def OnBoutonModele(self, event): from Dlg import DLG_Modeles_docs dlg = DLG_Modeles_docs.Dialog(self, categorie=self.categorie) dlg.ShowModal() dlg.Destroy() self.ctrl_modele.MAJ() self.ctrl_apercu.SetModele(self.ctrl_modele.GetID()) self.ctrl_apercu.MAJ()
def OnBoutonParametres(self, propriete=None): ancienneValeur = propriete.GetValue() if propriete.GetName() == "IDmodele": from Dlg import DLG_Modeles_docs dlg = DLG_Modeles_docs.Dialog(self, categorie="attestation") dlg.ShowModal() dlg.Destroy() self.MAJ_modeles() propriete.SetValue(ancienneValeur)
def OnBoutonModeles(self, event): from Dlg import DLG_Modeles_docs dlg = DLG_Modeles_docs.Dialog(self, categorie="inscription") dlg.ShowModal() dlg.Destroy() self.ctrl_modele.MAJ()
def OnBoutonModele(self, event): from Dlg import DLG_Modeles_docs dlg = DLG_Modeles_docs.Dialog(self, categorie="location_demande") dlg.ShowModal() dlg.Destroy() self.ctrl_modele.MAJ()