我尝试过使用MouseClick事件,但eventargs的鼠标位置为x0y0.
private void notifyIcon1_Click(object sender,EventArgs e) { contextMenuStrip1.Show(Cursor.Position.X,Cursor.Position.Y); }