Solved

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

Posted on 2011-03-11
3
930 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hangfire / asp.net sample 3 28
Hide Tab Page 3 19
C# Error - Add Failed 12 49
Closing all open child forms. 4 23
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now