예제 #1
0
        public void SetData(int recordid, ImageTypeEnum type)
        {
            _recordId = recordid;
            _type     = type;

            _image1  = _image2 = _image3 = null;
            _t_imgs1 = _t_imgs2 = _t_imgs3 = null;
            //pictureBox1.Image = pictureBox2.Image = pictureBox3.Image = _noImage;

            GetImages();
        }
예제 #2
0
        protected void SetImage1(PictureBox pic, FishEntity.t_image_S entity)
        {
            string buffers  = null;
            string ext      = string.Empty;
            string fileName = string.Empty;
            Image  img      = SelectImage1(ref buffers, ref fileName, ref ext);

            entity.Image_name1 = buffers;
            entity.Path_name   = ext;
            if (img != null)
            {
                pic.Image = img;
            }
        }