Sometimes my data is not editable. When that happens, I want the icon on the form to be different that what it's set to in the properties. The icon is already in my project, but I can't figure out how to change it at runtime. Seems like it would be as simple as "this.Icon = padlock.ico". But that doesn't work.
Start Free Trial