Example #1
0
 private void frmRemoting_MouseDown(object sender, MouseEventArgs e)
 {
     if (conect == true)
     {
         obj.PressOrReleaseMouseButton(true, e.Button == MouseButtons.Left, e.X * desktopClient.Width / (Screen.PrimaryScreen.Bounds.Width - 10), e.Y * desktopClient.Height / (Screen.PrimaryScreen.Bounds.Height - 55));
     }
 }