Get the latest Education e-news
 

Go Back   Game Career Guide Forums > Programming
Forum Home Register Members List Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-30-2012, 05:04 AM   #1
complete
Junior Member

Activity Longevity
0/20 5/20
Today Posts
0/11 ssssssss2
Default Why doesn't this call back function get called?

Why doesn't this call back function get called?

Basically here is the code surrounding the declaratoini callback method:

Code:
	webbrowser1 = new WebBrowser();

	webbrowser1.LoadCompleted +=webbrowser1_LoadCompleted;

	webbrowser1.Navigate(new Uri("http://www.google.com"));
Should there be something more or are they in the wrong order?
The method, webbrowser1_LoadCompleted, is never called. I have put breakpoints in the callback method and the running program never reaches this method:
Code:
         void webbrowser1_LoadCompleted(object sender, NavigationEventArgs e)
        {
            .
            .
            .

        }
I must be missing a reference. I do not know what one I am missing. Can you offer a suggestion?
complete is offline   Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
All times are GMT -8. The time now is 06:58 PM.






UBM Tech