public void SetBack(string imagestring, int w, int h, PictureBoxSizeMode sizemode) { _imagestring = imagestring; _w = w; _h = h; _sizemode = sizemode; }
protected Image(SerializationInfo info, StreamingContext context) : base(info, context) { _sizemode = (PictureBoxSizeMode)info.GetValue("SizeMode", typeof(PictureBoxSizeMode)); ImageString = info.GetString("ImageString"); }
public Image(Image image) : base(image) { _sizemode = image.SizeMode; ImageString = image.ImageString; }