aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/QuantumAPI
diff options
context:
space:
mode:
authorTheEdgeNK <trey6979@gmail.com>2018-08-26 19:34:17 -0400
committerTheEdgeNK <trey6979@gmail.com>2018-08-26 19:34:17 -0400
commit49e0f01a68468af1697ee23798a48f6f6cd7e647 (patch)
tree8aa5e3154d2e3eb3ee9507d7342625e3c3528182 /PortEngine/QuantumAPI
parentf1f82c9af4409aa81b4dab95b6381d6b935694ff (diff)
downloadProject-Silicon-49e0f01a68468af1697ee23798a48f6f6cd7e647.tar.gz
Project-Silicon-49e0f01a68468af1697ee23798a48f6f6cd7e647.tar.bz2
Project-Silicon-49e0f01a68468af1697ee23798a48f6f6cd7e647.zip
Sites Progress 1
Diffstat (limited to 'PortEngine/QuantumAPI')
-rw-r--r--PortEngine/QuantumAPI/QuantumAPI.cs3
-rw-r--r--PortEngine/QuantumAPI/Sites/Malwarebits.Designer.cs134
-rw-r--r--PortEngine/QuantumAPI/Sites/Malwarebits.cs25
-rw-r--r--PortEngine/QuantumAPI/Sites/Malwarebits.resx123
-rw-r--r--PortEngine/QuantumAPI/Sites/QuantumISP.Designer.cs28
-rw-r--r--PortEngine/QuantumAPI/Sites/QuantumISP.cs5
6 files changed, 318 insertions, 0 deletions
diff --git a/PortEngine/QuantumAPI/QuantumAPI.cs b/PortEngine/QuantumAPI/QuantumAPI.cs
index d909002..d10f87d 100644
--- a/PortEngine/QuantumAPI/QuantumAPI.cs
+++ b/PortEngine/QuantumAPI/QuantumAPI.cs
@@ -23,6 +23,9 @@ namespace PortEngine
case "quantumconnections.qt":
loadSite(new QuantumAPI.Sites.QuantumISP(), pnlLoadSiteHere);
break;
+ case "malwarebits.qt":
+ loadSite(new Malwarebits(), pnlLoadSiteHere);
+ break;
default:
loadSite(new QuantumAPI.Sites._404Error(), pnlLoadSiteHere);
break;
diff --git a/PortEngine/QuantumAPI/Sites/Malwarebits.Designer.cs b/PortEngine/QuantumAPI/Sites/Malwarebits.Designer.cs
new file mode 100644
index 0000000..3709263
--- /dev/null
+++ b/PortEngine/QuantumAPI/Sites/Malwarebits.Designer.cs
@@ -0,0 +1,134 @@
+namespace PortEngine
+{
+ partial class Malwarebits
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.lblMalwarebitsTitle = new System.Windows.Forms.Label();
+ this.lblUpgradeSecurity = new System.Windows.Forms.Label();
+ this.lblUpgradePower = new System.Windows.Forms.Label();
+ this.btnUpgradeSecurity = new System.Windows.Forms.Button();
+ this.btnUpgradePower = new System.Windows.Forms.Button();
+ this.lblBalance = new System.Windows.Forms.Label();
+ this.tmrUpdateBal = new System.Windows.Forms.Timer(this.components);
+ this.SuspendLayout();
+ //
+ // lblMalwarebitsTitle
+ //
+ this.lblMalwarebitsTitle.AutoSize = true;
+ this.lblMalwarebitsTitle.Font = new System.Drawing.Font("Segoe UI Semibold", 27.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblMalwarebitsTitle.ForeColor = System.Drawing.SystemColors.Highlight;
+ this.lblMalwarebitsTitle.Location = new System.Drawing.Point(609, 12);
+ this.lblMalwarebitsTitle.Name = "lblMalwarebitsTitle";
+ this.lblMalwarebitsTitle.Size = new System.Drawing.Size(227, 50);
+ this.lblMalwarebitsTitle.TabIndex = 0;
+ this.lblMalwarebitsTitle.Text = "Malwarebits";
+ //
+ // lblUpgradeSecurity
+ //
+ this.lblUpgradeSecurity.AutoSize = true;
+ this.lblUpgradeSecurity.Font = new System.Drawing.Font("Lucida Console", 15F);
+ this.lblUpgradeSecurity.Location = new System.Drawing.Point(19, 91);
+ this.lblUpgradeSecurity.Name = "lblUpgradeSecurity";
+ this.lblUpgradeSecurity.Size = new System.Drawing.Size(201, 20);
+ this.lblUpgradeSecurity.TabIndex = 1;
+ this.lblUpgradeSecurity.Text = "Upgrade Security";
+ //
+ // lblUpgradePower
+ //
+ this.lblUpgradePower.AutoSize = true;
+ this.lblUpgradePower.Font = new System.Drawing.Font("Lucida Console", 15F);
+ this.lblUpgradePower.Location = new System.Drawing.Point(19, 132);
+ this.lblUpgradePower.Name = "lblUpgradePower";
+ this.lblUpgradePower.Size = new System.Drawing.Size(165, 20);
+ this.lblUpgradePower.TabIndex = 2;
+ this.lblUpgradePower.Text = "Upgrade Power";
+ //
+ // btnUpgradeSecurity
+ //
+ this.btnUpgradeSecurity.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnUpgradeSecurity.Location = new System.Drawing.Point(226, 88);
+ this.btnUpgradeSecurity.Name = "btnUpgradeSecurity";
+ this.btnUpgradeSecurity.Size = new System.Drawing.Size(75, 29);
+ this.btnUpgradeSecurity.TabIndex = 3;
+ this.btnUpgradeSecurity.Text = "Upgrade";
+ this.btnUpgradeSecurity.UseVisualStyleBackColor = true;
+ //
+ // btnUpgradePower
+ //
+ this.btnUpgradePower.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnUpgradePower.Location = new System.Drawing.Point(190, 127);
+ this.btnUpgradePower.Name = "btnUpgradePower";
+ this.btnUpgradePower.Size = new System.Drawing.Size(75, 29);
+ this.btnUpgradePower.TabIndex = 4;
+ this.btnUpgradePower.Text = "Upgrade";
+ this.btnUpgradePower.UseVisualStyleBackColor = true;
+ //
+ // lblBalance
+ //
+ this.lblBalance.AutoSize = true;
+ this.lblBalance.Font = new System.Drawing.Font("Lucida Console", 10F);
+ this.lblBalance.Location = new System.Drawing.Point(8, 8);
+ this.lblBalance.Name = "lblBalance";
+ this.lblBalance.Size = new System.Drawing.Size(111, 14);
+ this.lblBalance.TabIndex = 5;
+ this.lblBalance.Text = "Balance: !VAR";
+ //
+ // tmrUpdateBal
+ //
+ this.tmrUpdateBal.Enabled = true;
+ this.tmrUpdateBal.Tick += new System.EventHandler(this.tmrUpdateBal_Tick);
+ //
+ // Malwarebits
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.lblBalance);
+ this.Controls.Add(this.btnUpgradePower);
+ this.Controls.Add(this.btnUpgradeSecurity);
+ this.Controls.Add(this.lblUpgradePower);
+ this.Controls.Add(this.lblUpgradeSecurity);
+ this.Controls.Add(this.lblMalwarebitsTitle);
+ this.Name = "Malwarebits";
+ this.Size = new System.Drawing.Size(842, 452);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label lblMalwarebitsTitle;
+ private System.Windows.Forms.Label lblUpgradeSecurity;
+ private System.Windows.Forms.Label lblUpgradePower;
+ private System.Windows.Forms.Button btnUpgradeSecurity;
+ private System.Windows.Forms.Button btnUpgradePower;
+ private System.Windows.Forms.Label lblBalance;
+ private System.Windows.Forms.Timer tmrUpdateBal;
+ }
+}
diff --git a/PortEngine/QuantumAPI/Sites/Malwarebits.cs b/PortEngine/QuantumAPI/Sites/Malwarebits.cs
new file mode 100644
index 0000000..039e196
--- /dev/null
+++ b/PortEngine/QuantumAPI/Sites/Malwarebits.cs
@@ -0,0 +1,25 @@
+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;
+
+namespace PortEngine
+{
+ public partial class Malwarebits : UserControl
+ {
+ public Malwarebits()
+ {
+ InitializeComponent();
+ }
+
+ private void tmrUpdateBal_Tick(object sender, EventArgs e)
+ {
+ lblBalance.Text = "Balance: " + Properties.Settings.Default.userBalance;
+ }
+ }
+}
diff --git a/PortEngine/QuantumAPI/Sites/Malwarebits.resx b/PortEngine/QuantumAPI/Sites/Malwarebits.resx
new file mode 100644
index 0000000..5aed46a
--- /dev/null
+++ b/PortEngine/QuantumAPI/Sites/Malwarebits.resx
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <metadata name="tmrUpdateBal.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+</root> \ No newline at end of file
diff --git a/PortEngine/QuantumAPI/Sites/QuantumISP.Designer.cs b/PortEngine/QuantumAPI/Sites/QuantumISP.Designer.cs
index 391f202..c1ceb18 100644
--- a/PortEngine/QuantumAPI/Sites/QuantumISP.Designer.cs
+++ b/PortEngine/QuantumAPI/Sites/QuantumISP.Designer.cs
@@ -32,6 +32,8 @@
this.lblQuantumISPSubtitle = new System.Windows.Forms.Label();
this.lblYourPlan = new System.Windows.Forms.Label();
this.btnUnsub = new System.Windows.Forms.Button();
+ this.lblBookmarks = new System.Windows.Forms.Label();
+ this.lblMalwarebitsHyperlink = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// lblQuantumISPTitle
@@ -74,10 +76,34 @@
this.btnUnsub.Text = "Unsubscribe";
this.btnUnsub.UseVisualStyleBackColor = true;
//
+ // lblBookmarks
+ //
+ this.lblBookmarks.AutoSize = true;
+ this.lblBookmarks.Font = new System.Drawing.Font("Candara", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.lblBookmarks.Location = new System.Drawing.Point(27, 224);
+ this.lblBookmarks.Name = "lblBookmarks";
+ this.lblBookmarks.Size = new System.Drawing.Size(101, 23);
+ this.lblBookmarks.TabIndex = 4;
+ this.lblBookmarks.Text = "Bookmarks";
+ //
+ // lblMalwarebitsHyperlink
+ //
+ this.lblMalwarebitsHyperlink.AutoSize = true;
+ this.lblMalwarebitsHyperlink.Font = new System.Drawing.Font("Lucida Console", 12F);
+ this.lblMalwarebitsHyperlink.ForeColor = System.Drawing.SystemColors.HotTrack;
+ this.lblMalwarebitsHyperlink.Location = new System.Drawing.Point(27, 250);
+ this.lblMalwarebitsHyperlink.Name = "lblMalwarebitsHyperlink";
+ this.lblMalwarebitsHyperlink.Size = new System.Drawing.Size(148, 16);
+ this.lblMalwarebitsHyperlink.TabIndex = 5;
+ this.lblMalwarebitsHyperlink.Text = "malwarebits.qt";
+ this.lblMalwarebitsHyperlink.Click += new System.EventHandler(this.lblMalwarebitsHyperlink_Click);
+ //
// QuantumISP
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.lblMalwarebitsHyperlink);
+ this.Controls.Add(this.lblBookmarks);
this.Controls.Add(this.btnUnsub);
this.Controls.Add(this.lblYourPlan);
this.Controls.Add(this.lblQuantumISPSubtitle);
@@ -95,5 +121,7 @@
private System.Windows.Forms.Label lblQuantumISPSubtitle;
private System.Windows.Forms.Label lblYourPlan;
private System.Windows.Forms.Button btnUnsub;
+ private System.Windows.Forms.Label lblBookmarks;
+ private System.Windows.Forms.Label lblMalwarebitsHyperlink;
}
}
diff --git a/PortEngine/QuantumAPI/Sites/QuantumISP.cs b/PortEngine/QuantumAPI/Sites/QuantumISP.cs
index 5456c6c..2d23b1c 100644
--- a/PortEngine/QuantumAPI/Sites/QuantumISP.cs
+++ b/PortEngine/QuantumAPI/Sites/QuantumISP.cs
@@ -16,5 +16,10 @@ namespace PortEngine.QuantumAPI.Sites
{
InitializeComponent();
}
+
+ private void lblMalwarebitsHyperlink_Click(object sender, EventArgs e)
+ {
+
+ }
}
}