The NotifyIcon can be placed at the Mouse Position by using the BalloonTipLocation property.
The BalloonTipLocation property is used to set the desired location for the NotifyIcon to be displayed. To set the NotifyIcon at the MousePoint, you need to get the Mouse Position Coordinates of the control by using the Mouse.GetPosition () method and then set the Coordinates at the BalloonTipLocation property of the NotifyIcon.
The following code example shows how to set the NotifyIcon at the Mouse Position:
The following output is rendered and shows that the NotifyIcon is created at the Mouse Position.
This page will automatically be redirected to the sign-in page in 10 seconds.