/// <summary> /// calls option to get new players /// </summary> private void OptionsLoad() { this.Hide(); var nextForm = new FormOptions(); nextForm.Closed += (s, args) => this.Close(); nextForm.Show(); }
void tmr_Tick(object sender, EventArgs e) { //after 5 sec stop the timer tmr.Stop(); //display option form FormOptions mf = new FormOptions(); mf.Show(); //hide this form this.Hide(); }