|
@@ -553,7 +553,7 @@ namespace OTSIncAReportGrids
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if (PageSize == -1)
|
|
|
+ if (PageSize == -1|| PageSize == 0)
|
|
|
{
|
|
|
PageSize = particlesAll.Rows.Count;
|
|
|
}
|
|
@@ -1884,6 +1884,9 @@ namespace OTSIncAReportGrids
|
|
|
in_img.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
|
|
|
return ms.ToArray();
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
private void ToolStripMenuItem_Delete_Particle_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
string path = result.FilePath;
|
|
@@ -2665,6 +2668,12 @@ namespace OTSIncAReportGrids
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+ void UpdateDataTable()
|
|
|
+ {
|
|
|
+ pageSize = -1;
|
|
|
+ lnkFirst_Click(null, null);
|
|
|
+ SetDataGridViewStyle();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|