|
@@ -420,11 +420,11 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//draw boundery
|
|
|
Brush pLTGrayBrush = new SolidBrush(Color.FromArgb(255, 0, 0));
|
|
|
stageDisplayHelp.DrawStageBoundery(m_pStage, nWidth, nHeight, pDC, PixSize);
|
|
|
-
|
|
|
- ////draw STD
|
|
|
- //Brush pBlackBrush = new SolidBrush(Color.FromArgb(255, 0, 0)); ;
|
|
|
|
|
|
- //DrawStageSTD(m_pStage[m_nListBoxStageListIndex], nWidth, nHeight, pDC, PixSize);
|
|
|
+ //draw STD
|
|
|
+ Brush pBlackBrush = new SolidBrush(Color.FromArgb(255, 0, 0)); ;
|
|
|
+
|
|
|
+ stageDisplayHelp.DrawStageSTD(m_pStage, nWidth, nHeight, pDC, PixSize);
|
|
|
|
|
|
////draw holes
|
|
|
//Brush pWriteBrush = new SolidBrush(Color.FromArgb(255, 0, 0)); ;
|
|
@@ -515,6 +515,20 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if(radioButton_BoundarySquare.Checked)
|
|
|
+ {
|
|
|
+ if(double.Parse(tBoundaryHeight.Text)==0)
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (radioButton_StandardsampleSqare.Checked)
|
|
|
+ {
|
|
|
+ if (double.Parse(tStandardsampleHeight.Text) == 0)
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
return true;
|
|
|
}
|
|
|
|
|
@@ -592,5 +606,6 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
}
|