From 72e07e467a19d903332e79fe75672a743f207fcb Mon Sep 17 00:00:00 2001 From: Alee Date: Mon, 8 Apr 2019 16:48:55 -0400 Subject: Some things --- Project Ports/Programs/QuantumNet.Designer.cs | 1 + Project Ports/Programs/QuantumNet.cs | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'Project Ports/Programs') diff --git a/Project Ports/Programs/QuantumNet.Designer.cs b/Project Ports/Programs/QuantumNet.Designer.cs index 884bf91..4829306 100644 --- a/Project Ports/Programs/QuantumNet.Designer.cs +++ b/Project Ports/Programs/QuantumNet.Designer.cs @@ -54,6 +54,7 @@ this.Controls.Add(this.txtAddress); this.Name = "QuantumNet"; this.Size = new System.Drawing.Size(849, 486); + // this.Load += new System.EventHandler(this.QuantumNet_Load); this.ResumeLayout(false); this.PerformLayout(); diff --git a/Project Ports/Programs/QuantumNet.cs b/Project Ports/Programs/QuantumNet.cs index 156cfe1..c736df9 100644 --- a/Project Ports/Programs/QuantumNet.cs +++ b/Project Ports/Programs/QuantumNet.cs @@ -28,10 +28,13 @@ using System.Threading.Tasks; using System.Windows.Forms; using PortEngine; + namespace Project_Ports { public partial class QuantumNet : UserControl { + private Panel pnlLoadSiteHere; + public QuantumNet() { InitializeComponent(); @@ -44,5 +47,10 @@ namespace Project_Ports QuantumnetAPI.navigateToSite(txtAddress, pnlSiteContents); } } + /* + private void QuantumNet_Load(object sender, EventArgs e) + { + QuantumnetAPI.loadSite(new PortEngine.QuantumAPI.Sites.HomePage(), pnlLoadSiteHere); + }*/ } } -- cgit v1.2.3