管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2024-07-19 5d77b35448990a62846b29ce96ceb0cf2faa20f7
SimuTools/FrmMain.cs
@@ -7,8 +7,6 @@
{
    public partial class FrmMain : Form
    {
        private bool flag;
        public FrmMain()
        {
            InitializeComponent();
@@ -109,10 +107,9 @@
                return;
            }
            if (flag) return;
            try
            {
                flag = true;
                this.btnRun.Enabled = false;
                LogOut.Info("开始运行 >>");
                outPath = Path.Combine(outPath, serviceName);
@@ -123,13 +120,13 @@
                Tools.Handle.Run(terrainFile, waterPath, flowPath, outPath);
                flag = false;
                this.btnRun.Enabled = true;
                LogOut.Info("运行结束 <<");
                MessageBox.Show("运行结束!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                flag = false;
                this.btnRun.Enabled = true;
                LogOut.Error(ex.StackTrace);
                ShowErr("运行出错:" + ex.Message);
            }