From ecee91bc559e1c0d716a3032e371218812df61e7 Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Fri, 24 Jun 2016 16:44:42 -0400 Subject: Loads of changes... Custom shifter options using Lua, and other stuff. --- source/WindowsFormsApplication1/Appscape.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'source/WindowsFormsApplication1/Appscape.cs') 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(dev, clt); } - private Dictionary LocalDevList = null; - /// /// Adds a new developer key to the specified client's listing. /// @@ -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."); } -- cgit v1.2.3