|
@@ -36,6 +36,8 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
|
|
|
private List<string> list_MainPriority = new List<string>();
|
|
|
|
|
|
ParticleData fielddata;
|
|
|
+
|
|
|
+ bool isRefresh = false;
|
|
|
#endregion
|
|
|
|
|
|
#region 构造函数及窗体加载
|
|
@@ -877,6 +879,13 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
|
|
|
|
|
|
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
|
|
|
{
|
|
|
+ if (!isRefresh)
|
|
|
+ {
|
|
|
+ isRefresh = true;
|
|
|
+ return;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
if (CurrentDatabase != comboBox1.Text)
|
|
|
{
|
|
|
CurrentDatabase = comboBox1.Text;
|