private void menuItemUndo_Click(object sender, EventArgs e) { imageHandler.ResetBitmap(); this.AutoScrollMinSize = new Size(Convert.ToInt32(imageHandler.CurrentBitmap.Width * zoomFactor), Convert.ToInt32(imageHandler.CurrentBitmap.Height * zoomFactor)); this.Invalidate(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)