Solved

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

Posted on 2011-03-11
3
940 Views
Last Modified: 2012-05-11
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 ??
0
Comment
Question by:Parth48
  • 2
3 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35109429
Is this for an asp.net application or windows forms as that event is related to windows forms only.
0
 

Author Comment

by:Parth48
ID: 35114920
hi @jacko72: , it's windows form application ,but where i can put this event , in program.cs file or anywhere else ??
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 35124585
It needs to go in program.cs
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question