Solved

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

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

14 Experts available now in Live!

Get 1:1 Help Now