def __init__(self, parent,*args, **kwds): CreateRecordDialog.__init__(self, *args, **kwds) self.parentFrame = parent self.PatientFirstName_TextCtrl.SetValue(self.parentFrame.FirstNameValue.GetValue()) self.PatientMiddleName_TextCtrl.SetValue(self.parentFrame.MiddleNameValue.GetValue()) self.PatientLastName_TextCtrl.SetValue(self.parentFrame.LastNameValue.GetValue()) self.PatientAddress_TextCtrl.SetValue(self.parentFrame.AddressValue.GetValue()) self.PatientPhoneNumber_TextCtrl.SetValue(self.parentFrame.PhoneNumberValue.GetValue()) self.PatientGender_Combo.SetValue(self.parentFrame.GenderCombo.GetValue())
def __init__(self, parent,*args, **kwds): CreateRecordDialog.__init__(self, *args, **kwds) self.parentFrame = parent