Ejemplo n.º 1
0
        private void control_Click(object sender, EventArgs e)
        {
            if (confirmCommand != null && !confirmCommand.Confirm())
            {
                // don't execute the command if it isn't confirmed
                return;
            }

            command.Execute(this);
        }