110,825
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
[DllImpart("User32.dll")]
static extern short GetKeyState(int nVirtKey);
void Form1_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left && // 鼠标左键
(Control.ModifierKeys & Keys.Alt) == Keys.Alt && // Alt按下
(Control.ModifierKeys & Keys.Control) == Keys.Control) // Control按下
{
MessageBox.Show("Action...");
}
}