diff options
| author | Alee <Alee14498@gmail.com> | 2019-04-08 16:48:55 -0400 |
|---|---|---|
| committer | Alee <Alee14498@gmail.com> | 2019-04-08 16:48:55 -0400 |
| commit | 72e07e467a19d903332e79fe75672a743f207fcb (patch) | |
| tree | b745cf45769fb1a94147d7806c01bcc3295bd74c /PortEngine/QuantumAPI/QuantumAPI.cs | |
| parent | 83f8e18323bae72856eee60cd04d890e1fa41c45 (diff) | |
| download | Project-Silicon-72e07e467a19d903332e79fe75672a743f207fcb.tar.gz Project-Silicon-72e07e467a19d903332e79fe75672a743f207fcb.tar.bz2 Project-Silicon-72e07e467a19d903332e79fe75672a743f207fcb.zip | |
Some things
Diffstat (limited to 'PortEngine/QuantumAPI/QuantumAPI.cs')
| -rw-r--r-- | PortEngine/QuantumAPI/QuantumAPI.cs | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/PortEngine/QuantumAPI/QuantumAPI.cs b/PortEngine/QuantumAPI/QuantumAPI.cs index d7a8ab6..109ccc7 100644 --- a/PortEngine/QuantumAPI/QuantumAPI.cs +++ b/PortEngine/QuantumAPI/QuantumAPI.cs @@ -23,17 +23,25 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; - +using PortEngine.QuantumAPI.Sites; namespace PortEngine { public class QuantumnetAPI { - private static void loadSite(UserControl site, Panel pnlSiteArea) + public static void loadSite(UserControl site, Panel pnlSiteArea) { - pnlSiteArea.Controls.Clear(); - pnlSiteArea.Controls.Add(site); + /* if (pnlSiteArea == null) + { + pnlSiteArea.Controls.Add(site); + + } + else + {*/ + pnlSiteArea.Controls.Clear(); + pnlSiteArea.Controls.Add(site); + //} } public static void navigateToSite(TextBox txtNavigateToThis, Panel pnlLoadSiteHere) |
