Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
1.14/5 (4 votes)
See more:
I want to write a program just like windows paint .from where i should start?
for example we have in paint the pen or a sheet for drawing .
Posted
Updated 11-May-15 12:08pm
v2
Comments
Sergey Alexandrovich Kryukov 11-May-15 18:10pm    
Win 7 Paint is already written. Don't you want to create something different? Anyway, this is not a "real" question. How to write something? Learn programming and then write it, do appropriate software development work.
—SA

All you need is


  1. WPF project
  2. Canvas control
  3. (Optional) some common sense to add logic


Here is a sample project article[^] which is used to create simple paint-like application using WPF framework and Canvas control. You can Google for such other stunning tools and projects.

On Windows Forms, you can use Graphics object and draw objects on application's user interface. Another good thread for the same subject is this[^].

To make it look like Windows 7 Paint application, you are required to add controls and other styles that would make your application look like the previous one.
 
Share this answer
 
v3
Comments
CHill60 11-May-15 19:01pm    
LOL <blockquote class="quote"><div class="op">Quote:</div>3.(Optional) some common sense to add logic</blockquote>Have a 5 for that!
Afzaal Ahmad Zeeshan 12-May-15 6:05am    
Thank you very much, CHill60. :)
Hello,

Same question already answered:
paint application in wpf platform[^]

Valery.
 
Share this answer
 
Comments
Akbar Fardi 11-May-15 14:53pm    
what about in windows form??
Valery Possoz 11-May-15 15:02pm    
Try google or youtube.

for example: https://www.youtube.com/watch?v=HxCq77mrQyo

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900