using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CountedControlTester
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void countedButton1_Click(object sender, EventArgs e)
        {
            label1.Text = "Button was clicked " + countedButton1.NumClicks.ToString() + " times";
        }
    }
}