Click here to Skip to main content
11,930,679 members (54,675 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0 Forms
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 5:10am
Edited 25-Apr-12 6: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 Smile | :) .)

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
Web01 | 2.8.151126.1 | Last Updated 25 Apr 2012
Copyright © CodeProject, 1999-2015
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