private void blackfrm_Click(object sender, EventArgs e) { frmcmb frmcmb = (frmcmb)Application.OpenForms["frmcmb"]; frmcmb.Close(); this.Close(); }
private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled = false; frmcmb fmsb = new frmcmb(); fmsb.ShowDialog(); }