void commandCenter_OnLogOut(object sender, EventArgs e) { commandCenter.Hide(); ProfilesManager.LogOut(); mainMenu.Show(); }