private void buttonStop_Click(object sender, EventArgs e) { this.enabled = false; log.Enabled = false; this.CheckState(); }