Console App Mouse-Click X Y Coordinate Detection/Comparison

后端 未结 6 1632
长发绾君心
长发绾君心 2020-11-27 06:23

I have a game that I am working on in a C# console application, purely as practice before going on to better methods. As opposed to using something such as a Windows Forms A

6条回答
  •  有刺的猬
    2020-11-27 06:58

    What @Frank Krueger said. Do you really want to do this? Windows Forms is designed to make this much easier.

    If you do, you'll need to use PInvoke into the low level Windows API. Try this as a starting point - but be aware that this is considerably more complex than the Windows Forms application would be.

提交回复
热议问题