Link to home
Start Free TrialLog in
Avatar of Parth48
Parth48Flag for India

asked on

Where can i put EnterThreadModal event of application in my application ??

Where can i put EnterThreadModal event of application in my application ??

please refer the below code
private void Application_EnterThreadModal(Object sender, EventArgs e) {

   MessageBox.Show("You are in the Application.EnterThreadModal event.");

}

Open in new window


where i can put the above code ?? in program.cs file or in form code behind ??
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Is this for an asp.net application or windows forms as that event is related to windows forms only.
Avatar of Parth48

ASKER

hi @jacko72: , it's windows form application ,but where i can put this event , in program.cs file or anywhere else ??
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial