예제 #1
0
        private void frmRegistration_Load(object sender, EventArgs e)
        {
            LoginLogic l = new LoginLogic();

            listArray                  = l.GetDate();
            cbxMonth.DataSource        = listArray[0];
            cbxYear.DataSource         = listArray[4];
            cbxCommittee.DataSource    = CommitteeLogic.Get();
            cbxCommittee.ValueMember   = "Id";
            cbxCommittee.DisplayMember = "Name";
        }
예제 #2
0
 private void ShowCommittees()
 {
     committeeBindingSource.DataSource = null;
     committeeBindingSource.DataSource = CommitteeLogic.Get();
 }