Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
QuestionWhy database.mdf is not filtered in a crystal report while connectiong a database? Pin
CoderForEver2-Jan-10 6:18
CoderForEver2-Jan-10 6:18 
Questionc# sockets [modified] Pin
ikurtz2-Jan-10 5:30
ikurtz2-Jan-10 5:30 
AnswerRe: c# sockets Pin
N a v a n e e t h2-Jan-10 6:48
N a v a n e e t h2-Jan-10 6:48 
AnswerRe: c# sockets Pin
Rob Philpott2-Jan-10 6:58
Rob Philpott2-Jan-10 6:58 
QuestionArithmetic operation resulted in an overflow. Pin
3bood.ghzawi2-Jan-10 3:12
3bood.ghzawi2-Jan-10 3:12 
AnswerRe: Arithmetic operation resulted in an overflow. Pin
#realJSOP2-Jan-10 3:39
professional#realJSOP2-Jan-10 3:39 
AnswerRe: Arithmetic operation resulted in an overflow. Pin
Alan N2-Jan-10 3:54
Alan N2-Jan-10 3:54 
GeneralRe: Arithmetic operation resulted in an overflow. Pin
Daniel Grunwald2-Jan-10 10:53
Daniel Grunwald2-Jan-10 10:53 
GeneralRe: Arithmetic operation resulted in an overflow. Pin
harold aptroot2-Jan-10 10:56
harold aptroot2-Jan-10 10:56 
GeneralRe: Arithmetic operation resulted in an overflow. Pin
Daniel Grunwald2-Jan-10 10:58
Daniel Grunwald2-Jan-10 10:58 
GeneralRe: Arithmetic operation resulted in an overflow. Pin
harold aptroot2-Jan-10 11:02
harold aptroot2-Jan-10 11:02 
Questionpassing a form to User Control(dll) from textbox Pin
jojoba20102-Jan-10 0:21
jojoba20102-Jan-10 0:21 
GeneralRe: passing a form to User Control(dll) from textbox Pin
Abhinav S2-Jan-10 0:24
Abhinav S2-Jan-10 0:24 
GeneralRe: passing a form to User Control(dll) from textbox Pin
DaveyM692-Jan-10 2:27
professionalDaveyM692-Jan-10 2:27 
AnswerRe: passing a form to User Control(dll) from textbox Pin
DaveyM692-Jan-10 2:23
professionalDaveyM692-Jan-10 2:23 
QuestionRe: passing a form to User Control(dll) from textbox [modified] Pin
jojoba20102-Jan-10 3:10
jojoba20102-Jan-10 3:10 
QuestionHow to draw a circle in C# Pin
ksaw1231-Jan-10 21:47
ksaw1231-Jan-10 21:47 
AnswerRe: How to draw a circle in C# Pin
venomation1-Jan-10 22:31
venomation1-Jan-10 22:31 
GeneralRe: How to draw a circle in C# Pin
venomation1-Jan-10 22:36
venomation1-Jan-10 22:36 
GeneralRe: How to draw a circle in C# Pin
ksaw1232-Jan-10 0:21
ksaw1232-Jan-10 0:21 
GeneralRe: How to draw a circle in C# Pin
DaveyM692-Jan-10 2:34
professionalDaveyM692-Jan-10 2:34 
QuestionRe: How to draw a circle in C# Pin
Luc Pattyn2-Jan-10 3:05
sitebuilderLuc Pattyn2-Jan-10 3:05 
AnswerRe: How to draw a circle in C# [modified] Pin
DaveyM692-Jan-10 3:14
professionalDaveyM692-Jan-10 3:14 
Because otherwise (if overriding OnPaint rather than handling the Paint event) the Paint event will not get raised. I normally do it at the end of the method i.e. after all painting, however if there is some custom action that needs doing after all paint handlers have finished then base.OnPaint(e) should be called before then.

Edit: I've just followed the link a reread your post - In my point before I had suggested overriding OnPaint rather than handling the Paint event which is where the confusion comes from!

I prefer to override OnPaint if painting as I can be sure that no subscribers to the Paint event will be called until I've done with painting. If I paint in the Paint event handler then other subscribers may already have been notified yet my painting hasn't even begun!

Dave

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus)

modified on Saturday, January 2, 2010 9:32 AM

QuestionLicence key Generate Pin
@nisha 2n1-Jan-10 21:36
@nisha 2n1-Jan-10 21:36 
AnswerRe: Licence key Generate Pin
venomation1-Jan-10 22:26
venomation1-Jan-10 22:26 

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.