internal void LoadMainForm() { m_mainForm = new JBGameMainForm(); m_mainForm.Load += m_mainForm_Load; //initialize the main form try { CoreSystem.Init(); Application.Run(m_mainForm); } catch (Exception ex) { JBGameExceptionDialog.ShowException(ex, "MainForm"); } }
private void JBGameStartForm_Load(object sender, EventArgs e) { this.BackgroundImage = Properties.Resources.splashscreen; this.BackgroundImageLayout = ImageLayout.Stretch; JBGameMainForm.InitAndRun(this); }