|
@@ -958,8 +958,10 @@ namespace OTSMeasureApp
|
|
|
foreach (var s in m_visualSamples)
|
|
|
{
|
|
|
allobj.Add(s.GetMeasureGDIObject());
|
|
|
- foreach (var f in s.GetMeasureFieldGDIObjects())
|
|
|
+ var flds = s.GetMeasureFieldGDIObjects();
|
|
|
+ for(int i=flds.Count;i>0;i--)//revert the sequence so that the last field will paint first.then the green or yellow rectangle can display fully.
|
|
|
{
|
|
|
+ var f = flds[i-1];
|
|
|
allobj.Add(f);
|
|
|
|
|
|
}
|