public MainForm() {
   InitializeComponent();
   Data = new AppData();								// Create the application data object
   Data.OnChange += delegate { ExchangeData(false); };	// Track data changes to keep the form synchronized
   Enroller = new EnrollmentForm(Data);
   Verifier = new VerificationForm(Data);
   ExchangeData(false);								// fill data with default values from controls
 }
Exemple #2
0
        public Creat_Staff()
        {
            InitializeComponent();
            Data           = new AppData();                     // Create the application data object
            Data.OnChange += delegate { ExchangeData(false); }; // Track data changes to keep the form synchronized
            Enroller       = new EnrollmentForm(Data);

            ExchangeData(false);
        }
Exemple #3
0
 public MainForm()
 {
     InitializeComponent();
     Data           = new AppData();                     // Create the application data object
     Data.OnChange += delegate { ExchangeData(false); }; // Track data changes to keep the form synchronized
     Enroller       = new EnrollmentForm(Data);
     Verifier       = new VerificationForm(Data);
     ExchangeData(false);                                                        // fill data with default values from controls
 }