Example #1
0
        private void buttonMouseDown(object sender, MouseEventArgs e)
        {
            Button button   = (Button)sender;
            Point  location = (Point)button.Tag;

            if (e.Button == MouseButtons.Left)
            {
                presenter.FlipCell(location.X, location.Y);
            }
        }