aboutsummaryrefslogtreecommitdiff
path: root/Project Ports/Programs/QuantumNet.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Project Ports/Programs/QuantumNet.cs')
-rw-r--r--Project Ports/Programs/QuantumNet.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/Project Ports/Programs/QuantumNet.cs b/Project Ports/Programs/QuantumNet.cs
new file mode 100644
index 0000000..81d09c1
--- /dev/null
+++ b/Project Ports/Programs/QuantumNet.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using PortEngine;
+
+namespace Project_Ports
+{
+ public partial class QuantumNet : UserControl
+ {
+ public QuantumNet()
+ {
+ InitializeComponent();
+ }
+
+ private void txtAddress_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.KeyCode == Keys.Enter)
+ {
+ QuantumnetAPI.navigateToSite(txtAddress, pnlSiteContents);
+ }
+ }
+ }
+}