From d092383e4e04c505c94f31be84aaf935f700fc6b Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Mon, 27 Aug 2018 16:58:32 -0400 Subject: Allows user to change username and have it show up on the new app launcher --- PortEngine/GeneralAPI.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 PortEngine/GeneralAPI.cs (limited to 'PortEngine/GeneralAPI.cs') 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; + } + + } +} -- cgit v1.2.3