From 85bdcaa1cfac4cf43e76dafca96a2e991217b1e7 Mon Sep 17 00:00:00 2001 From: "gb.luke" Date: Tue, 29 Jun 2010 16:56:17 +0000 Subject: [PATCH] Set build runtime to 2.0 - removed infinite loop. --- NUS Downloader/Form1.cs | 11 ++++++----- NUS Downloader/NUS Downloader.csproj | 4 +++- NUS Downloader/Properties/Resources.resx | 12 ++++++------ NUS Downloader/app.config | 3 +++ 4 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 NUS Downloader/app.config diff --git a/NUS Downloader/Form1.cs b/NUS Downloader/Form1.cs index e61abdb..d066225 100644 --- a/NUS Downloader/Form1.cs +++ b/NUS Downloader/Form1.cs @@ -3586,13 +3586,14 @@ namespace NUS_Downloader if (isCreation) { WriteStatus("Database successfully created!"); + databaseButton.Visible = true; + databaseButton.Enabled = false; + Extrasbtn.Size = new System.Drawing.Size(55, 20); + updateDatabaseToolStripMenuItem.Text = "Download Database"; } else { WriteStatus("Database successfully updated!"); - databaseButton.Visible = false; - Extrasbtn.Size = new System.Drawing.Size(55, 20); - updateDatabaseToolStripMenuItem.Text = "Download Database"; } } @@ -3606,10 +3607,10 @@ namespace NUS_Downloader dbFetcher.DoWork += new DoWorkEventHandler(RetrieveNewDatabase); dbFetcher.RunWorkerCompleted += new RunWorkerCompletedEventHandler(RetrieveNewDatabase_Completed); dbFetcher.RunWorkerAsync(); - while (dbFetcher.IsBusy) + /*while (dbFetcher.IsBusy) { statusbox.Text += "."; - } + }*/ } private void loadInfoFromTMDToolStripMenuItem_Click(object sender, EventArgs e) diff --git a/NUS Downloader/NUS Downloader.csproj b/NUS Downloader/NUS Downloader.csproj index 631447f..417a570 100644 --- a/NUS Downloader/NUS Downloader.csproj +++ b/NUS Downloader/NUS Downloader.csproj @@ -10,7 +10,7 @@ Properties NUS_Downloader NUS Downloader - v4.0 + v2.0 512 direction_down.ico false @@ -40,6 +40,7 @@ false true true + true @@ -94,6 +95,7 @@ Resources.resx True + SettingsSingleFileGenerator Settings.Designer.cs diff --git a/NUS Downloader/Properties/Resources.resx b/NUS Downloader/Properties/Resources.resx index 2c1b34b..067d754 100644 --- a/NUS Downloader/Properties/Resources.resx +++ b/NUS Downloader/Properties/Resources.resx @@ -112,14 +112,14 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + - ..\direction_down.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\direction_down.ico;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\package_delete.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -173,7 +173,7 @@ ..\Resources\server_link.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\key.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\key.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\bullet_redorange.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -185,6 +185,6 @@ ..\Resources\help.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\database_save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\database_save.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/NUS Downloader/app.config b/NUS Downloader/app.config new file mode 100644 index 0000000..8494f72 --- /dev/null +++ b/NUS Downloader/app.config @@ -0,0 +1,3 @@ + + +