private void toolGoBack_Click(object sender, EventArgs e) { Soko.GoBack(); ReDraw(); if (Soko.GetRoadStackCount() == 0) { this.toolGoBack.Enabled = false; } }
private void toolBack_Click(object sender, EventArgs e) { if (Step < 0) { MessageBox.Show("Begin"); return; } Step--; Soko.GoBack(); ReDraw(); }