Click here to Skip to main content
15,867,686 members

Comments by George Swan (Top 200 by date)

George Swan 2 days ago View    
Excellent 5ed!
George Swan 28-Feb-24 2:23am View    
It seems to me that you need to break out of the 'for' loop when the first mismatched text is found or else it will be the last text match alone that determines if a colour switch is made
George Swan 22-Feb-24 17:36pm View    
Isn't this ok?
long res= Convert.ToInt64("0Xfffff", 16);
George Swan 18-Jan-24 2:46am View    
You are most welcome.
George Swan 1-Jan-24 1:42am View    
My understanding is that the binding is set in the xaml with <DataGrid x:Name="DataGrid" ItemsSource="{Binding CustomerList}" AutoGenerateColumns="True" />. I updated the method as I believe that it is best practice to not to learn legacy code when better alternatives are available. I am also hesitant about posting other people's code under my name. However, the original version will work fine. As I mentioned before, my WPF skills are a bit rusty but there are plenty of very smart posters on here who should be able to help you further. Best wishes, George.