diff --git a/FrmGHRK.cs b/FrmGHRK.cs index 019dd30..5b6206c 100644 --- a/FrmGHRK.cs +++ b/FrmGHRK.cs @@ -1,4 +1,5 @@ using System; +using System.Diagnostics; using System.Drawing; using System.IO; using System.Windows.Forms; @@ -28,6 +29,7 @@ /// private void FrmGHRK_Load(object sender, EventArgs e) { + Debug.WriteLine("FrmGHRK_Load"); string pipelinetype = Utility.pipelinetype; string[] pipelinetypes = pipelinetype.Split(','); for (int i = 0; i < pipelinetypes.Length; i++) @@ -202,7 +204,9 @@ //插入数据库 //CreateLine.batchInsert(dataSpace, textBoxLayerName.Text, features, btnPipelineColor.BackColor); IModelBuilder modelBuilder = new RedLineBuilder(); - modelBuilder.batchInsert(dataSpace, textBoxLayerName.Text, features, btnPipelineColor.BackColor); + modelBuilder.batchInsert(dataSpace, textBoxLayerName.Text, features, btnPipelineColor.BackColor,""); + MessageBox.Show("插入成功!", "提示"); + this.Close(); } } }