private void lbBack_Click(object sender, EventArgs e) { try { if (step == 0) { NewGameScene ngs = new NewGameScene(); SceneManager.SetScene(ngs, AccessManager.AccessKey); return; } step--; if (step == 0) { PresidentName = txtInput.Text; } SetControl(); } catch (Exception ex) { RTCore.Environment.ReportError(ex, AccessManager.AccessKey); } }
private void lbNewGame_Click(object sender, EventArgs e) { try { NewGameScene ngs = new NewGameScene(); SceneManager.SetScene(ngs, AccessManager.AccessKey); } catch (Exception ex) { RTCore.Environment.ReportError(ex, AccessManager.AccessKey); } }