/// <summary>
        /// コンストラクタ
        /// </summary>
        public EvaluationSettingDialog(EvaluationControl control)
        {
            InitializeComponent();
            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.OK,
                    ExecuteOK));
            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.Cancel,
                    ExecuteCancel));

            this.model = new ViewModelProxy(control);
            this.control = control;

            DataContext = model;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        public EvaluationSettingDialog(EvaluationControl control)
        {
            InitializeComponent();
            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.OK,
                    ExecuteOK));
            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.Cancel,
                    ExecuteCancel));

            //this.model = new ViewModelProxy(control);
            this.control = control;

            //DataContext = model;
        }