private void buttonClear_Click(object sender, EventArgs e) { this.listBoxEvents.Items.Clear(); this.events.Clear(); this.CheckState(); }