private void textBox1_MouseDown(object sender, MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Right) { MessageBox.Show("Right click is disabled"); } }
private void textBox1_KeyDown(object sender, KeyEventArgs e) { if (e.Control == true) { MessageBox.Show("Cut/Copy and Paste Options are disabled"); } }