def LogOffButton(self, event): self.Close(True) ponte.mainFrameLogonApp() exit() event.Skip()
import ponte ponte.mainFrameLogonApp()