My .Net Blog

Posts in this section.

Open source resources

Visual Studio 2013 Express is ok so far

I am running out of licenses for Visual Studio Professional. Solution 1 is asking for more budget this year in IT. Another option is using Express version. I…

Read more
Example Codes

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 more
Example Codes

WPF TextBlock Click Event

Actually, for WPF TextBlock Component, there is no click event. The best replacement is Mouse Down Event, Like this: text1.MouseDown += text1_MouseDown;

Read more
Announcements [B]

I started to love Visual Studio 2013

I 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 more
Example Codes

WPF Animation

I built a feature to have an animation on the wide of a panel and the user click the minimize button. I wish to create a shrinking effect. The best way I found…

Read more
Example Codes

WPF:Show and Hide Button

In Winform, to show and hide button is easy. There is a property calls visible in Button class. You just need to set it to be True and Hide. That is a simple…

Read more
Example Codes

Horizontal Stackpanel in WPF

Stackpanel is a useful layout control in WPF. If you have a set of elements need to sit side by side each other, this is your best option. For example, in my…

Read more
Example Codes

Styles in WPF

I have some styling in my WPF opensource project, AdvGen Contact Manager. That is similar with css, just state the class name like : <Grid Grid.Column="1"…

Read more