|
@@ -167,7 +167,14 @@ namespace OTSIncAReportApp
|
|
|
}
|
|
|
return parts;
|
|
|
}
|
|
|
-
|
|
|
+ protected void DeleteSelectedParticles()
|
|
|
+ {
|
|
|
+ foreach (var p in selectedParticles.Values)
|
|
|
+ {
|
|
|
+ var dp = (p as DisplayParticle);
|
|
|
+ dp.IsSelect = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
public void SetSelectedParticles(List<Particle> value)
|
|
|
{
|
|
|
foreach (var p in im_Control_DrawDistrbutionImageAndBSE.m_list_allDPart)
|
|
@@ -789,7 +796,7 @@ namespace OTSIncAReportApp
|
|
|
private void rbCancel_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
int tabIndex = (int)(m_conditionChoose.tabIndex);
|
|
|
-
|
|
|
+ DeleteSelectedParticles();
|
|
|
switch (tabIndex)
|
|
|
{
|
|
|
case (int)DisplayPicutureType.AnalyzeImg:
|