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; }
public D3DInitializeHelper(SystemConfiguration windowConfig) { this.windowConfig = windowConfig; }