public GLControlWrapper_SlimDX9(IGL_SlimDX9 sdx) { this.sdx = sdx; //uhhh not sure what we need to be doing here //SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.Opaque, true); SetStyle(ControlStyles.UserMouse, true); Resize += new EventHandler(GLControlWrapper_SlimDX_Resize); }
public GLControlWrapper_SlimDX9(IGL_SlimDX9 sdx) { this.sdx = sdx; //uhhh not sure what we need to be doing here //SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.Opaque, true); SetStyle(ControlStyles.UserMouse, true); Resize += new EventHandler(GLControlWrapper_SlimDX_Resize); }