G
Guest
I am trying to change the form icon of a C# windows application.I am using
the Visual Studio .NET 2003 IDE. I have modified the icon using the icon
editor available in Visual Studio .NET IDE. After saving my changes, when I
try to update the Icon property of the main form , the icon image appears
correctly in the Properties window but the icon image in the upper left
corner of the form does not get updated.
However, I don't find this issue in a windows application created using the
Visual Basic.NET 2003 edition. Why is it that there is a mismatch ? Is this a
bug in C#.NET
2003 edition ?
Steps to reproduce the issue:
1. Open the VS.NET 2003 IDE and create a new C# Windows Application.
2. In the Solution Explorer window, right click on the project name and
add a new Icon file.
3. Double click on the icon file added and modify it in the Icon editor.
4.Now change the Icon property of the main form to the icon file created
and modified in steps 2&3.
Actual Results
The Icon image gets updated in the Properties window but the icon image
in the upper left corner of the form does not get updated. Run the
application and you will find that the form icon in the window caption is
still not updated.
Expected Results
The modified Icon image should get updated in the upper left corner of
the form window.
Here are the configuration details of my development environment:
Operating System : Windows XP Professional
Microsoft .NET framework 1.1 Version 1.1.4322
Microsoft Development Environment 2003 Version 7.1.3088
the Visual Studio .NET 2003 IDE. I have modified the icon using the icon
editor available in Visual Studio .NET IDE. After saving my changes, when I
try to update the Icon property of the main form , the icon image appears
correctly in the Properties window but the icon image in the upper left
corner of the form does not get updated.
However, I don't find this issue in a windows application created using the
Visual Basic.NET 2003 edition. Why is it that there is a mismatch ? Is this a
bug in C#.NET
2003 edition ?
Steps to reproduce the issue:
1. Open the VS.NET 2003 IDE and create a new C# Windows Application.
2. In the Solution Explorer window, right click on the project name and
add a new Icon file.
3. Double click on the icon file added and modify it in the Icon editor.
4.Now change the Icon property of the main form to the icon file created
and modified in steps 2&3.
Actual Results
The Icon image gets updated in the Properties window but the icon image
in the upper left corner of the form does not get updated. Run the
application and you will find that the form icon in the window caption is
still not updated.
Expected Results
The modified Icon image should get updated in the upper left corner of
the form window.
Here are the configuration details of my development environment:
Operating System : Windows XP Professional
Microsoft .NET framework 1.1 Version 1.1.4322
Microsoft Development Environment 2003 Version 7.1.3088