Beispiel #1
0
 public FrmAdmin()
 {
     InitializeComponent();
     init();
     validate = new Validate();
     logic = new Logic();
     fileName = FrmMain.FileName.ToString();
     loadData();
 }
Beispiel #2
0
 private void init()
 {
     validate = new Validate();
     data = new String[6];
     cbDateOfBirthMonth.SelectedIndex = 0;
     cbDateOfBirthDay.SelectedIndex = 0;
 }
Beispiel #3
0
        private void init()
        {
            validate = new Validate();
            //springOrFall = "";

            cbRunTime.SelectedItem = "4 hours";

            if (rBtnSpring.Checked)
            {
                cbStartTimeMonth.SelectedItem = "Sep";
                cbEndTimeMonth.SelectedItem = "Mar";
                FrmMain.SpringOrFall = "Spring";
            }

            else if (rbtnFall.Checked)
            {
                cbStartTimeMonth.SelectedItem = "Mar";
                cbEndTimeMonth.SelectedItem = "sep";
                FrmMain.SpringOrFall = "Fall";
            }
        }