private void getBackTwo_Click(object sender, EventArgs e) { if (Properties.Settings.Default.username.Count != 0) { MultipleUsersMain mewMew = new MultipleUsersMain(); mewMew.Show(); } else { NewAccount_New1 notANumber = new NewAccount_New1(); notANumber.Show(); } for (int i = 0; i < Application.OpenForms.Count; i++) { if (Application.OpenForms[i].Name == "Space") { Application.OpenForms[i].Close(); } } this.Close(); }
private void proceedToUsers() { // Edited 9252014 1200hrs (exactly to the minute) // Replaced Login with ObviouslyTurnUpOnAuth // Edited again 10142014 1535hrs // Replaced ObviouslyTurnUpOnAuth with MultipleUsersMain MultipleUsersMain loginform = new MultipleUsersMain(); loginform.Show(); loginform.BringToFront(); this.Hide(); }