Fit Image into PictureBox

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


        
9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 15:32

    You could try changing the: SizeMode property of the PictureBox.

    You could also set your image as the BackGroundImage of the PictureBox and try changing the BackGroundImageLayout to the correct mode.

提交回复
热议问题