MenuItem Icon - WPF
I tried the icon attribute in MenuItem. It doesn't work.Actually, you need to modify the header element like this: <MenuItem Name="GridButton"…
Read moreBlogs about my IT work, life, and example code — from PHP and .NET to Java, career notes and tech opinions.
I tried the icon attribute in MenuItem. It doesn't work.Actually, you need to modify the header element like this: <MenuItem Name="GridButton"…
Read moreActually, for WPF TextBlock Component, there is no click event. The best replacement is Mouse Down Event, Like this: text1.MouseDown += text1_MouseDown;
Read moreIf you upload a 7z file to an iis server and you try to load from web, then you got a 404 error. Even you checked the resource path is right. You are sure there…
Read moreSometime, I need to access my home network in Hong Kong. Moreover, in some cases, I need to make sure my clients' websites are accessible from oversea. So, I…
Read moreThere are many apps can do a screenshot in Android. However, I tested a few of them. They required your android phone are rooted. Well, most of android phones…
Read moreThe best way to design an interface for WPF is using xaml. However, in some situation, we need to change the layout in code. For example, we select a category…
Read moreMy S3 Phone is about 2 years ago. But its battery life is very short, that is about 2 hours long. I tried to uninstall apps and kills apps. These actions cannot…
Read moreI started to use Visual Studio 2013 for some new projects. I found there are a number of new features make our life easier, such as displaying the number of…
Read moreIn PHP, there is not a simple function similar with C#, such as '"michael".contains("mich")'. However, you can use strpos which is to find the position of the…
Read moreSource:Open Clip Art Using Under Public Domain Attribution This year, Microsoft ended the official support for Windows XP. Today I got a notification from…
Read moreSource:Open Clip Art Using Under Public Domain Attribution The shipment plugins can configured by zip code to make the shipment method only available within a…
Read moreI got an .eps file. I know I tried to use GIMP for this purpose. But it doesn't work. Finally, I found an opensoure software, scribus. It can open .eps file and…
Read more