def OnCardInfo(self, evt): cardInfoDlg = Dialog.CardInfoDialog() cardInfoDlg.ShowModal() cardInfoDlg.Destroy()