Click here to Skip to main content
13,044,428 members (128,233 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How to genrate on button click popup in windows form C#?

Popup must be as same size that of the the base form and it should auto destruct in 1-2 sec..

Please if any body can help me with code then it would be gr8 help.
Posted 25-Apr-12 4:10am
Updated 25-Apr-12 5:52am
SAKryukov 25-Apr-12 11:54am
What do you mean by "generate"? I know what is "on click", but what is "on click popup" or "generate popup"? What is "popup"?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Handle the event Button.Click and use System.Windows.Forms.Timer. (This is one of the rare cases when this type of timer is useful, due to its simplicity for a developer, and its extremely poor accuracy is not a problem: 1-2 sec is a valid specification for its accuracy :-).)

Using of both things is straightforward. Please see:[^],[^],[^],[^].


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 25 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100