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

C#

 
QuestionParameter passing to OleDb command Pin
jem918111-Nov-05 14:55
jem918111-Nov-05 14:55 
AnswerRe: Parameter passing to OleDb command Pin
n10sive11-Nov-05 16:57
n10sive11-Nov-05 16:57 
Questionremove nested collection in designmode Pin
reefboy11-Nov-05 13:14
reefboy11-Nov-05 13:14 
QuestionMDI Disable _ [] X when maximized Pin
Dwayner7911-Nov-05 11:36
Dwayner7911-Nov-05 11:36 
QuestionWinForms - drawing outside the main Form bounds? Pin
Defcon11-Nov-05 11:36
Defcon11-Nov-05 11:36 
AnswerRe: WinForms - drawing outside the main Form bounds? Pin
Dwayner7911-Nov-05 11:46
Dwayner7911-Nov-05 11:46 
GeneralRe: WinForms - drawing outside the main Form bounds? Pin
Defcon11-Nov-05 12:00
Defcon11-Nov-05 12:00 
QuestionWeird form update problem... Pin
Drew Stainton11-Nov-05 11:15
Drew Stainton11-Nov-05 11:15 
I've got a main form with a status bar that contains a progress control. I've implemented a search dialog as well as a find next command.

When the search command is selected, A form is presented for the search criteria. After OK is clicked, I close the search form and proceed to call a method that implements the search and periodically updates the value of the progress control. For some reason, after about three seconds, the maximize button on the main form title bar becomes disabled and the progress control stops updating - there's no error or anything, it just stops redrawing. When the search is complete, the progress bar updates itself and displays properly (at 100%) and the maximize button returns to its enabled state.

When the find next command is selected, the progress bar is updated properly and DOES NOT exhibit the problem above - the progress bar makes its way all the way up to 100% without a problem (and the maximize button issue doesn't happen).

The only difference between the two methods is that the first one brings up a form for data entry and closes it. After that, the two methods are identical - they both call another method that does the searching.

My first guess was that this has to do with garbage collection because of the data entry form, which would explain the delay of three seconds or so. But why this would affect the main form like it does is beyond me.

Has anyone run into something like this? It's driving me nuts.

Thanks,

Cheers,
Drew.
AnswerRe: Weird form update problem... Pin
leppie11-Nov-05 19:08
leppie11-Nov-05 19:08 
GeneralRe: Weird form update problem... Pin
Drew Stainton11-Nov-05 19:15
Drew Stainton11-Nov-05 19:15 
QuestionNeed some help with regex Pin
FreeClimber11-Nov-05 9:53
FreeClimber11-Nov-05 9:53 
AnswerRe: Need some help with regex Pin
leppie11-Nov-05 10:51
leppie11-Nov-05 10:51 
GeneralRe: Need some help with regex Pin
FreeClimber11-Nov-05 11:25
FreeClimber11-Nov-05 11:25 
QuestionCreating a new table of smaller dataset. Pin
zaboboa11-Nov-05 9:29
zaboboa11-Nov-05 9:29 
AnswerRe: Creating a new table of smaller dataset. Pin
rudy.net11-Nov-05 11:04
rudy.net11-Nov-05 11:04 
QuestionHow to rename mapped drive? Pin
Shumsky11-Nov-05 8:51
Shumsky11-Nov-05 8:51 
QuestionBinary Formatter problems Pin
Marc Clifton11-Nov-05 8:37
mvaMarc Clifton11-Nov-05 8:37 
AnswerRe: Binary Formatter problems Pin
leppie11-Nov-05 10:47
leppie11-Nov-05 10:47 
AnswerRe: Binary Formatter problems Pin
Joe Woodbury11-Nov-05 20:30
professionalJoe Woodbury11-Nov-05 20:30 
QuestionWhy is there a ContextMenu Property on TreeView? Pin
SeanCM11-Nov-05 8:35
SeanCM11-Nov-05 8:35 
AnswerRe: Why is there a ContextMenu Property on TreeView? Pin
SeanCM11-Nov-05 8:46
SeanCM11-Nov-05 8:46 
AnswerRe: Why is there a ContextMenu Property on TreeView? Pin
Colin Angus Mackay11-Nov-05 23:38
Colin Angus Mackay11-Nov-05 23:38 
GeneralRe: Why is there a ContextMenu Property on TreeView? Pin
SeanCM14-Nov-05 6:33
SeanCM14-Nov-05 6:33 
Questionsidebar Pin
faviochilo11-Nov-05 8:26
faviochilo11-Nov-05 8:26 
AnswerRe: sidebar Pin
leppie11-Nov-05 10:55
leppie11-Nov-05 10:55 

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.