[Quantproject-developers] QuantDownloader/Downloader TickerDownloader.cs,1.7,1.8 WebDownloader.cs,1.
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2004-06-12 23:04:13
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10019/Downloader Modified Files: TickerDownloader.cs WebDownloader.cs Log Message: Fixed minor bug Index: WebDownloader.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/WebDownloader.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** WebDownloader.cs 22 May 2004 07:04:59 -0000 1.13 --- WebDownloader.cs 12 Jun 2004 23:03:50 -0000 1.14 *************** *** 639,647 **** private void button1_Click(object sender, System.EventArgs e) { ! Cursor.Current = Cursors.WaitCursor; this.openDbAndSetOleDbCommand(); this.downloadQuotesOfAllTickers(); this.button1.Enabled = false; ! Cursor.Current = Cursors.Default; } --- 639,647 ---- private void button1_Click(object sender, System.EventArgs e) { ! //Cursor.Current = Cursors.WaitCursor; this.openDbAndSetOleDbCommand(); this.downloadQuotesOfAllTickers(); this.button1.Enabled = false; ! //Cursor.Current = Cursors.Default; } *************** *** 649,657 **** private void buttonDownloadQuotesOfSelectedTickers_Click(object sender, System.EventArgs e) { ! Cursor.Current = Cursors.WaitCursor; this.openDbAndSetOleDbCommand(); this.downloadQuotesOfSelectedTickers(); this.buttonDownloadQuotesOfSelectedTickers.Enabled = false; ! Cursor.Current = Cursors.Default; } --- 649,657 ---- private void buttonDownloadQuotesOfSelectedTickers_Click(object sender, System.EventArgs e) { ! //Cursor.Current = Cursors.WaitCursor; this.openDbAndSetOleDbCommand(); this.downloadQuotesOfSelectedTickers(); this.buttonDownloadQuotesOfSelectedTickers.Enabled = false; ! //Cursor.Current = Cursors.Default; } Index: TickerDownloader.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/TickerDownloader.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TickerDownloader.cs 26 May 2004 15:42:09 -0000 1.7 --- TickerDownloader.cs 12 Jun 2004 23:03:50 -0000 1.8 *************** *** 411,414 **** --- 411,415 ---- { // update grid in webdownloader form + Cursor.Current = Cursors.WaitCursor; addTickerTo_gridDataSet(); this.numberOfQuotesInDatabase = Quotes.GetNumberOfQuotes(this.p_quTicker); *************** *** 442,445 **** --- 443,448 ---- this.resetAndImportTicker(); } + Cursor.Current = Cursors.Default; + // ticker's quotes are downloaded for the first time or // the user has chosen to download all quotes |