aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/GeneralAPI.cs
diff options
context:
space:
mode:
authorTheEdgeNK <trey6979@gmail.com>2018-08-27 16:58:32 -0400
committerTheEdgeNK <trey6979@gmail.com>2018-08-27 16:58:32 -0400
commitd092383e4e04c505c94f31be84aaf935f700fc6b (patch)
treef1531017509a1c597da290a74fa6b930b0fc7706 /PortEngine/GeneralAPI.cs
parent30361aadd406e8d33671aea223b3e0a119a1d503 (diff)
downloadProject-Silicon-d092383e4e04c505c94f31be84aaf935f700fc6b.tar.gz
Project-Silicon-d092383e4e04c505c94f31be84aaf935f700fc6b.tar.bz2
Project-Silicon-d092383e4e04c505c94f31be84aaf935f700fc6b.zip
Allows user to change username and have it show up on the new app launcher
Diffstat (limited to 'PortEngine/GeneralAPI.cs')
-rw-r--r--PortEngine/GeneralAPI.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/PortEngine/GeneralAPI.cs b/PortEngine/GeneralAPI.cs
new file mode 100644
index 0000000..11af9e5
--- /dev/null
+++ b/PortEngine/GeneralAPI.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace PortEngine
+{
+ public class GeneralAPI
+ {
+
+ public static void setNameOnAppLauncher(Label txtUserDestination)
+ {
+ txtUserDestination.Text = Properties.Settings.Default.userDisplayName;
+ }
+
+ }
+}