Esempio n. 1
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        public SendLogDialog(ReportDialogModel model)
        {
            InitializeComponent();

            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.OK,
                    ExecuteOK));
            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.Cancel,
                    ExecuteCancel));

            this.model       = model;
            this.DataContext = model;
        }
Esempio n. 2
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        public SendLogDialog(ReportDialogModel model)
        {
            InitializeComponent();

            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.OK,
                    ExecuteOK));
            CommandBindings.Add(
                new CommandBinding(
                    RagnarokCommands.Cancel,
                    ExecuteCancel));

            this.model = model;
            this.DataContext = model;
        }