예제 #1
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);
            }
        }