I’ve started working with IronPython in #Develop, and i love the integration with IronPython and Windows Forms, it lets you create the GUI like is were Visual Basic or C#
The question i have is simple, how to draw a line into a PictureBox when it’s clicked? I’ve found this code about drawing lines, but i know how to adapt it to a PictureBox.
This is the code i’ve found:
http://www.zetcode.com/tutorials/ironpythontutorial/painting/
So, what should i put in “def PictureBox1Click(self, sender, e):”?
Any help or guide would be gratly appreciated.
Here is a simple example that draws a line on a picture box when it is clicked.