Click here to Skip to main content
15,894,646 members
Home / Discussions / C#
   

C#

 
GeneralRe: seem to have a blackout Pin
Stephan Wright29-Jul-04 23:30
Stephan Wright29-Jul-04 23:30 
GeneralWav To Midi Pin
MicSky28-Jul-04 21:17
MicSky28-Jul-04 21:17 
GeneralRe: Wav To Midi Pin
Bret Mulvey9-Aug-04 18:13
Bret Mulvey9-Aug-04 18:13 
GeneralSimple yet unanswered question Pin
hatim_ali28-Jul-04 19:16
hatim_ali28-Jul-04 19:16 
GeneralRe: Simple yet unanswered question Pin
J. Dunlap28-Jul-04 19:30
J. Dunlap28-Jul-04 19:30 
GeneralRe: Simple yet unanswered question Pin
Giles28-Jul-04 20:57
Giles28-Jul-04 20:57 
Questionsave bitmap ? Pin
kendao28-Jul-04 17:33
kendao28-Jul-04 17:33 
AnswerRe: save bitmap ? Pin
mav.northwind28-Jul-04 21:13
mav.northwind28-Jul-04 21:13 
If you want to keep what you've drawn to your panel, then I guess you'll have to take a different approach altogether.

Am I right that you're calling myPanel.CreateGraphics() and then use this Graphics object for painting? In this case, the actions are not recorded anywhere and your panel will be blank after the next paint event it receives (try hiding your panel behind another window and then restoring it...).

I think you should use a Bitmap from the start and paint onto this Bitmap using a Graphics object retrieved by Graphics.FromImage().
In the paint event handler of your panel you paint the bitmap.
That way you can also call myBitmap.Save(...) to save the contents of the bitmap.

Regards,
mav
AnswerRe: save bitmap ? Pin
Heath Stewart29-Jul-04 5:14
protectorHeath Stewart29-Jul-04 5:14 
Generaltabbing with text selection Pin
azusakt28-Jul-04 16:45
azusakt28-Jul-04 16:45 
GeneralRe: tabbing with text selection Pin
mikker_12328-Jul-04 23:48
mikker_12328-Jul-04 23:48 
GeneralHTTP POST with unicode in C# Pin
khchan28-Jul-04 16:32
khchan28-Jul-04 16:32 
GeneralRe: HTTP POST with unicode in C# Pin
Heath Stewart29-Jul-04 5:17
protectorHeath Stewart29-Jul-04 5:17 
QuestionFast way to link items in richTextBoxes with text ? Pin
evdoxos28-Jul-04 14:41
evdoxos28-Jul-04 14:41 
AnswerRe: Fast way to link items in richTextBoxes with text ? Pin
mav.northwind28-Jul-04 21:21
mav.northwind28-Jul-04 21:21 
GeneralRe: Fast way to link items in richTextBoxes with text ? Pin
evdoxos29-Jul-04 0:59
evdoxos29-Jul-04 0:59 
GeneralRe: Fast way to link items in richTextBoxes with text ? Pin
mav.northwind29-Jul-04 1:04
mav.northwind29-Jul-04 1:04 
GeneralRe: Fast way to link items in richTextBoxes with text ? Pin
evdoxos29-Jul-04 2:13
evdoxos29-Jul-04 2:13 
GeneralRe: Fast way to link items in richTextBoxes with text ? Pin
mav.northwind29-Jul-04 2:30
mav.northwind29-Jul-04 2:30 
GeneralRe: Fast way to link items in richTextBoxes with text ? Pin
evdoxos29-Jul-04 18:26
evdoxos29-Jul-04 18:26 
GeneralStarting a GUI app with a windows service in C# Pin
satorical28-Jul-04 14:27
satorical28-Jul-04 14:27 
GeneralRe: Starting a GUI app with a windows service in C# Pin
ChrisAdams28-Jul-04 15:25
ChrisAdams28-Jul-04 15:25 
GeneralRe: Starting a GUI app with a windows service in C# Pin
Heath Stewart29-Jul-04 5:23
protectorHeath Stewart29-Jul-04 5:23 
GeneralRe: Starting a GUI app with a windows service in C# Pin
satorical29-Jul-04 6:13
satorical29-Jul-04 6:13 
GeneralRe: Starting a GUI app with a windows service in C# Pin
Heath Stewart29-Jul-04 6:23
protectorHeath Stewart29-Jul-04 6:23 

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.