private void picbox_AreaMap_MouseMove(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                //
                if (bMouseMove)
                {
                    viewMoveAddX = (MouseStX - e.X);
                    viewMoveAddY = (MouseStY - e.Y);
                }
                else if (selCpIndex != -1)
                {
                    LocationSystem LocSys = BrainCtrl.LocSys;

                    int       msPosX    = (e.X - MouseStX);
                    int       msPosY    = (e.Y - MouseStY);
                    MarkPoint _checkPos = new MarkPoint(new DrawMarkPoint(msPosX, msPosY, 0.0), LocSys);

                    Vector3 baseCpPos = new Vector3((moveCpPos.x + _checkPos.x)
                                                    , (moveCpPos.y + _checkPos.y)
                                                    , 0.0);

                    Vector3 nowCpPos = LocSys.RTS.GetCheckPoint(selCpIndex);

                    if (nowCpPos != baseCpPos)
                    {
                        LocSys.RTS.SetCheckPoint(selCpIndex, baseCpPos);
                    }
                }
            }
            else if (e.Button == MouseButtons.Right)
            {
            }
            else
            {
                if (checkBoxCheckPointModifi.Checked)
                {
                    //if (radioButtonPointMove.Checked && (Control.ModifierKeys & Keys.Control) == Keys.Control)
                    {
                        LocationSystem LocSys = BrainCtrl.LocSys;

                        DrawMarkPoint drawCenter = new DrawMarkPoint(LocSys.R1, LocSys);

                        // センターを左下にずらす Width x 0.1, Height x 0.1
                        double viewCenterX = (picbox_AreaMap.Width * 0.5) - (picbox_AreaMap.Width * 0.1);
                        double viewCenterY = (picbox_AreaMap.Height * 0.5) + (picbox_AreaMap.Height * 0.1);

                        int msPosX = e.X - (int)((-drawCenter.x + viewCenterX) - viewScrollX);
                        int msPosY = e.Y - (int)((-drawCenter.y + viewCenterY) - viewScrollY);

                        MarkPoint mouseRosPos = new MarkPoint(new DrawMarkPoint(msPosX, msPosY, 0.0), LocSys);

                        {
                            // 移動チェックポイント選択
                            selCpIndex = LocSys.GetCheckPointIndex(mouseRosPos.x, mouseRosPos.y);
                            if (selCpIndex != -1)
                            {
                                // 移動チェックポイント取得
                                moveCpPos = LocSys.RTS.GetCheckPoint(selCpIndex);
                            }
                        }
                    }
                }
            }
        }
        // -----------------------------------------------------------------
        // マップスクロール
        private void picbox_AreaMap_MouseDown(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left /*&& selAreaMapMode == MAP_MODE.AREA_MAP*/)
            {
                //どの修飾子キー(Shift、Ctrl、およびAlt)が押されているか

                /*
                 * if ((Control.ModifierKeys & Keys.Shift) == Keys.Shift)
                 *  Console.WriteLine("Shiftキーが押されています。");
                 * if ((Control.ModifierKeys & Keys.Control) == Keys.Control)
                 *  Console.WriteLine("Ctrlキーが押されています。");
                 * if ((Control.ModifierKeys & Keys.Alt) == Keys.Alt)
                 *  Console.WriteLine("Altキーが押されています。");
                 */
                if (checkBoxCheckPointModifi.Checked)
                {
                    LocationSystem LocSys = BrainCtrl.LocSys;

                    DrawMarkPoint drawCenter = new DrawMarkPoint(LocSys.R1, LocSys);

                    // センターを左下にずらす Width x 0.1, Height x 0.1
                    double viewCenterX = formDraw.GetMapWndowCenterX(picbox_AreaMap); // (picbox_AreaMap.Width * 0.5) - (picbox_AreaMap.Width * 0.1);
                    double viewCenterY = formDraw.GetMapWndowCenterY(picbox_AreaMap); //(picbox_AreaMap.Height * 0.5) + (picbox_AreaMap.Height * 0.1);

                    int       msPosX      = e.X - (int)((-drawCenter.x + viewCenterX) - viewScrollX);
                    int       msPosY      = e.Y - (int)((-drawCenter.y + viewCenterY) - viewScrollY);
                    MarkPoint mouseRosPos = new MarkPoint(new DrawMarkPoint(msPosX, msPosY, 0.0), LocSys);

                    if (radioButtonPointMove.Checked && (Control.ModifierKeys & Keys.Control) == Keys.Control)
                    {
                        // 移動チェックポイント選択
                        selCpIndex = LocSys.GetCheckPointIndex(mouseRosPos.x, mouseRosPos.y);
                        if (selCpIndex != -1)
                        {
                            // 移動チェックポイント取得
                            moveCpPos = LocSys.RTS.GetCheckPoint(selCpIndex);
                        }
                        else
                        {
                            // スクロール
                            bMouseMove = true;
                        }
                    }
                    else if (radioButtonPointAdd.Checked)
                    {
                        // チェックポイント新規追加
                        Vector3 baseCpPos = new Vector3(mouseRosPos.x, mouseRosPos.y, 0.0);

                        LocSys.RTS.AddCheckPoint((int)numericUD_CheckPoint.Value, baseCpPos);
                    }
                    else if (radioButtonPointDelete.Checked)
                    {
                        // チェックポイント削除
                        Vector3 baseCpPos = new Vector3(mouseRosPos.x, mouseRosPos.y, 0.0);

                        selCpIndex = LocSys.GetCheckPointIndex(mouseRosPos.x, mouseRosPos.y);
                        if (selCpIndex != -1)
                        {
                            LocSys.RTS.RemoveCheckPoint(selCpIndex);
                        }
                        selCpIndex = -1;
                    }
                    else
                    {
                        // スクロール
                        bMouseMove = true;
                    }
                }
                else
                {
                    // スクロール
                    bMouseMove = true;
                }

                MouseStX     = e.X;
                MouseStY     = e.Y;
                viewMoveAddX = 0;
                viewMoveAddY = 0;
            }
        }