I’m trying to find out when a method fired.
Here’s the setup…
I have a MainForm -> calls LogInForm which encapsulates LogIn class. The LogIn class makes a call to web services; I have the following code to captures the results when they come back.
public static void LogInCallback(IAsyncResult ar)
What I want to do, is that after this method fires, I want to find out what the results are in the Main Form, this is b/c I want to update the status bar on the Main Form.
I don’t want to make a static method in MainForm to call since the status bar can’t be static.
My question is this; what do I have to do to capture when this event fires?