We met a problem recently when we debugged a C++ Console application in both of Visual Studio 2017 and Visual Studio 2015: All breakpoints did not work (The debug could not stop at the breakpoint).
How to get all Enum names to List ?
There is a little trick when a ComboBox binds to an Enum in WPF. Here we collect 3 ways.
We tried to use Generic type in a WPF custom control, but later we realized WPF Xaml does not support generic type well, so either we use another non-generic class to wrap the custom control, or avoid using generic type in WPF custom control.
This is for recording.
Don’t know why PHP’s official manual is so confusing for the str_replace function. Replace a substring.
Since most of time we just want to replace a substring from the original string, so here we just give a simple example:
When you try to use StringFormat binding for a GroupBox Header in WPF, you might find it does not work! Some people mentioned there is a HeaderStringFormat but not StringFormat, but at least in .NET 4.5, we can not find out a HeaderStringFormat.
Style.css and functions.php files are normally modified in WordPress child theme, we can find lots of example about how to do on them. However, when we had a chance to modify template-tags.php in child theme, we spent some time to find solution.
I had a chance to learn a little bit Microsoft Bing Map Development Knowledge when a friend visited. Let me record something which we talked about (actually I learnt)
Since I met another weekend and got spare time, I did not wait long and finished urgent features on Smart Amazon Fillers website: Supporting multiple countries, and fixing pagination issue.
I released a simple ASP.NET MVC website using Amazon service 2 days ago. I might call it MyFiller project version 1. In the 1st version, I actually have not finished all features which I wanted. So in past 2 days, I modified something on it. Now I can call it version 2.