How to Make a Simple Painting Program with Visual C#

Knoji reviews products and up-and-coming brands we think you'll love. In certain cases, we may receive a commission from brands mentioned in our guides. Learn more.
This is a step by step tutorial on how to make a simple painting program using visual c#. Good luck!

             Making a simple paint program with Visual C# is very easy. It requires no programming knowledge at all, and can be made fast. This program will only be able to draw black lines and nothing else. Like I said earlier, it's a very simple program. This application is useless, but will be a good first step in learning to program with Visual C#.

Step 1: Open up Visual C#.

 Step 2: Click the "New Project" button on the side.

Step 3: When it comes up click the "WPF Application" button, then "OK."

Step 4: After this click the "Toolbox" button. It's icon is a wrench and a hammer crossed, and it is close to the top of the screen.

Step 5: Right click inside the toolbox area and then press "Chose Items." The reason you are dong this is so that you can add a tool to the toolbox that isn't there yet.

Step 6: You should see a window come up, when you do make sure you are in the "WPF Components" list. You should all ready be there, but just in case make sure. When you have made sure that that's where you're at, scroll down until you see the "Ink Canvas" tool.

Step 7: Put a check in the box beside it, and then click "OK." This will add the "Ink Canvas" tool to your toolbox.

Step 8: Then scroll down in the toolbox until you see the Ink Canvas tool. Double click it and it should appear on your blank program. You can also click it once and move your mouse to your black program, right click and hold it down as you drag your mouse. This way you can get it to the right size you want it right off the bat.

Step 9: Adjust the size, color, and other properties of the Ink Canvas to your liking. You can adjust the pen color and other things too.

Step 10: You can click the green play button to test out your program and basically you are done!

Step 11: Experiment with it and learn more. Good luck!

6 comments

Jeanne Ruczhak-Eckman
0
Posted on Jan 9, 2012
Bruce Bostwick
0
Posted on Jan 7, 2012
Ken Brace
0
Posted on Feb 16, 2011
Ken Brace
0
Posted on Dec 28, 2010
suni51
0
Posted on Dec 27, 2010
Ken Brace
0
Posted on Dec 26, 2010