public void Resize(int width, int height) { if (Image != null) Image.Dispose(); Image = new Bitmap(width, height); }