示例#1
0
        /// <summary>
        /// 設定ダイアログを開きます。
        /// </summary>
        private void ExecuteOpenSettingDialog(object sender, ExecutedRoutedEventArgs e)
        {
            try
            {
                var dialog = new EvaluationSettingDialog(this);

                if (dialog.ShowDialog() == true)
                {
                    RaiseEvent(new RoutedEventArgs(SettingUpdatedEvent));
                }
            }
            catch (Exception ex)
            {
                Util.ThrowIfFatal(ex);
            }
        }
示例#2
0
        /// <summary>
        /// 設定ダイアログを開きます。
        /// </summary>
        private void ExecuteOpenSettingDialog(object sender, ExecutedRoutedEventArgs e)
        {
            try
            {
                var dialog = new EvaluationSettingDialog(this);

                if (dialog.ShowDialog() == true)
                {
                    RaiseEvent(new RoutedEventArgs(SettingUpdatedEvent));
                }
            }
            catch (Exception ex)
            {
                Util.ThrowIfFatal(ex);
            }
        }