public void PanelMouseMove(object sender, MouseEventArgs e) { if (zoomCheckboxChecked) { zoomView?.SetArea(GetPanelImage()); view.Get(ProductGrid.PropertyEnum.Panel).Invalidate(); } }
/// <summary> /// Sets the zoom frame image /// </summary> private void UpdateZoom() { _zoomView.SetArea(GetZoomedArea(_buffer)); }