Click here to Skip to main content
15,881,852 members
Home / Discussions / C#
   

C#

 
AnswerRe: Question about textbox Pin
saqib827-Nov-06 19:46
saqib827-Nov-06 19:46 
GeneralRe: Question about textbox Pin
MHASSANF8-Nov-06 1:25
MHASSANF8-Nov-06 1:25 
AnswerRe: Question about textbox Pin
aamironline7-Nov-06 20:07
aamironline7-Nov-06 20:07 
QuestionRe: Question about textbox Pin
MHASSANF8-Nov-06 1:19
MHASSANF8-Nov-06 1:19 
QuestionPass arguments for execute file in C#. Pin
lambro7-Nov-06 17:26
lambro7-Nov-06 17:26 
AnswerRe: Pass arguments for execute file in C#. Pin
rah_sin7-Nov-06 19:09
professionalrah_sin7-Nov-06 19:09 
AnswerRe: Pass arguments for execute file in C#. Pin
saqib827-Nov-06 19:49
saqib827-Nov-06 19:49 
QuestionDesign question - asynchronous(?) processing Pin
Mackster2117-Nov-06 17:10
Mackster2117-Nov-06 17:10 
Hi folks,

I've got a pair of classes (A and B), where A instantiates an instance of B. What I want to do is:

A.DoStuff();<br />
A.B.DoSomeStuff();<br />
A.DoMoreStuff();


The problem is that B.DoSomeStuff() is asynchronous, and A.DoMoreStuff is called before B is done with its processing. For my specific case, B is an instance of the WebBrowser object, and most of the processing happens in its DocumentComplete event handler.

It strikes me that I should create an event and an event handler, but for the life of me I've been unable to hook this all together successfully. Are events the way to go, or should I implement some type of callback mechanism here?

Any suggestions or pointers will be gratefully received.

Thanks,
Kevin
AnswerRe: Design question - asynchronous(?) processing Pin
Russell Jones7-Nov-06 21:24
Russell Jones7-Nov-06 21:24 
Questionhow to retieve text from image from file Pin
suma123827-Nov-06 14:14
suma123827-Nov-06 14:14 
Questiondatarow and dataset Pin
Mohammed Elkholy7-Nov-06 13:06
Mohammed Elkholy7-Nov-06 13:06 
AnswerRe: datarow and dataset Pin
lainoo7-Nov-06 13:18
lainoo7-Nov-06 13:18 
QuestionData holder - design decision Pin
Glen Harvy7-Nov-06 10:41
Glen Harvy7-Nov-06 10:41 
AnswerRe: Data holder - design decision Pin
Christian Graus7-Nov-06 11:49
protectorChristian Graus7-Nov-06 11:49 
QuestionProblem with dataGridComboBoxColumn object in VC# 2005 Pin
hdv2127-Nov-06 10:37
hdv2127-Nov-06 10:37 
AnswerRe: Problem with dataGridComboBoxColumn object in VC# 2005 Pin
lainoo7-Nov-06 13:14
lainoo7-Nov-06 13:14 
QuestionIBindingList implementation Pin
bertvan7-Nov-06 10:05
bertvan7-Nov-06 10:05 
AnswerRe: IBindingList implementation Pin
Robert Rohde7-Nov-06 12:51
Robert Rohde7-Nov-06 12:51 
AnswerRe: IBindingList implementation Pin
Ed.Poore7-Nov-06 13:49
Ed.Poore7-Nov-06 13:49 
QuestionImage as Embedded Resource... [modified] Pin
new_phoenix7-Nov-06 7:16
new_phoenix7-Nov-06 7:16 
AnswerRe: Image as Embedded Resource... Pin
Scott Dorman7-Nov-06 8:05
professionalScott Dorman7-Nov-06 8:05 
AnswerRe: Image as Embedded Resource... Pin
Christian Graus7-Nov-06 9:11
protectorChristian Graus7-Nov-06 9:11 
Questionhow to change sound to byte and byte to sound? Pin
bahman2000b7-Nov-06 6:01
bahman2000b7-Nov-06 6:01 
AnswerRe: how to change sound to byte and byte to sound? Pin
Luc Pattyn7-Nov-06 7:46
sitebuilderLuc Pattyn7-Nov-06 7:46 
QuestionIrDAClient Pin
G_Me7-Nov-06 4:27
G_Me7-Nov-06 4:27 

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.