In CodeLab, I code
#region UICode
Pair<double,double> Amount1=Pair.Create(0.0,0.0); // Position
#endregion
but get an error when "Save As DLL".
You may confirm the problem by coding following http://boltbait.com/pdn/CodeLab/help/uielements.asp -Double Vector.