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