[Quantproject-developers] QuantDownloader/Downloader/Validate ValidateForm.cs,1.4,1.5
Brought to you by:
glauco_1
|
From: <mi...@pr...> - 2004-01-27 13:46:13
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/Validate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29868/Downloader/Validate Modified Files: ValidateForm.cs Log Message: Changed the default cursor to hourglass when validating code is working. Index: ValidateForm.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/Validate/ValidateForm.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ValidateForm.cs 22 Jan 2004 23:43:19 -0000 1.4 --- ValidateForm.cs 25 Jan 2004 19:08:09 -0000 1.5 *************** *** 309,315 **** private void buttonGoValidateCurrentSelection_Click(object sender, System.EventArgs e) { this.validateDataTable = this.validateDataGrid.Validate(this.tableOfTickersToBeValidated, this.textBoxSuspiciousRatio.Text); ! } #endregion --- 309,323 ---- private void buttonGoValidateCurrentSelection_Click(object sender, System.EventArgs e) { + try + { + Cursor.Current = Cursors.WaitCursor; this.validateDataTable = this.validateDataGrid.Validate(this.tableOfTickersToBeValidated, this.textBoxSuspiciousRatio.Text); ! } ! finally ! { ! Cursor.Current = Cursors.Default; ! } ! } #endregion |