private void OnSurfaceUpdated(object sender, SurfaceUpdatedEventArgs e) { // When the surface is updated, invalidate the 'dirty' region. // This will force the form to repaint that region. Invalidate(e.DirtyRegion.ToRectangle(), false); }
private void OnSurfaceUpdated(object sender, SurfaceUpdatedEventArgs e) { Invalidate(e.DirtyRegion.ToRectangle(), false); }
void web_Updated(object sender, SurfaceUpdatedEventArgs e) { UpdateSlide(); }