diff options
| author | TheEdgeNK <trey6979@gmail.com> | 2018-08-27 16:58:32 -0400 |
|---|---|---|
| committer | TheEdgeNK <trey6979@gmail.com> | 2018-08-27 16:58:32 -0400 |
| commit | d092383e4e04c505c94f31be84aaf935f700fc6b (patch) | |
| tree | f1531017509a1c597da290a74fa6b930b0fc7706 /PortEngine | |
| parent | 30361aadd406e8d33671aea223b3e0a119a1d503 (diff) | |
| download | Project-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')
| -rw-r--r-- | PortEngine/GeneralAPI.cs | 19 | ||||
| -rw-r--r-- | PortEngine/PortEngine.csproj | 1 | ||||
| -rw-r--r-- | PortEngine/QuantumAPI/QuantumAPI.cs | 1 |
3 files changed, 21 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; + } + + } +} diff --git a/PortEngine/PortEngine.csproj b/PortEngine/PortEngine.csproj index da69b4b..b4c8ef8 100644 --- a/PortEngine/PortEngine.csproj +++ b/PortEngine/PortEngine.csproj @@ -49,6 +49,7 @@ <Compile Include="EarnSite.Designer.cs"> <DependentUpon>EarnSite.cs</DependentUpon> </Compile> + <Compile Include="GeneralAPI.cs" /> <Compile Include="QuantumAPI\Sites\Malwarebits.cs"> <SubType>UserControl</SubType> </Compile> diff --git a/PortEngine/QuantumAPI/QuantumAPI.cs b/PortEngine/QuantumAPI/QuantumAPI.cs index d10f87d..f103255 100644 --- a/PortEngine/QuantumAPI/QuantumAPI.cs +++ b/PortEngine/QuantumAPI/QuantumAPI.cs @@ -10,6 +10,7 @@ namespace PortEngine { public class QuantumnetAPI { + private static void loadSite(UserControl site, Panel pnlSiteArea) { pnlSiteArea.Controls.Clear(); |
