private bool On_PuzzleCenter_CommandAction(string cmdKey, PuzzleCenterVM sender)
        {
            switch (cmdKey)
            {
            case PuzzleCenterVM.CmdKey_AddAnswer:

                InputAnswerWindow dlg = new InputAnswerWindow();
                dlg.Owner = this;
                dlg.ShowDialog();
                if (dlg.DialogResult == true)
                {
                    PuzzleAnswerVM ans = new PuzzleAnswerVM();
                    ans.Answer        = dlg.Result;
                    ans.CommandAction = On_PuzzleAnswer_CommandAction;
                    _vm.AddAnswer(ans);
                }
                break;

            case PuzzleCenterVM.CmdKey_Start:
                _vm.Start();
                break;

            case PuzzleCenterVM.CmdKey_Stop:
                _vm.Stop();
                break;

            default:
                break;
            }

            return(true);
        }
        private bool On_PuzzleAnswer_CommandAction(string cmdKey, PuzzleAnswerVM sender)
        {
            switch (cmdKey)
            {
            case PuzzleAnswerVM.CmdKey_Remove:
                sender.CommandAction = null;
                _vm.RemoveAnswer(sender);
                break;

            case PuzzleAnswerVM.CmdKey_OpenNameColle:
                NameListWindow dlg = new NameListWindow(sender.NameColle);
                dlg.Owner = this;
                dlg.ShowDialog();

                break;

            default:
                break;
            }
            return(true);
        }