private void Form1_Load(object sender, EventArgs e)
{
textBox1.Multiline = true;
}
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Tab)
{
MessageBox.Show("Tab Key is Pressed");
}
}