Пример #1
0
        static void Main()
        {
            using (OuterSpace OuterSpaceForm = new OuterSpace())
            {
                OuterSpaceForm.Show();

                Application.Run(OuterSpaceForm);
            }
        }
Пример #2
0
        static void Main()
        {
            using (OuterSpace OuterSpaceForm = new OuterSpace())
            {
                OuterSpaceForm.Show();

                Application.Run(OuterSpaceForm);
            }
        }
Пример #3
0
        protected void OnOK()
        {
            int        scrWidth;
            int        scrHeight;
            CCheckbox  aControl;
            OuterSpace app = (OuterSpace)Form.ActiveForm;

            aControl = (CCheckbox)controls[RADBTN800];

            if (aControl.GetCheck())
            {
                scrWidth  = 800;
                scrHeight = 600;
            }
            else
            {
                scrWidth  = 1024;
                scrHeight = 768;
            }

            OuterSpace.OnScreenSizeChanged(new Size(scrWidth, scrHeight));
        }