تبلیغات
 private void textBox1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyValue == 9)
                Form1.ActiveForm.Close();
        }