private void CancelForm_Load(object sender, EventArgs e) { CancelForm_Timer.Start(); /* Start timer */ CancelForm_BtnTimer.Start(); /* Start timer */ CancelForm_PicBox.Enabled = true; /* Enable picture box */ CancelForm_OkThinButton.Enabled = true; /* Enable button */ }
private void CancelForm_BtnTimer_Tick(object sender, EventArgs e) { CancelForm_Lbl.Visible = true; /* Show label */ CancelForm_OkThinButton.Visible = true; /* Show button */ CancelForm_BtnTimer.Stop(); /* Stop timer */ }