aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Appscape.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/Appscape.cs
parent8ea0903788b02b352cc25c9b6f46d439bdb1356a (diff)
downloadshiftos-c--ecee91bc559e1c0d716a3032e371218812df61e7.tar.gz
shiftos-c--ecee91bc559e1c0d716a3032e371218812df61e7.tar.bz2
shiftos-c--ecee91bc559e1c0d716a3032e371218812df61e7.zip
Loads of changes...
Custom shifter options using Lua, and other stuff.
Diffstat (limited to 'source/WindowsFormsApplication1/Appscape.cs')
-rw-r--r--source/WindowsFormsApplication1/Appscape.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/WindowsFormsApplication1/Appscape.cs b/source/WindowsFormsApplication1/Appscape.cs
index a482a04..92171d9 100644
--- a/source/WindowsFormsApplication1/Appscape.cs
+++ b/source/WindowsFormsApplication1/Appscape.cs
@@ -236,7 +236,7 @@ namespace ShiftOS
pbappscreenshot.Show();
pbappscreenshot.Load(pkg.ScreenshotPath);
}
- catch(Exception ex)
+ catch
{
pbappscreenshot.Hide();
}
@@ -266,7 +266,7 @@ namespace ShiftOS
pbappicon.Show();
pbappicon.Load("http://playshiftos.ml/appscape/packages/" + pkg.PkgIconPath);
}
- catch(Exception ex)
+ catch
{
pbappicon.Hide();
}
@@ -490,8 +490,6 @@ namespace ShiftOS
return new KeyValuePair<AppscapeModder, AppscapeClient>(dev, clt);
}
- private Dictionary<string, AppscapeModder> LocalDevList = null;
-
/// <summary>
/// Adds a new developer key to the specified client's listing.
/// </summary>
@@ -670,7 +668,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);
@@ -871,7 +869,7 @@ namespace ShiftOS
};
_IP = ip_address;
}
- catch(Exception ex)
+ catch
{
throw new ArgumentException("IP address not found in client list.");
}