Timer in WPF
In Windows Form time, there is a component for Timer. But in WPF, there is not such things. So, what thing we can do, when we need to execute a piece of code…
Read morePosts in this section.
In Windows Form time, there is a component for Timer. But in WPF, there is not such things. So, what thing we can do, when we need to execute a piece of code…
Read moreI created an opensource project, AdvGenStopWatch. This is a simple stop watch program and aimed to show how to use WPF. Including the following features: - How…
Read moreYesterday, I went to the QLD MSDN User Group Meeting. One of presenters shows his opensource project, Glimpse. That is very very cool! This project is a…
Read moreI went to Windows 8 Boot Camp today. I got a lot of new information about Windows 8. First of all, Windows 8 is not just for desktop. It is for touch devices…
Read moreI thought that is impossible to put your PC in sleep or hibernate via C#. I found that is incorrect! Moreover, that is very simple too, just one line of…
Read moreThis tutorial is to build a simple Windows Services. 1. Create a Windows Service Project, File->New->Project 2. Please add these codes into Services1.cs…
Read moreIn the Java World, we have a set of library, Commons, from Apache. They provide a lot of cores functions such as email, logging and validations. In our .Net…
Read moreI got a lot of error from a LINQ DataContext, such as "Invalid attempt to call Read when reader is closed" . That is because I was using a singleton for…
Read moreI have written an example project in C#. This example will shows how to use Mutex Lock. Moreover, it will demonstrate how to create a thread with parameters.…
Read moreI am implementing a Windows Service. I did a foolish mistake. I opened the design view of windows service and drag-and-drop the Timer from toolbar. Because I…
Read moreI went to the training event for Windows Azure Platform as a part of Bizspark camp. That is a great event. Thank you, Microsoft. They organized this event for…
Read moreI am writing a CMS by using ASP.Net MVC. Thus, I will put the html content in ViewData. In most case, we put in the view. But it display…
Read more