internal XobotControl () { on_draw_handler = new OnDrawHandler (OnDraw); SetStyle (ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true); SetStyle (ControlStyles.AllPaintingInWmPaint, true); Dock = DockStyle.Fill; }
internal XobotControl() { on_draw_handler = new OnDrawHandler(OnDraw); SetStyle(ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); Dock = DockStyle.Fill; }