Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
985 B
12
Indexable
Never
  private void CZUMain_MouseMove(object sender, MouseEventArgs e)
        {
            if (triggerDataRefreshStudentPanel.Bounds.Contains(e.Location))
            {
                MessageBox.Show("Run Test  - Trigger Student Panel");
                if (_connectedUserType == "student") // verify database for any new modifications 
                {
                    // verify database for any new modifications 
                    actions = StudentsPanel.studentTriggerNewRefresh(_connectedUser, ref _studentLastMeeting, ref _studentLastAssignment, ref _studentLastColleague, ref _studentLastCourse);
                    refreshStudentData(actions);
                    //
                }
                else
                {
                    StudentsPanel.updateTeachedClassesList(selectClassID, ref teachedClassesIDs, connectedUser); // updating Teacher Teached Classes List every time he clicks
                }
            }
            
        }