def OnGenBitmapTextButtonExcluir(self, event): aluno = Aluno() try: if aluno.delete(self.campoCPFA.GetValue()): self.zerar() else: None except: None event.Skip()
def OnGenBitmapTextButtonExcluir(self, event): aluno = Aluno() try: if aluno.delete(self.campoCPFA.GetValue()): self.zerar() else: None except: None event.Skip()