Click here to Skip to main content
15,916,293 members
Home / Discussions / C#
   

C#

 
GeneralConfigurationSettings.AppSettings Pin
Guillermo Jimenez20-Oct-04 5:50
Guillermo Jimenez20-Oct-04 5:50 
GeneralRe: ConfigurationSettings.AppSettings Pin
Guillermo Jimenez20-Oct-04 5:51
Guillermo Jimenez20-Oct-04 5:51 
GeneralRe: ConfigurationSettings.AppSettings Pin
Heath Stewart20-Oct-04 6:18
protectorHeath Stewart20-Oct-04 6:18 
GeneralGDI+ drawing onto picturebox Pin
xiaowenjie20-Oct-04 5:39
xiaowenjie20-Oct-04 5:39 
GeneralRe: GDI+ drawing onto picturebox Pin
Heath Stewart20-Oct-04 6:50
protectorHeath Stewart20-Oct-04 6:50 
GeneralRe: GDI+ drawing onto picturebox Pin
xiaowenjie20-Oct-04 7:47
xiaowenjie20-Oct-04 7:47 
GeneralRe: GDI+ drawing onto picturebox Pin
Not Active20-Oct-04 10:16
mentorNot Active20-Oct-04 10:16 
GeneralRe: GDI+ drawing onto picturebox Pin
McClamm20-Oct-04 7:03
McClamm20-Oct-04 7:03 
I would make a custom PictureBox by inheriting a new class from PictureBox and giving it an override to its OnPaint method.

In the constructor for your new PictureBox inheritor you make these calls:
this.SetStyle(ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.DoubleBuffer, true);

I understand these enable the control to draw itself in an efficient manner. Hope that helps. Please try to be more specific and plz is not a word.

vir·tu·al re·al·i·ty
n. Abbr. VR

A computer simulation of a real or imaginary universe in which Microsoft APIs are thoroughly documented and behave in an entirely logical manner.
GeneralRe: GDI+ drawing onto picturebox Pin
xiaowenjie20-Oct-04 7:49
xiaowenjie20-Oct-04 7:49 
GeneralRe: GDI+ drawing onto picturebox Pin
Heath Stewart20-Oct-04 9:51
protectorHeath Stewart20-Oct-04 9:51 
Generalderivation question Pin
3Dizard20-Oct-04 5:33
3Dizard20-Oct-04 5:33 
GeneralRe: derivation question Pin
Heath Stewart20-Oct-04 6:32
protectorHeath Stewart20-Oct-04 6:32 
GeneralRe: derivation question Pin
J4amieC20-Oct-04 22:41
J4amieC20-Oct-04 22:41 
GeneralRe: derivation question Pin
Heath Stewart21-Oct-04 6:27
protectorHeath Stewart21-Oct-04 6:27 
GeneralC# COM Interop Pin
koch.david20-Oct-04 5:03
koch.david20-Oct-04 5:03 
GeneralRe: C# COM Interop Pin
Heath Stewart20-Oct-04 5:50
protectorHeath Stewart20-Oct-04 5:50 
GeneralRe: C# COM Interop Pin
koch.david21-Oct-04 1:27
koch.david21-Oct-04 1:27 
GeneralRe: C# COM Interop Pin
Heath Stewart21-Oct-04 6:18
protectorHeath Stewart21-Oct-04 6:18 
GeneralTAPI Pin
rpussewela20-Oct-04 2:45
rpussewela20-Oct-04 2:45 
GeneralRe: TAPI Pin
Dave Kreskowiak20-Oct-04 2:54
mveDave Kreskowiak20-Oct-04 2:54 
GeneralMDI closing a child form Pin
Jonckheere20-Oct-04 1:50
Jonckheere20-Oct-04 1:50 
GeneralRe: MDI closing a child form Pin
benjymous20-Oct-04 3:05
benjymous20-Oct-04 3:05 
GeneralRe: MDI closing a child form Pin
Jonckheere20-Oct-04 3:24
Jonckheere20-Oct-04 3:24 
GeneralRe: MDI closing a child form Pin
benjymous20-Oct-04 3:42
benjymous20-Oct-04 3:42 
GeneralRe: MDI closing a child form Pin
Jonckheere21-Oct-04 3:47
Jonckheere21-Oct-04 3:47 

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.