示例#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();
        }
示例#2
0
 private void DrawButton_click(object sender, EventArgs e)
 {
     m_mainform.m_fpState = MainForm.fpState.IMAGE;
     m_mainform.DrawFloor();
     this.Close();
 }