public VerificationForm(GuardiansTakeAway gTA)
        {

            InitializeComponent();
            Data = new AppData();
            this.guardiansTakeAwayForm = gTA;
        }
Exemplo n.º 2
0
 public EnrollmentForm(AddGuardiancs addGuardianForm)
 {
     this.addGuardianForm = addGuardianForm;
     type = this.addGuardianForm.type;
     InitializeComponent();
     Data = new AppData();
     ExchangeData(true);                                 // Init data with default control values;
     Data.OnChange += delegate { ExchangeData(false); }; // Track data changes to keep the form synchronized
 }
 public VerificationForm()
 {
     InitializeComponent();
     Data = new AppData();
 }