Esempio n. 1
0
        private void LoadData()
        {
            Cursor.Current = Cursors.WaitCursor;

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

            BatchViewer.LoadItems();
        }
Esempio n. 2
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);
            }
        }