Пример #1
0
            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");
                }
            }
Пример #2
0
 private void JBGameStartForm_Load(object sender, EventArgs e)
 {
     this.BackgroundImage       = Properties.Resources.splashscreen;
     this.BackgroundImageLayout = ImageLayout.Stretch;
     JBGameMainForm.InitAndRun(this);
 }