Hi every one!
i want to make a drawing programm in c# like ms paint in windows. I want to draw line, rectangle, square, ellipse and other objects on mouse move and mouse up events and fill them with colour.
To do this from where i have to start? any tutorials or ebook or sample projects. pls rply
ejazmusavi
0
Light Poster
Recommended Answers
Jump to PostStart simple. Can you draw a line, rectangle a circle on a form? If not, try to do that first.
Jump to PostHere is some code I am still working on.
It shows how to draw a rectangle during a mousemove, while the left mouse button is still down.using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; namespace ScreenCapture { public partial class TransparantFoil : Form { private Form _master; private …
Jump to Postif you want to be able to alter something after it is drawn you will need to store each object you draw in some way. I would recommend creating some classes. Create a base class for drawn objects that stores common details (location, colour, etc) then create some subclasses which …
All 9 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
ejazmusavi
0
Light Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
kvprajapati
commented:
Nice code...very helpful post.
+7
ejazmusavi
0
Light Poster
Geekitygeek
480
Nearly a Posting Virtuoso
ejazmusavi
0
Light Poster
poifull
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.