Fit Image into PictureBox

前端 未结 9 768
栀梦
栀梦 2020-12-15 14:43
using (SqlConnection myDatabaseConnection = new SqlConnection(myConnectionString.ConnectionString))
{
    myDatabaseConnection.Open();
    using (SqlCommand SqlComma         


        
9条回答
  •  天命终不由人
    2020-12-15 15:21

    You can set picturebox's SizeMode property to PictureSizeMode.Zoom, this will increase the size of smaller images or decrease the size of larger images to fill the PictureBox

提交回复
热议问题