Exemple #1
0
        public XCube()
        {
            // Create the window to render to
            form = new Form1();

            form.Text            = PROGRAM_TITLE;
            form.Width           = FORM_WIDTH_SMALL;
            form.Height          = FORM_HEIGHT_SMALL;
            form.FormBorderStyle = FormBorderStyle.FixedToolWindow;

            wc                  = new SystemConfiguration();
            wc.Width            = FORM_WIDTH;
            wc.Height           = FORM_HEIGHT;
            wc.FormWindowHandle = form.Handle;
        }
Exemple #2
0
 public D3DInitializeHelper(SystemConfiguration windowConfig)
 {
     this.windowConfig = windowConfig;
 }