Esempio n. 1
0
        private void btn_IsAbandoned_Click(object sender, EventArgs e)
        {
            var result = Gravity.IsAbandoned(_canvas.GetAllObject());

            if (result.Count != 0)
            {
                btn_IsAbandoned.ForeColor = Color.Red;
                Abandoned();
            }
            else
            {
                btn_IsAbandoned.ForeColor = Color.ForestGreen;
            }
        }