Monthly Archives: March 2014

C++ – Simple Dynamic 2D array example

Posted in C++, Programming | Tagged | Leave a comment

Git – useful article about Git workflow

The following link has a useful information about managing git branches. https://www.atlassian.com/git/workflows#!workflow-gitflow

Posted in Git, Programming | Tagged | Leave a comment

C# – Windows 8 App, using canvas to draw outside of Grid control

Canvas size is always child driven so it will give infinite size for children. Also HorizontalAlignment and VerticalAlignment settings have no effect on a child of a Canvas. However even Canvas size is to zero, it does not affect to … Continue reading

Posted in .NET, Programming | Tagged | Leave a comment

C# – Windows 8 App, creating custom control with Xaml

The following URL shows how to create custom control with Xaml. http://blogs.msdn.com/b/mim/archive/2013/03/19/create-a-custom-user-control-using-xaml-and-c-for-windows-8.aspx Another http://blogs.msdn.com/b/windowsappdev/archive/2012/10/15/building-a-custom-control-using-xaml-and-c.aspx

Posted in .NET, Programming | Tagged , | Leave a comment

C# – How RaisePropertyChanged works in MVVM light

MVVM light provides an easy way of the strong typed RaisePropertyChanged with lambda. The following code shows how this can find the correct string for member of ViewModel. so you can use the following code safely.

Posted in .NET, Programming | Tagged | Leave a comment

C++11 – default member initialization

You can initialize the member variable as shown the following in C++11. It will save a lot of typing when you have many constructors.

Posted in C++, Programming | Tagged | Leave a comment

C# – MVVM light

I think that MVVM light is the essential tool for XAML based framework such as WPF, Silverlight, Windows 8, WindowPhone 8 http://www.galasoft.ch/mvvm/doc/

Posted in .NET, Programming | Tagged | Leave a comment