This code snippet shows you:

Code:
if (checkBox1.checked)
{
 textBox1.Enabled = true;
 textBox1.Focus();
}
else
{ 
 textBox1.Enabled = false;
}
Hope it helps!