private void btn_Click(object sender, EventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Right){MessageBox.Show("Right click");} if (e.Button == System.Windows.Forms.MouseButtons.Left){MessageBox.Show("Left click");} }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)