Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: Use of statics and singletons Pin
N a v a n e e t h13-Jul-09 18:02
N a v a n e e t h13-Jul-09 18:02 
AnswerRe: Use of statics and singletons Pin
Luc Pattyn13-Jul-09 12:44
sitebuilderLuc Pattyn13-Jul-09 12:44 
AnswerRe: Use of statics and singletons Pin
PIEBALDconsult13-Jul-09 13:23
mvePIEBALDconsult13-Jul-09 13:23 
Questiontoolbar + menu + task handler best practice Pin
swjam13-Jul-09 11:59
swjam13-Jul-09 11:59 
AnswerRe: toolbar + menu + task handler best practice Pin
Luc Pattyn13-Jul-09 12:47
sitebuilderLuc Pattyn13-Jul-09 12:47 
AnswerRe: toolbar + menu + task handler best practice Pin
Luc Pattyn13-Jul-09 13:27
sitebuilderLuc Pattyn13-Jul-09 13:27 
QuestionHowto write text into a picturebox on runtime Pin
NewJavaBean13-Jul-09 11:34
NewJavaBean13-Jul-09 11:34 
AnswerRe: Howto write text into a picturebox on runtime Pin
Luc Pattyn13-Jul-09 11:54
sitebuilderLuc Pattyn13-Jul-09 11:54 
Hi,

just throwing Controls on top of each other won't cut it. If you want to create a paint program, using several controls is not the way to go. You really need:
- a single control that shows it all; I would use a simple Panel;
- a data structure that holds all the different objects that constitute your artwork; you might want to define a DrawableItem class, and derive specific objects from that; then collect them in a List<DrawableItem>
- a Paint handler that paints everything in the list;
- some Mouse handlers to click and selects DrawableItems so you can move, resize, delete them.
- etc.

Have a look at some of the paint articles here on CP, or Google for Paint.NET

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Howto write text into a picturebox on runtime Pin
NewJavaBean13-Jul-09 12:20
NewJavaBean13-Jul-09 12:20 
GeneralRe: Howto write text into a picturebox on runtime Pin
Luc Pattyn13-Jul-09 12:34
sitebuilderLuc Pattyn13-Jul-09 12:34 
GeneralRe: Howto write text into a picturebox on runtime Pin
NewJavaBean13-Jul-09 12:42
NewJavaBean13-Jul-09 12:42 
GeneralRe: Howto write text into a picturebox on runtime Pin
Luc Pattyn13-Jul-09 12:49
sitebuilderLuc Pattyn13-Jul-09 12:49 
GeneralRe: Howto write text into a picturebox on runtime Pin
NewJavaBean13-Jul-09 13:03
NewJavaBean13-Jul-09 13:03 
GeneralRe: Howto write text into a picturebox on runtime Pin
Luc Pattyn13-Jul-09 13:24
sitebuilderLuc Pattyn13-Jul-09 13:24 
GeneralRe: Howto write text into a picturebox on runtime Pin
NewJavaBean13-Jul-09 14:53
NewJavaBean13-Jul-09 14:53 
AnswerRe: Howto write text into a picturebox on runtime Pin
Christian Graus13-Jul-09 14:25
protectorChristian Graus13-Jul-09 14:25 
QuestionPathGradientBrush and irregular shapes Pin
JimLaVine13-Jul-09 10:54
JimLaVine13-Jul-09 10:54 
AnswerRe: PathGradientBrush and irregular shapes Pin
Christian Graus13-Jul-09 10:59
protectorChristian Graus13-Jul-09 10:59 
AnswerRe: PathGradientBrush and irregular shapes Pin
Luc Pattyn13-Jul-09 11:25
sitebuilderLuc Pattyn13-Jul-09 11:25 
AnswerRe: PathGradientBrush and irregular shapes Pin
Henry Minute13-Jul-09 12:02
Henry Minute13-Jul-09 12:02 
Questiongetting specific string error? [modified] Pin
maifs13-Jul-09 10:46
maifs13-Jul-09 10:46 
AnswerRe: getting specific string error? Pin
Luc Pattyn13-Jul-09 10:57
sitebuilderLuc Pattyn13-Jul-09 10:57 
AnswerRe: getting specific string error? Pin
Christian Graus13-Jul-09 10:57
protectorChristian Graus13-Jul-09 10:57 
QuestionGraphics.MeasureString accuracy Pin
tasoss13-Jul-09 10:16
tasoss13-Jul-09 10:16 
AnswerRe: Graphics.MeasureString accuracy Pin
Christian Graus13-Jul-09 10:39
protectorChristian Graus13-Jul-09 10:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.