Example #1
0
        private void blackfrm_Click(object sender, EventArgs e)
        {
            frmcmb frmcmb = (frmcmb)Application.OpenForms["frmcmb"];

            frmcmb.Close();
            this.Close();
        }
Example #2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            frmcmb fmsb = new frmcmb();

            fmsb.ShowDialog();
        }