コード例 #1
0
        private void toolGoBack_Click(object sender, EventArgs e)
        {
            Soko.GoBack();
            ReDraw();

            if (Soko.GetRoadStackCount() == 0)
            {
                this.toolGoBack.Enabled = false;
            }
        }
コード例 #2
0
        private void toolBack_Click(object sender, EventArgs e)
        {
            if (Step < 0)
            {
                MessageBox.Show("Begin");
                return;
            }

            Step--;

            Soko.GoBack();

            ReDraw();
        }