private void On_BtnRegisterNewClick(object sender, RoutedEventArgs e)
        {
            try
            {
                EjsRegisterToNewCourseWindow regNewCWin =
                    new EjsRegisterToNewCourseWindow();
                regNewCWin.ShowDialog();

                this.LoadDataFromEjs();
            }
            catch (Exception)
            {
                MessageBox.Show(Application.Current.Resources["EX_CourseRegFailed"] as string);                //Properties.Resources.EX_CourseRegFailed);
            }
        }
Example #2
0
        private void On_BtnRegisterNewClick(object sender, RoutedEventArgs e)
        {
            try
            {
                EjsRegisterToNewCourseWindow regNewCWin =
                    new EjsRegisterToNewCourseWindow();
                regNewCWin.ShowDialog();

                this.LoadDataFromEjs();
            }
            catch (Exception ex)
            {
                SiliconStudio.DebugManagers.DebugReporter.Report(
                    SiliconStudio.DebugManagers.MessageType.Error,
                    "eJournalPlus Client - Course Registration Window",
                    "Register to Course Failed" +
                    "\nError: " + ex.Message);

                MessageBox.Show("現時点では、新規コースに登録出来ません。しばらくしたら、もう一度試してみて下さい。");
            }
        }