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