From db8d19f07f457cad229695ae1dc0ddbe8d13e0f3 Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Sun, 26 Aug 2018 16:02:01 -0400 Subject: Added QuantumNet --- Project Ports/Programs/QuantumNet.Designer.cs | 67 ++++++++++++++ Project Ports/Programs/QuantumNet.cs | 29 +++++++ Project Ports/Programs/QuantumNet.resx | 120 ++++++++++++++++++++++++++ 3 files changed, 216 insertions(+) create mode 100644 Project Ports/Programs/QuantumNet.Designer.cs create mode 100644 Project Ports/Programs/QuantumNet.cs create mode 100644 Project Ports/Programs/QuantumNet.resx (limited to 'Project Ports/Programs') diff --git a/Project Ports/Programs/QuantumNet.Designer.cs b/Project Ports/Programs/QuantumNet.Designer.cs new file mode 100644 index 0000000..884bf91 --- /dev/null +++ b/Project Ports/Programs/QuantumNet.Designer.cs @@ -0,0 +1,67 @@ +namespace Project_Ports { + partial class QuantumNet + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.txtAddress = new System.Windows.Forms.TextBox(); + this.pnlSiteContents = new System.Windows.Forms.Panel(); + this.SuspendLayout(); + // + // txtAddress + // + this.txtAddress.Location = new System.Drawing.Point(4, 4); + this.txtAddress.Name = "txtAddress"; + this.txtAddress.Size = new System.Drawing.Size(842, 20); + this.txtAddress.TabIndex = 0; + this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown); + // + // pnlSiteContents + // + this.pnlSiteContents.Location = new System.Drawing.Point(4, 31); + this.pnlSiteContents.Name = "pnlSiteContents"; + this.pnlSiteContents.Size = new System.Drawing.Size(842, 452); + this.pnlSiteContents.TabIndex = 1; + // + // QuantumNet + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.pnlSiteContents); + this.Controls.Add(this.txtAddress); + this.Name = "QuantumNet"; + this.Size = new System.Drawing.Size(849, 486); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtAddress; + private System.Windows.Forms.Panel pnlSiteContents; + } +} 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); + } + } + } +} diff --git a/Project Ports/Programs/QuantumNet.resx b/Project Ports/Programs/QuantumNet.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Project Ports/Programs/QuantumNet.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file -- cgit v1.2.3