private void barButtonItem18_ItemClick(object sender, ItemClickEventArgs e) { this.Hide(); authentification us = new authentification(); us.ShowDialog(); }
private void timer1_Tick(object sender, EventArgs e) { cmpt += 1; timer1.Start(); timer1.Enabled = true; if (cmpt == 200) { timer1.Stop(); timer1.Enabled = false; this.Hide(); authentification auth = new authentification(); auth.ShowDialog(); } }