I would like to draw C # with the mouse, as if the mouse was a pen. I am trying to use the Graphics class using the DrawLines method, which takes an array of points as a parameter.
Do you think this is the best option, or do you know if there is another easy way to do this?
Thanks in advance
Sincerely.
Take a look at this sample:
http://www.codeproject.com/KB/graphics/drawtools.aspx
In particular, the Pencil tool does what you need.
MouseMove, MouseDown MouseUp. MouseDown MouseUp , , . , MouseMove , (LOT MouseMove , , , - , ).
Source: https://habr.com/ru/post/1766793/More articles:Как вы делаете суб-виджеты пользовательских виджетов gtk, доступных для редактирования в Glade? - chow to get ubuntu file timestamp in milliseconds - linuxInitialize an already declared char array in C ++ - c ++SQL Server Database Full: Failed to Allocate Space for Object - sql-server-2008using special fonts in iphone 4, but not up to version 3.2 - fontsHow to make a foreign key available only for reference to a subset of rows in the target table - sql-serverHow to force the SQL server to execute one command at a time without using GO? - sql-serverHow to change the style of a disabled control? - c #FILESYSTEM vs SQLITE, saving up to 10 M files - databasejQuery UI Autocomplete with JSON data source created from Rails - not working - jsonAll Articles