public void SetText(int propIndex, int columnIndex, string text)
{
switch (propIndex)
{
case 0:
{
if (columnIndex == 0)
{
Position.X = System.Convert.ToDouble(text);
}
if (columnIndex == 1)
{
Position.Y = System.Convert.ToDouble(text);
}
}
break;
case 1:
{
Rotation = System.Convert.ToDouble(text);
}
break;
}
return;
}
#endregion