|
@@ -277,6 +277,7 @@ namespace OTSIncAReportGraph.Controls
|
|
|
this.control_Ruler1.Visible = false;
|
|
|
this.Controls.Add(this.control_XRayTable1);
|
|
|
this.Controls.Add(this.control_Ruler1);
|
|
|
+
|
|
|
}
|
|
|
private void ProgressBarUpdate(int progress, string message)
|
|
|
{
|
|
@@ -2005,7 +2006,7 @@ namespace OTSIncAReportGraph.Controls
|
|
|
}
|
|
|
if (!DoesItExist)
|
|
|
{
|
|
|
- //备份数据库
|
|
|
+ //备份数据库 ,.
|
|
|
BackupDatabase();
|
|
|
}
|
|
|
DoesItExist = false;
|
|
@@ -2300,5 +2301,16 @@ namespace OTSIncAReportGraph.Controls
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ protected override bool ProcessDialogKey(Keys keyData)
|
|
|
+ {
|
|
|
+ if (keyData == Keys.Escape)
|
|
|
+ {
|
|
|
+ DeselectAllParticle();
|
|
|
+ frmReportApp.selectedParticles.Clear();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return base.ProcessDialogKey(keyData);
|
|
|
+ }
|
|
|
}
|
|
|
}
|