Example #1
0
        public void Init(int width, int height)
        {
            _ViewForm = new ViewForm();

            InputState.Init(_ViewForm);
            Sound.Init(_ViewForm);
            Graphics.Init(_ViewForm, width, height);

            _ViewForm.Show();

            _Running = true;
            _Timer   = new Timer();
        }
Example #2
0
        }//frmMain()

        public void ReacquireResources(object sender, EventArgs e)
        {
            InputState.Init(this);
        }