Confirmation Message
Is there a way to have a confirmation message appear for a brief amount of time after a user clicks on a button? This would be similar to a message box in foxpro.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SamPosted Jul 27, 2007, 2:05 PM
use a second form with a timer component on it
i.e.
public partial class Form2 : Form
{
public Form2(){
InitializeComponent();
} public void ShowForTime(int millisecs)
{
this.Show();
timer.Interval = millisecs;
timer.Start();
} private void timer_Tick(object sender, EventArgs e)
{
timer.Stop();
this.Close();
}
}
Don FeistPosted Jul 27, 2007, 12:09 PM
Jan MontanoPosted Jul 26, 2007, 9:36 PM