Ejemplo n.º 1
0
        public virtual bool Initialize()
        {
            if(Configuration == null)
                Configuration = new SystemConfiguration();

            InitializeWindows();

            if (Input == null)
            {
                Input = new InputClass();
                Input.Initialize();
            }

            if (Graphics == null)
            {
                Graphics = new GraphicsClass();
                Graphics.Initialize(Configuration, MainForm.Handle);
            }

            return true;
        }
Ejemplo n.º 2
0
        public virtual bool Initialize()
        {
            if (Configuration == null)
            {
                Configuration = new SystemConfiguration();
            }

            InitializeWindows();

            if (Input == null)
            {
                Input = new InputClass();
                Input.Initialize();
            }

            if (Graphics == null)
            {
                Graphics = new GraphicsClass();
                Graphics.Initialize(Configuration, MainForm.Handle);
            }

            return(true);
        }