Exemple #1
0
        private void LoadData()
        {
            Cursor.Current = Cursors.WaitCursor;

            OfferedCourseViewer.Clear();
            SectionViewer.Clear();

            BatchViewer.LoadItems();
        }
Exemple #2
0
        private void OfferedCourseViewer_ItemSelected(object sender, OfferedCourse e)
        {
            Cursor.Current = Cursors.WaitCursor;

            SectionViewer.Clear();

            if (e == null)
            {
                return;
            }

            SectionViewer.LoadItems(e);
        }
Exemple #3
0
        private void BatchViewer_ItemSelected(object sender, Batch e)
        {
            try
            {
                Cursor.Current = Cursors.WaitCursor;

                OfferedCourseViewer.Clear();
                SectionViewer.Clear();

                if (e == null)
                {
                    return;
                }

                OfferedCourseViewer.LoadItems(e);
            }
            catch (Exception ex)
            {
                MessageDialog.ShowError(ex, this);
            }
        }
 private void BatchViewer_NodeClick(object sender, DevComponents.AdvTree.TreeNodeMouseEventArgs e)
 {
     //throw new NotImplementedException();
     SectionViewer.Clear();
 }