|
@@ -264,7 +264,7 @@ namespace OTSIncAReportGrids
|
|
bool UpdateTable()
|
|
bool UpdateTable()
|
|
{
|
|
{
|
|
int sel = m_ReportApp.m_conditionChoose.m_conditionData.GetComboDownListIndexByItemName(OTSIncAReportApp.OTSSampleReportInfo.OTS_REPORT_PROP_GRID_ITEMS.PARTICE_LIST);
|
|
int sel = m_ReportApp.m_conditionChoose.m_conditionData.GetComboDownListIndexByItemName(OTSIncAReportApp.OTSSampleReportInfo.OTS_REPORT_PROP_GRID_ITEMS.PARTICE_LIST);
|
|
- if (sel == 1)
|
|
|
|
|
|
+ if (sel == (int)SelItem.selectParticles)
|
|
{
|
|
{
|
|
List<Particle> selectParticles = m_ReportApp.GetSelectedParticles();
|
|
List<Particle> selectParticles = m_ReportApp.GetSelectedParticles();
|
|
DataTable dtUelect = new DataTable();
|
|
DataTable dtUelect = new DataTable();
|
|
@@ -2414,14 +2414,11 @@ namespace OTSIncAReportGrids
|
|
Bitmap ls_bp = (Bitmap)dgvr.Cells[2].Value;
|
|
Bitmap ls_bp = (Bitmap)dgvr.Cells[2].Value;
|
|
List<string> list_str = (List<string>)ls_bp.Tag;
|
|
List<string> list_str = (List<string>)ls_bp.Tag;
|
|
}
|
|
}
|
|
- else
|
|
|
|
- {
|
|
|
|
- //contextMenuStrip1.Items[10].Visible = false;
|
|
|
|
- }
|
|
|
|
|
|
+ ToolStripMenuItemDelete_Particle.Visible = true;
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- //contextMenuStrip1.Items[10].Visible = false;
|
|
|
|
|
|
+ ToolStripMenuItemDelete_Particle.Visible = false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|