问题描述:

I have a Image path(some thing like this "http://ABC/XYZ/PQR.gif").And I want to assign this image to checkbox in winforms using C#.winfroms checkbox does not have SRC,How can I assign this image to checkbox.?

网友答案:

The Background of a check box can be filled with a provided image.

See

  • CheckBox Overview
  • CheckBox Members
  • Control.BackgroundImage Property
网友答案:

Try this

  1. Set the BackGroundImage Property.
  2. Change the BackGroundImageLayout Property to stretch.
  3. Change the Font Color if required
相关阅读:
Top