// Update document and notify client about changes private void UpdateNewImage() { // update size UpdateSize(); // repaint myBrowser.Invalidate(); }