Click here to Skip to main content
15,927,921 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem with forms Pin
Dave Kreskowiak26-Nov-05 8:05
mveDave Kreskowiak26-Nov-05 8:05 
QuestionWindows Form freezes while code is running Pin
redbrad025-Nov-05 13:26
redbrad025-Nov-05 13:26 
AnswerRe: Windows Form freezes while code is running Pin
ventomito26-Nov-05 5:47
ventomito26-Nov-05 5:47 
GeneralRe: Windows Form freezes while code is running Pin
redbrad026-Nov-05 7:01
redbrad026-Nov-05 7:01 
QuestionWord Interface - save new file after a compare? Pin
nofacts25-Nov-05 12:50
nofacts25-Nov-05 12:50 
AnswerRe: Word Interface - save new file after a compare? Pin
theFrenchHornet14-Dec-05 16:29
theFrenchHornet14-Dec-05 16:29 
QuestionPlotting with drawLines Pin
bwagz25-Nov-05 12:32
bwagz25-Nov-05 12:32 
AnswerRe: Plotting with drawLines Pin
Dave Kreskowiak26-Nov-05 7:57
mveDave Kreskowiak26-Nov-05 7:57 
GeneralRe: Plotting with drawLines Pin
bwagz26-Nov-05 10:11
bwagz26-Nov-05 10:11 
Questionwindows messaging Pin
Roy K25-Nov-05 12:16
Roy K25-Nov-05 12:16 
AnswerRe: windows messaging Pin
Curtis Schlak.25-Nov-05 13:41
Curtis Schlak.25-Nov-05 13:41 
GeneralRe: windows messaging Pin
Roy K25-Nov-05 16:43
Roy K25-Nov-05 16:43 
GeneralRe: windows messaging Pin
Curtis Schlak.26-Nov-05 7:11
Curtis Schlak.26-Nov-05 7:11 
QuestionAnyone with UserComponents experience Pin
rahulmballal25-Nov-05 12:08
rahulmballal25-Nov-05 12:08 
QuestionC# and SQL Express Primer Pin
budidharma25-Nov-05 11:27
budidharma25-Nov-05 11:27 
AnswerRe: C# and SQL Express Primer Pin
budidharma25-Nov-05 11:28
budidharma25-Nov-05 11:28 
QuestionCalls to OnPaint() - WinForms - VS 2005 Pin
mladen197425-Nov-05 10:44
mladen197425-Nov-05 10:44 
Hi,

I was wondering.......why so many calls are made to OnPaint method of the Form when ClientRectangle of the button needs to be invalidated.Confused | :confused:
I was testing some of the vs2005 features and i run a simple test which involved label, button and a call to OnPaint method.
This was done on XP Pro system.

The result was that each time the buttons ClientRectangle needs to be invalidated the Forms OnPaint method gets called. - just moving the mouse, on and off the button would call the Forms OnPaint method.
This happened only when button's style was set to Standard or System, otherwise everything works as expected.
(I used "label.text" to display #of calls to OnPaint( ) )

I've tried other standard vs2005 controls and this intensive (strange) calling of Forms OnPaint( ) manifested itself only with the button.

What am i missing here? Should this be happening?
Seems like a waste of resources.......

-- modified at 16:51 Friday 25th November, 2005
Questionnew desktop Pin
Sam 200625-Nov-05 9:58
Sam 200625-Nov-05 9:58 
AnswerRe: new desktop Pin
Dave Kreskowiak25-Nov-05 10:29
mveDave Kreskowiak25-Nov-05 10:29 
QuestionSqlDataAdapter and Data designers in VS8 Pin
Fernando A. Gomez F.25-Nov-05 9:26
Fernando A. Gomez F.25-Nov-05 9:26 
QuestionQu About Username and Password Encryption in C#.Net Pin
Reeturaja25-Nov-05 6:35
Reeturaja25-Nov-05 6:35 
QuestionHow to Encrypting Username and Password in C# Pin
Reeturaja25-Nov-05 6:35
Reeturaja25-Nov-05 6:35 
AnswerRe: How to Encrypting Username and Password in C# Pin
Stanciu Vlad25-Nov-05 6:45
Stanciu Vlad25-Nov-05 6:45 
QuestionControl visibility Problem in Inheriting WinForm! Pin
majidbhutta25-Nov-05 6:12
majidbhutta25-Nov-05 6:12 
AnswerRe: Control visibility Problem in Inheriting WinForm! Pin
Stanciu Vlad25-Nov-05 6:36
Stanciu Vlad25-Nov-05 6:36 

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.