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.
My friends and Colleagues were surprised with my UI skills no matter on WPF or Windows Form or Web applications. Most of my software could have much more beautiful than other software developers. I can not tell you what the exact reason is, but I can tell you I do NOT ONLY have bachelor’s degree of Computer Science with many years software development experiences. BUT ALSO I own 3D Animation Certificate from a popular Canadian Public College, I guess I have more sensitive feeling and better ideas on some art works than other software developers
I had a blog which was about my computer programming and 3D Animation stuff. There were lots of interesting content, but finally the blog was closed by 3rd party service. The possible reason was because I did not maintaining and updating long time.