コード例 #1
0
ファイル: Form1.cs プロジェクト: anton-br/kuka_visual_mapping
 private void Drive_Click(object sender, EventArgs e)
 {
     SQ       = new SequencePoints();
     RobDrive = new Drive();
     map      = new Map();
     SiG      = new SearchInGraph();
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: IlanMar/YouBotControl
        private void Drive_Click(object sender, EventArgs e)
        {
            SQ       = new SequencePoints();
            RobDrive = new Drive();
            map      = new Map();
            SiG      = new SearchInGraph();
            int mapWidthPxls = map.Xmax * (CellSize + 1) + 1, mapHeightPxls = map.Ymax * (CellSize + 1) + 1;

            pictureBox1.Image = new Bitmap(mapWidthPxls, mapHeightPxls);
            g = Graphics.FromImage(pictureBox1.Image);
            //});
        }