|
@@ -254,10 +254,6 @@ namespace OTSIncAReportGrids
|
|
|
cbB_PageSize.Items.Add("5000");
|
|
|
cbB_PageSize.Items.Add("All");
|
|
|
cbB_PageSize.SelectedIndex = 0;
|
|
|
- if (m_ReportApp.im_Control_DrawDistrbutionImageAndBSE != null)
|
|
|
- {
|
|
|
- ToolStripMenuItem_Addparticlestotheselectparticleslist.Visible = true;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
#region 自定义方法
|
|
@@ -337,6 +333,7 @@ namespace OTSIncAReportGrids
|
|
|
particlesAll = dtUelect.Copy();
|
|
|
btn_Sel.Enabled = false;
|
|
|
ToolStripMenuItem_Removeparticlesfromtheselectparticleslist.Visible = true;
|
|
|
+ ToolStripMenuItem_Addparticlestotheselectparticleslist.Visible = false;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -351,6 +348,7 @@ namespace OTSIncAReportGrids
|
|
|
{
|
|
|
RemoveMergeParticles(ref particlesAll, mergeParticles);
|
|
|
}
|
|
|
+ ToolStripMenuItem_Addparticlestotheselectparticleslist.Visible = true;
|
|
|
}
|
|
|
if (sel == (int)SelItem.otherParticles)
|
|
|
{
|
|
@@ -360,14 +358,17 @@ namespace OTSIncAReportGrids
|
|
|
{
|
|
|
RemoveMergeParticles(ref particlesAll, mergeParticles);
|
|
|
}
|
|
|
+ ToolStripMenuItem_Addparticlestotheselectparticleslist.Visible = false;
|
|
|
}
|
|
|
if (sel == (int)SelItem.MergeParticles)
|
|
|
{
|
|
|
particlesAll = Particledata.GetInfoForPartucleDevidePage_mergeParticles(condition);
|
|
|
+ ToolStripMenuItem_Addparticlestotheselectparticleslist.Visible = false;
|
|
|
}
|
|
|
if (sel == (int)SelItem.allParticles)
|
|
|
{
|
|
|
particlesAll = Particledata.GetInfoForPartucleDevidePage_allParticles(condition);
|
|
|
+ ToolStripMenuItem_Addparticlestotheselectparticleslist.Visible = false;
|
|
|
}
|
|
|
particlesAll.Columns.Add("Hardness");
|
|
|
particlesAll.Columns.Add("Density");
|
|
@@ -581,6 +582,7 @@ namespace OTSIncAReportGrids
|
|
|
return bmap;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
private void BindDataGridView()
|
|
|
{
|
|
|
dgV_ParticlesDevidePage.Visible = false;
|
|
@@ -1183,6 +1185,9 @@ namespace OTSIncAReportGrids
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
private void ToolStripMenuItem_exportzoomimagefile_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
//导出放大图像
|