Click here to Skip to main content
15,913,836 members
Home / Discussions / C#
   

C#

 
GeneralRe: To show user's screen resolution ? Pin
omegazafer13-Nov-07 23:59
omegazafer13-Nov-07 23:59 
Questioncreating Processes to run BAT files using XCOPY Pin
ckelker13-Nov-07 12:30
ckelker13-Nov-07 12:30 
AnswerRe: creating Processes to run BAT files using XCOPY Pin
Dave Kreskowiak14-Nov-07 6:46
mveDave Kreskowiak14-Nov-07 6:46 
GeneralRe: creating Processes to run BAT files using XCOPY Pin
ckelker14-Nov-07 6:58
ckelker14-Nov-07 6:58 
GeneralRe: creating Processes to run BAT files using XCOPY Pin
Dave Kreskowiak14-Nov-07 12:50
mveDave Kreskowiak14-Nov-07 12:50 
GeneralRe: creating Processes to run BAT files using XCOPY Pin
ckelker15-Nov-07 7:31
ckelker15-Nov-07 7:31 
GeneralRe: creating Processes to run BAT files using XCOPY Pin
Dave Kreskowiak15-Nov-07 12:09
mveDave Kreskowiak15-Nov-07 12:09 
QuestionCreateGraphics on a System.Image Pin
codemunkeh13-Nov-07 12:27
codemunkeh13-Nov-07 12:27 
Hi.
So far my app runs great. Apart from some slow performance, but that's not too important.
using System.Drawing I'm making use of a Panel control and drawing using .CreateGraphics()
What I'd like to know is, is there any way of getting a System.Graphics object for an Image or a Bitmap, so that I can draw to the bitmap in memory (using FillRectangle, etc.) and then dump the Bitmap onto the Panel control when the paint event comes a-knocking?

Basically, what's the equivalent of Control.CreateGraphics() for a Bitmap?

Cheers,
Ninja


Ninja (the Nerd)

Confused? You will be...

AnswerRe: CreateGraphics on a System.Image Pin
Christian Graus13-Nov-07 12:38
protectorChristian Graus13-Nov-07 12:38 
GeneralRe: CreateGraphics on a System.Image Pin
codemunkeh13-Nov-07 12:50
codemunkeh13-Nov-07 12:50 
GeneralRe: CreateGraphics on a System.Image Pin
Christian Graus13-Nov-07 12:59
protectorChristian Graus13-Nov-07 12:59 
GeneralRe: CreateGraphics on a System.Image Pin
codemunkeh13-Nov-07 13:05
codemunkeh13-Nov-07 13:05 
AnswerRe: CreateGraphics on a System.Image Pin
Luc Pattyn13-Nov-07 13:06
sitebuilderLuc Pattyn13-Nov-07 13:06 
GeneralRe: CreateGraphics on a System.Image Pin
codemunkeh13-Nov-07 13:09
codemunkeh13-Nov-07 13:09 
GeneralRe: CreateGraphics on a System.Image Pin
Luc Pattyn13-Nov-07 13:16
sitebuilderLuc Pattyn13-Nov-07 13:16 
GeneralRe: CreateGraphics on a System.Image Pin
codemunkeh13-Nov-07 13:35
codemunkeh13-Nov-07 13:35 
GeneralRe: CreateGraphics on a System.Image Pin
Luc Pattyn13-Nov-07 13:45
sitebuilderLuc Pattyn13-Nov-07 13:45 
QuestionImages Click Event Problem... Pin
kingletas13-Nov-07 12:01
kingletas13-Nov-07 12:01 
AnswerRe: Images Click Event Problem... Pin
Luc Pattyn13-Nov-07 12:17
sitebuilderLuc Pattyn13-Nov-07 12:17 
GeneralRe: Images Click Event Problem... Pin
kingletas13-Nov-07 12:51
kingletas13-Nov-07 12:51 
GeneralRe: Images Click Event Problem... Pin
Luc Pattyn13-Nov-07 13:11
sitebuilderLuc Pattyn13-Nov-07 13:11 
GeneralRe: Images Click Event Problem... Pin
kingletas13-Nov-07 14:58
kingletas13-Nov-07 14:58 
QuestionImporting Extreamly Large Files Pin
jasper01813-Nov-07 11:58
jasper01813-Nov-07 11:58 
GeneralRe: Importing Extreamly Large Files Pin
jasper01813-Nov-07 12:46
jasper01813-Nov-07 12:46 
QuestionDateTime Compare Problem Pin
dataminers13-Nov-07 11:12
dataminers13-Nov-07 11:12 

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.