Browse Source

添加prj报告结果鼠标添加等待效果

cxs 1 year ago
parent
commit
306f7d08da
1 changed files with 2 additions and 0 deletions
  1. 2 0
      OTSIncAReportApp/1-UI/frmReportApp.cs

+ 2 - 0
OTSIncAReportApp/1-UI/frmReportApp.cs

@@ -1062,6 +1062,7 @@ namespace OTSIncAReportApp
             openFileDialog.Multiselect = false;
             if (openFileDialog.ShowDialog() == DialogResult.OK)
             {
+                this.Cursor = Cursors.WaitCursor;
                 string strFilePath = System.IO.Path.GetDirectoryName(openFileDialog.FileName);
 
                 System.IO.DirectoryInfo folder = new System.IO.DirectoryInfo(strFilePath);
@@ -1073,6 +1074,7 @@ namespace OTSIncAReportApp
                         this.m_RstWindow.AddSampleResult(file.FullName);
                     }
                 }
+                this.Cursor = Cursors.Default;
                 return true;
             }