rescuekruto.blogg.se

Battlefield 2142 loading cursor
Battlefield 2142 loading cursor










battlefield 2142 loading cursor

The screenCoordinates isn't the same coordinates as I found with the mouse move 358, 913 it's not even close. Now when I click in the pictureBox at the same location as I found the coordinates 358, 913 but on the pictureBox so the results are: ScreenCoordinates = pictureBoxSnap.PointToScreen(e.Location) Private void pictureBoxSnap_MouseDown(object sender, MouseEventArgs e) And if I click on the pictureBox for example in this case on the BATTLEFIELD 3 area I get the mouse cursor coordinates according to the pictureBox area. Now I have in my program a listBox with items each item present application screenshot.

battlefield 2142 loading cursor

Then I ran some application and moved the mouse over a specific location on the screen where the application window is and I found this coordinates: Label1.Text = string.Format("X=", GetMousePosition().X, GetMousePosition().Y) Total War Warhammer 2 (DX12) when loading campaign mode/benchmark on Intel. Then the timer1 tick event: private void timer1_Tick(object sender, EventArgs e) Battlefield 2042 introduces non-binary character, a first for the series. Return new Point(position.X, position.Y) Then the method that get the mouse position: public static Point GetMousePosition() T1.Tick += new EventHandler(timer1_Tick) In my program I added this code so when I move my mouse all over the screen I will get the mouse cursor coordinates in real time:įorm1 Load: private void Form1_Load(object sender, EventArgs e)












Battlefield 2142 loading cursor