If you add custom build configurations to your solution, make sure you manually add, for all of them, the ApplicationIcon element with the proper .ico file in the .csproj file of the main project.
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Development|x86'">
<ApplicationIcon>MyIcon.ico</ApplicationIcon>
</PropertyGroup>
Keeping track of interesting places I put my feet on in the software development world.
Search This Blog
Saturday, January 20, 2018
Wednesday, January 10, 2018
C# DateTimePicker ValueChanged event being triggered more than once, without any Value explicit assignments taking place
I spent at least an hour in investigating this issue, even adding a timer object to my form to debug.writeline the value of my datepicker objects periodically so I could have a sense of when the problem occurs.
As I noted [here], in the end my problem was with setting the MaxDate property of both parameters, to the same DateTime object. Noting this down here in case it may be of public help...
As I noted [here], in the end my problem was with setting the MaxDate property of both parameters, to the same DateTime object. Noting this down here in case it may be of public help...
Subscribe to:
Posts (Atom)