Click here to Skip to main content
15,925,081 members
Home / Discussions / C#
   

C#

 
QuestionRe: How to check Cell.ContainsFocus [modified] Pin
jojoba201119-Jun-10 17:16
jojoba201119-Jun-10 17:16 
Questionhow to capture a Shift+Tab in the KeyPress event [Solved] Pin
jojoba201119-Jun-10 6:32
jojoba201119-Jun-10 6:32 
AnswerRe: how to capture a Shift+Tab in the KeyPress event PinPopular
Nuri Ismail19-Jun-10 6:44
Nuri Ismail19-Jun-10 6:44 
AnswerRe: how to capture a Shift+Tab in the KeyPress event Pin
jojoba201119-Jun-10 6:56
jojoba201119-Jun-10 6:56 
AnswerRe: how to capture a Shift+Tab in the KeyPress event Pin
Roger Wright19-Jun-10 7:00
professionalRoger Wright19-Jun-10 7:00 
AnswerRe: how to capture a Shift+Tab in the KeyPress event Pin
jojoba201119-Jun-10 7:12
jojoba201119-Jun-10 7:12 
Questionproblem in backgroindworker Pin
Jassim Rahma19-Jun-10 4:49
Jassim Rahma19-Jun-10 4:49 
AnswerRe: problem in my code using BackgroundWorker Pin
Luc Pattyn19-Jun-10 5:05
sitebuilderLuc Pattyn19-Jun-10 5:05 
your description is not clear:
1. the symptoms are not described clearly
2. some essential information is missing, such as the declaration and set-up of gridAbout

Anyway, I have these remarks:

1. you should not touch GUI parts from any thread other than the main thread (or the ProgressReport/RunWorkCompeleted handlers of a BGW created by the main thread); a BGW's DoWork is running on another thread.

2. You should check BGW.Error in BGW.RunWorkCompleted for more information

3. The things you have in BGW.DoWork don't block at all, they could as well be executed on the main thread.

4. If you insist on updating the GUI from inside BGW.DoWork without relying on ProgressReport, you'd need this[^].

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.


QuestionString and forms Pin
SRJ9219-Jun-10 1:23
SRJ9219-Jun-10 1:23 
AnswerRe: String and forms [modified] Pin
Richard MacCutchan19-Jun-10 2:06
mveRichard MacCutchan19-Jun-10 2:06 
AnswerRe: String and forms Pin
Kristian Sixhøj19-Jun-10 2:10
Kristian Sixhøj19-Jun-10 2:10 
AnswerRe: String and forms Pin
Bigdeak19-Jun-10 2:30
Bigdeak19-Jun-10 2:30 
AnswerRe: String and forms Pin
DaveyM6919-Jun-10 5:53
professionalDaveyM6919-Jun-10 5:53 
AnswerRe: String and forms Pin
meilixueshan20-Jun-10 19:18
meilixueshan20-Jun-10 19:18 
GeneralRe: String and forms Pin
SRJ9221-Jun-10 12:51
SRJ9221-Jun-10 12:51 
QuestionControl Horizontal Scrollbar of DataGridView Pin
M Nasir Uddin19-Jun-10 1:01
M Nasir Uddin19-Jun-10 1:01 
AnswerRe: Control Horizontal Scrollbar of DataGridView Pin
Luc Pattyn19-Jun-10 1:16
sitebuilderLuc Pattyn19-Jun-10 1:16 
QuestionTrim Column value access Interbase Pin
P.T.R.K19-Jun-10 0:53
P.T.R.K19-Jun-10 0:53 
AnswerRe: Trim Column value access Interbase Pin
I Believe In GOD19-Jun-10 10:01
I Believe In GOD19-Jun-10 10:01 
GeneralRe: Trim Column value access Interbase Pin
P.T.R.K19-Jun-10 11:51
P.T.R.K19-Jun-10 11:51 
GeneralRe: Trim Column value access Interbase Pin
I Believe In GOD19-Jun-10 12:24
I Believe In GOD19-Jun-10 12:24 
GeneralRe: Trim Column value access Interbase Pin
P.T.R.K20-Jun-10 18:21
P.T.R.K20-Jun-10 18:21 
GeneralRe: Trim Column value access Interbase Pin
P.T.R.K20-Jun-10 19:04
P.T.R.K20-Jun-10 19:04 
GeneralRe: Trim Column value access Interbase Pin
P.T.R.K20-Jun-10 19:19
P.T.R.K20-Jun-10 19:19 
QuestionSplitting HTML pages as Metafile without text break using MSHTML in C# [modified] Pin
Parthi2788718-Jun-10 21:33
Parthi2788718-Jun-10 21:33 

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.