Esempio n. 1
0
        private void TileList_DoubleClick(object sender, EventArgs e)
        {
            if (m_parent.status.path != null)
            {
                m_parent.status.path.RemoveRange(0, TileList.SelectedIndex);
            }

            m_parent.MoveRobot(m_parent.status.path[0].Position, m_parent.status.position.facing);

            m_parent.DrawFloor();

            TileList.Refresh();
        }
Esempio n. 2
0
 private void DrawButton_click(object sender, EventArgs e)
 {
     m_mainform.m_fpState = MainForm.fpState.IMAGE;
     m_mainform.DrawFloor();
     this.Close();
 }