diff options
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(); |
