protected virtual void RemoveHandlers()
{
// Remove Windows Messages handlers
this.hostingControl.PaintBackground -= new VideoControl.PaintBackgroundEventHandler(OnPaintBackground);
this.hostingControl.Paint -= new PaintEventHandler(OnPaintHandler); // for WM_PAINT
this.hostingControl.Resize -= new EventHandler(OnResizeMoveHandler); // for WM_SIZE
//this.hostingControl.Move -= new EventHandler(OnResizeMoveHandler); // for WM_MOVE
this.hostingControl.UseBlackBands = false;
SystemEvents.DisplaySettingsChanged -= new EventHandler(OnDisplayChangedHandler); // for WM_DISPLAYCHANGE
}