Click here to Skip to main content
15,881,709 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionHow to run a dll on system reboot Pin
rockyl24-Jul-07 4:46
rockyl24-Jul-07 4:46 
AnswerRe: How to run a dll on system reboot Pin
Christian Graus24-Jul-07 13:31
protectorChristian Graus24-Jul-07 13:31 
GeneralRe: How to run a dll on system reboot Pin
rockyl24-Jul-07 21:02
rockyl24-Jul-07 21:02 
GeneralRe: How to run a dll on system reboot Pin
Christian Graus24-Jul-07 22:05
protectorChristian Graus24-Jul-07 22:05 
GeneralRe: How to run a dll on system reboot Pin
rockyl24-Jul-07 22:39
rockyl24-Jul-07 22:39 
GeneralRe: How to run a dll on system reboot Pin
Jonathan [Darka]26-Jul-07 4:27
professionalJonathan [Darka]26-Jul-07 4:27 
QuestionDrag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
charles92223-Jul-07 18:57
charles92223-Jul-07 18:57 
AnswerRe: Drag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
Christian Graus23-Jul-07 19:11
protectorChristian Graus23-Jul-07 19:11 
charles922 wrote:
this.pictureBox2.CreateGraphics();


This is why. If you create a graphics object, then as soon as the paint event is called, it will overdraw whatever you drew. Why on earth would you draw on top of a picture box, that' kind of redundant, isn't it ?

Do your drawing in the paint event, then whenever the control is invalidated, your code will draw what you want drawn.

Why are you using BitBlt instead of using the GDI+ methods ?



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Drag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
Paul Conrad23-Jul-07 19:48
professionalPaul Conrad23-Jul-07 19:48 
GeneralRe: Drag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
Christian Graus23-Jul-07 19:58
protectorChristian Graus23-Jul-07 19:58 
GeneralRe: Drag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
Paul Conrad23-Jul-07 20:00
professionalPaul Conrad23-Jul-07 20:00 
GeneralRe: Drag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
Luc Pattyn24-Jul-07 12:18
sitebuilderLuc Pattyn24-Jul-07 12:18 
GeneralRe: Drag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
Christian Graus24-Jul-07 13:29
protectorChristian Graus24-Jul-07 13:29 
GeneralRe: Drag and drop pictureBox bitmap is overwritten by repaint (C#) Pin
charles92224-Jul-07 22:08
charles92224-Jul-07 22:08 
QuestionData Flow between a web server and a computer Pin
Tarik Guney23-Jul-07 12:12
Tarik Guney23-Jul-07 12:12 
AnswerRe: Data Flow between a web server and a computer Pin
Paul Conrad23-Jul-07 15:20
professionalPaul Conrad23-Jul-07 15:20 
GeneralRe: Data Flow between a web server and a computer Pin
Tarik Guney23-Jul-07 22:39
Tarik Guney23-Jul-07 22:39 
QuestionDisplaying a Form in a specific monitor Pin
Leslie Sanford23-Jul-07 10:21
Leslie Sanford23-Jul-07 10:21 
AnswerRe: Displaying a Form in a specific monitor Pin
Luc Pattyn23-Jul-07 11:18
sitebuilderLuc Pattyn23-Jul-07 11:18 
GeneralRe: Displaying a Form in a specific monitor Pin
Leslie Sanford23-Jul-07 12:56
Leslie Sanford23-Jul-07 12:56 
GeneralRe: Displaying a Form in a specific monitor Pin
Luc Pattyn23-Jul-07 13:28
sitebuilderLuc Pattyn23-Jul-07 13:28 
GeneralRe: Displaying a Form in a specific monitor Pin
Leslie Sanford25-Jul-07 17:28
Leslie Sanford25-Jul-07 17:28 
GeneralRe: Displaying a Form in a specific monitor Pin
Paul Conrad25-Jul-07 17:49
professionalPaul Conrad25-Jul-07 17:49 
QuestionC# Winforms DataGridView control in User Control Pin
ADSolArch22-Jul-07 23:08
ADSolArch22-Jul-07 23:08 
QuestionGet window handle from mouse, outside form Pin
Genbox22-Jul-07 4:10
Genbox22-Jul-07 4:10 

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.