private void btnCounterExample_Decrease_Click(object sender, EventArgs e) { if (counterHelper.Decrement(MultiInstance_PerformanceCounters.CounterExample) == 0) { this.btnCounterExample_Decrease.Enabled = false; } }