开发者

Change icon on InputBox

开发者 https://www.devze.com 2023-01-18 17:08 出处:网络
I changed the main icon used on a WinForms project.I updated the icon in project properties, and also the ico开发者_C百科n property on a number of forms in the project.However, when I display a InputB

I changed the main icon used on a WinForms project. I updated the icon in project properties, and also the ico开发者_C百科n property on a number of forms in the project. However, when I display a InputBox the old project icon is still displayed in the task bar for the input box.

string userInput = Interaction.InputBox("Enter Your Favorite Color.", "Red", String.Empty, -1, -1);

Any ideas out there.


Dan, You will have to update the Icon in the Add/Remove programs. It takes the icon which is registered when the application is installed.

0

精彩评论

暂无评论...
验证码 换一张
取 消