Explorar o código

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

cxs hai 1 ano
pai
achega
306f7d08da
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
             }