Tag Archives: Tips

Dealing with HWND in WPF

By | August 2, 2011

If you are trying to run a WPF application, you must remember that WPF content is actually constraint to a single HWND. You could have only a single window handle that represents the entire window, and everything inside it is a bitmap drawn on the WPF canvas. Except Popup (which eventually have its own HWND) no WPF element… Read More »

Use BitmapScalingMode to ensure your rendering of Image is perfect

By | July 20, 2011

If you have worked with WPF 3.5 before, you know that declaring a normal image in your code will render your image quite fine. But If you do the same thing in .NET 4.0 or even you convert your existing application from previous version to .NET 4.0, all the images that were rendering quite Ok in your previous… Read More »

Get time of Code Execution Using StopWatch

By | July 5, 2011

During Development of the application/product or after deployment of the application/product there might be a situation where you want to find out the the how much time is taken by you code to execute ? Is it too much slow ? Answer to this problem is make use of StopWatch class of System.Diagnostics namespace which is usefull to… Read More »

Automatically Show the Output Window During Build in Visual Studio

By | June 26, 2011

The Visual Studio IDE Output window displays status messages for various features with in IDE  include build errors, compilation error, Project configuration information, that occur when a project is compiled. This window is very much important to see what your application doing during build. Now, this windows is by default turn off. So when ever you want to… Read More »