Example #1
0
        void btnImage_Click(object sender, EventArgs e)
        {
            var ben = ServiceProvider.Instance().GetBeneficiaryService().GetBeneficiaryObj(1);

            picImage.Image    = new Bitmap(CustomHelper.ConvertBase64StringToImage(ben.ImageByteString));
            picImage.SizeMode = PictureBoxSizeMode.StretchImage;

            //RetrieveImage();
        }