Exemplo n.º 1
0
 private void screenImage_MouseDown(object sender, MouseButtonEventArgs e)
 {
     if (screenshotTimer.IsEnabled)
     {
         System.Windows.Point mousePositon = e.GetPosition(screenImage);
         //  Console.WriteLine($"X: {mousePositon.X} Y: {mousePositon.Y}, xMax: {screenImage.ActualWidth}, yMax: {screenImage.ActualHeight}");
         Server.Send(ControlInput.ClickInfo((int)mousePositon.X, (int)screenImage.ActualWidth, (int)mousePositon.Y, (int)screenImage.ActualHeight), zombie);
     }
 }