From 49e0f01a68468af1697ee23798a48f6f6cd7e647 Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Sun, 26 Aug 2018 19:34:17 -0400 Subject: Sites Progress 1 --- .../QuantumAPI/Sites/Malwarebits.Designer.cs | 134 +++++++++++++++++++++ PortEngine/QuantumAPI/Sites/Malwarebits.cs | 25 ++++ PortEngine/QuantumAPI/Sites/Malwarebits.resx | 123 +++++++++++++++++++ PortEngine/QuantumAPI/Sites/QuantumISP.Designer.cs | 28 +++++ PortEngine/QuantumAPI/Sites/QuantumISP.cs | 5 + 5 files changed, 315 insertions(+) create mode 100644 PortEngine/QuantumAPI/Sites/Malwarebits.Designer.cs create mode 100644 PortEngine/QuantumAPI/Sites/Malwarebits.cs create mode 100644 PortEngine/QuantumAPI/Sites/Malwarebits.resx (limited to 'PortEngine/QuantumAPI/Sites') 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 + { + /// + /// 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.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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 17, 17 + + \ 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) + { + + } } } -- cgit v1.2.3