コード例 #1
0
        private void pbtnInitializerSubjectSchedule_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (student == null)
            {
                MessageBox.Show("You are not login account....");
                return;
            }
            FScheduleRegisterSubject frmResgisterSubject = new FScheduleRegisterSubject(student.StudentId, semester.SemesterId);

            frmResgisterSubject.StartPosition = FormStartPosition.CenterParent;
            frmResgisterSubject.ShowDialog();
        }
コード例 #2
0
        private void btnAddScheduleTime_Click(object sender, EventArgs e)
        {
            if (student == null)
            {
                MessageBox.Show("You are not login account....");
                return;
            }
            if (this.Contains(frmScheduleTable) == false)
            {
                loadFormTableTime();
            }
            frmScheduleTable.Focus();
            FScheduleRegisterSubject frmScheduleAdd = new FScheduleRegisterSubject(student.StudentId, semester.SemesterId);

            frmScheduleAdd.StartPosition = FormStartPosition.CenterParent;
            frmScheduleAdd.ShowDialog();
        }