Example:
public void changeCheckBoxBGImage(string path)
{
if (!File.Exists("Skins\\" + path))
{
MessageBox.Show("Skins\\" + path + " does not exist.");
return;
}
checkedListBox1.BackgroundImage = Image.FromFile("Skins\\" + path);
}
I tried using this.Invalidate() and checkedListBox1.Invalidate() but no go. Is there some property on my form that would prevent my controls from changing their BackgroundImage property?
Feels strange. Any help?
*Oh I'm also able to change the background color of these controls, but it seems like it's just a problem with BackgroundImage.
Sam HobbsPosted Mar 21, 2011, 8:07 PM
Adam TurnerPosted Mar 21, 2011, 6:06 PM
FroglegPosted Mar 21, 2011, 4:59 PM