private void button2_Click(object sender, EventArgs e) { button1.Enabled = true; this.textBox1.Enabled = true; trace.CancelTrace(); }