aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/AppscapeUploader.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-06-24 16:44:42 -0400
committerMichaelTheShifter <[email protected]>2016-06-24 16:44:51 -0400
commitecee91bc559e1c0d716a3032e371218812df61e7 (patch)
tree49acdb538b13bc3da89185413bc4096d4e6d81f7 /source/WindowsFormsApplication1/AppscapeUploader.cs
parent8ea0903788b02b352cc25c9b6f46d439bdb1356a (diff)
downloadshiftos-c-_theultimatehacker-ecee91bc559e1c0d716a3032e371218812df61e7.tar.gz
shiftos-c-_theultimatehacker-ecee91bc559e1c0d716a3032e371218812df61e7.tar.bz2
shiftos-c-_theultimatehacker-ecee91bc559e1c0d716a3032e371218812df61e7.zip
Loads of changes...
Custom shifter options using Lua, and other stuff.
Diffstat (limited to 'source/WindowsFormsApplication1/AppscapeUploader.cs')
-rw-r--r--source/WindowsFormsApplication1/AppscapeUploader.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/WindowsFormsApplication1/AppscapeUploader.cs b/source/WindowsFormsApplication1/AppscapeUploader.cs
index 3c2465c..5cc8560 100644
--- a/source/WindowsFormsApplication1/AppscapeUploader.cs
+++ b/source/WindowsFormsApplication1/AppscapeUploader.cs
@@ -31,8 +31,6 @@ namespace ShiftOS
private AppscapeModder MyProfile = null;
private AppscapeClient Repo = null;
- private string result = "cancelled";
-
private void btncancel_Click(object sender, EventArgs e)
{
this.Close();
@@ -52,7 +50,7 @@ namespace ShiftOS
{
pkg.Cost = Convert.ToDecimal(Convert.ToDecimal(txtprice.Text).ToString("#.#####"));
}
- catch(Exception ex)
+ catch
{
ContinueUpload = false;
API.CreateInfoboxSession("Error", "You have entered an incorrect price value.", infobox.InfoboxMode.Info);
@@ -112,7 +110,6 @@ namespace ShiftOS
- result = "finished";
this.Close();
}
}
@@ -136,7 +133,7 @@ namespace ShiftOS
RecursiveControlSetup(c);
}
}
- catch(Exception ex) {
+ catch {
}
}
@@ -325,7 +322,7 @@ namespace ShiftOS
ZipFile.CreateFromDirectory(dir, API.GetFSResult());
API.CreateInfoboxSession("Success", "The SAA file has been created successfully.", infobox.InfoboxMode.Info);
}
- catch(Exception ex)
+ catch
{
API.CreateInfoboxSession("Error", "Could not create the SAA file.", infobox.InfoboxMode.Info);
}