//This is called after the _currentEventIndex was modified private void RefreshEvent() { if (_currentEventIndex >= _events.Count) { Application.Exit(); return; } _currentForm.Visible = false; _currentForm.Close(); _currentForm = null; GC.Collect(); _currentForm = CreateForm(CurrentFormType); _currentForm.Show(); _currentForm.SetupUpdateThread(); }
public void StartGame() { _currentForm = CreateForm(CurrentFormType); _currentForm.Show(); _currentForm.SetupUpdateThread(); }