Unify units between demo and C# button control example