aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Apps/Appscape.cs
diff options
context:
space:
mode:
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/Appscape.cs')
-rw-r--r--source/WindowsFormsApplication1/Apps/Appscape.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Appscape.cs b/source/WindowsFormsApplication1/Apps/Appscape.cs
index 92171d9..3cec4c6 100644
--- a/source/WindowsFormsApplication1/Apps/Appscape.cs
+++ b/source/WindowsFormsApplication1/Apps/Appscape.cs
@@ -11,7 +11,7 @@ using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
-using System.Windows.Forms;
+using ShiftUI;
namespace ShiftOS
{
@@ -22,7 +22,15 @@ namespace ShiftOS
/// </summary>
public Appscape()
{
- InitializeComponent();
+ try
+ {
+ InitializeComponent();
+ }
+ catch (Exception ex)
+ {
+ API.Crash(ex);
+ Close();
+ }
}
private List<AppscapeClient> clients = null;