mirror of
https://github.com/alee14-projects/Project-Silicon.git
synced 2025-01-22 16:06:19 -05:00
Added a new QuantumSite and added a little secret egg (kicks and giggles)
This commit is contained in:
parent
09b2be5ca6
commit
129cc43734
11 changed files with 302 additions and 2 deletions
|
@ -69,6 +69,12 @@
|
|||
<Compile Include="QuantumAPI\Sites\404Error.Designer.cs">
|
||||
<DependentUpon>404Error.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="QuantumAPI\Sites\PortOSDefender.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="QuantumAPI\Sites\PortOSDefender.Designer.cs">
|
||||
<DependentUpon>PortOSDefender.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="QuantumAPI\Sites\QuantumISP.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
|
@ -94,6 +100,9 @@
|
|||
<EmbeddedResource Include="QuantumAPI\Sites\Malwarebits.resx">
|
||||
<DependentUpon>Malwarebits.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="QuantumAPI\Sites\PortOSDefender.resx">
|
||||
<DependentUpon>PortOSDefender.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="QuantumAPI\Sites\QuantumISP.resx">
|
||||
<DependentUpon>QuantumISP.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
|
|
@ -27,6 +27,9 @@ namespace PortEngine
|
|||
case "malwarebits.qt":
|
||||
loadSite(new Malwarebits(), pnlLoadSiteHere);
|
||||
break;
|
||||
case "portosdefender.qt":
|
||||
loadSite(new QuantumAPI.Sites.PortOSDefender(), pnlLoadSiteHere);
|
||||
break;
|
||||
default:
|
||||
loadSite(new QuantumAPI.Sites._404Error(), pnlLoadSiteHere);
|
||||
break;
|
||||
|
|
118
PortEngine/QuantumAPI/Sites/PortOSDefender.Designer.cs
generated
Normal file
118
PortEngine/QuantumAPI/Sites/PortOSDefender.Designer.cs
generated
Normal file
|
@ -0,0 +1,118 @@
|
|||
namespace PortEngine.QuantumAPI.Sites
|
||||
{
|
||||
partial class PortOSDefender
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortOSDefender));
|
||||
this.posLogo = new System.Windows.Forms.Label();
|
||||
this.btnSignin = new System.Windows.Forms.Button();
|
||||
this.rtxtNews = new System.Windows.Forms.RichTextBox();
|
||||
this.lbNews = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// posLogo
|
||||
//
|
||||
this.posLogo.AutoSize = true;
|
||||
this.posLogo.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.posLogo.ForeColor = System.Drawing.Color.Green;
|
||||
this.posLogo.Location = new System.Drawing.Point(21, 18);
|
||||
this.posLogo.Name = "posLogo";
|
||||
this.posLogo.Size = new System.Drawing.Size(190, 24);
|
||||
this.posLogo.TabIndex = 0;
|
||||
this.posLogo.Text = "PortOS Defender";
|
||||
//
|
||||
// btnSignin
|
||||
//
|
||||
this.btnSignin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnSignin.Location = new System.Drawing.Point(725, 21);
|
||||
this.btnSignin.Name = "btnSignin";
|
||||
this.btnSignin.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnSignin.TabIndex = 1;
|
||||
this.btnSignin.Text = "Sign In";
|
||||
this.btnSignin.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rtxtNews
|
||||
//
|
||||
this.rtxtNews.BackColor = System.Drawing.Color.White;
|
||||
this.rtxtNews.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.rtxtNews.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.rtxtNews.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtxtNews.Location = new System.Drawing.Point(25, 113);
|
||||
this.rtxtNews.Name = "rtxtNews";
|
||||
this.rtxtNews.ReadOnly = true;
|
||||
this.rtxtNews.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
|
||||
this.rtxtNews.Size = new System.Drawing.Size(200, 288);
|
||||
this.rtxtNews.TabIndex = 2;
|
||||
this.rtxtNews.Text = resources.GetString("rtxtNews.Text");
|
||||
//
|
||||
// lbNews
|
||||
//
|
||||
this.lbNews.AutoSize = true;
|
||||
this.lbNews.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbNews.Location = new System.Drawing.Point(21, 91);
|
||||
this.lbNews.Name = "lbNews";
|
||||
this.lbNews.Size = new System.Drawing.Size(108, 19);
|
||||
this.lbNews.TabIndex = 3;
|
||||
this.lbNews.Text = "Latest News";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(253, 91);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(71, 13);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "Who are we?";
|
||||
//
|
||||
// PortOSDefender
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.lbNews);
|
||||
this.Controls.Add(this.rtxtNews);
|
||||
this.Controls.Add(this.btnSignin);
|
||||
this.Controls.Add(this.posLogo);
|
||||
this.Name = "PortOSDefender";
|
||||
this.Size = new System.Drawing.Size(842, 452);
|
||||
this.Load += new System.EventHandler(this.PortOSDefender_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label posLogo;
|
||||
private System.Windows.Forms.Button btnSignin;
|
||||
private System.Windows.Forms.RichTextBox rtxtNews;
|
||||
private System.Windows.Forms.Label lbNews;
|
||||
private System.Windows.Forms.Label label1;
|
||||
}
|
||||
}
|
25
PortEngine/QuantumAPI/Sites/PortOSDefender.cs
Normal file
25
PortEngine/QuantumAPI/Sites/PortOSDefender.cs
Normal file
|
@ -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.QuantumAPI.Sites
|
||||
{
|
||||
public partial class PortOSDefender : UserControl
|
||||
{
|
||||
public PortOSDefender()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void PortOSDefender_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
131
PortEngine/QuantumAPI/Sites/PortOSDefender.resx
Normal file
131
PortEngine/QuantumAPI/Sites/PortOSDefender.resx
Normal file
|
@ -0,0 +1,131 @@
|
|||
<?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>
|
||||
<data name="rtxtNews.Text" xml:space="preserve">
|
||||
<value>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque dictum placerat ipsum, nec tincidunt lectus. Sed scelerisque, magna at elementum congue, risus lacus suscipit neque, mollis consectetur eros tellus eu ligula. Ut ante dui, laoreet id consequat sit amet, sollicitudin et magna. Etiam maximus gravida neque id dictum. Suspendisse rhoncus nisl non lacus mattis, eget fringilla dui sodales. Pellentesque auctor dictum faucibus. Duis dignissim dolor sed tincidunt mollis. Vivamus eu lorem hendrerit, imperdiet quam eu, fringilla sem. Donec eu viverra urna, ac volutpat massa.
|
||||
|
||||
Etiam mollis nisl eu odio ullamcorper, quis porta nisl euismod. Phasellus eu orci eget erat aliquam convallis ac vel erat. Aenean maximus nibh id nunc luctus, vel sodales ex ultrices. Vestibulum imperdiet odio vel nisl pulvinar gravida. Nam auctor magna eget justo accumsan faucibus. Morbi consequat, lectus ac feugiat suscipit, ante sapien imperdiet lacus, nec tincidunt nulla quam congue ipsum. Fusce iaculis nibh sapien, placerat varius tellus mollis eget. Aenean quis libero leo. Aliquam vulputate purus lorem, vitae pretium leo accumsan vel. Aenean ut ipsum lobortis, semper lectus et, facilisis lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean bibendum porta consectetur. Morbi venenatis lobortis nisl. Nulla nec pellentesque lacus, sed sagittis felis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Morbi laoreet quis dolor a sagittis.
|
||||
|
||||
Integer in suscipit mauris, non pulvinar nibh. Suspendisse faucibus lobortis nunc in facilisis. Duis risus nisi, imperdiet nec egestas non, feugiat in dolor. Duis bibendum, tellus et efficitur suscipit, nunc ante dictum tortor, sed gravida leo velit ac risus. Vestibulum eget nulla mollis, ultricies neque sit amet, iaculis turpis. Donec auctor ultricies lacus, quis placerat mauris malesuada non. Etiam non nisi ut mauris tristique placerat et ut eros. Nunc pharetra mattis porttitor. Nulla mattis feugiat neque at cursus. Aenean velit ligula, porttitor a justo at, egestas fringilla est.
|
||||
|
||||
Nulla facilisi. Donec sit amet porttitor mauris. Aliquam in mollis odio. Aliquam vel nulla luctus, pellentesque lectus sit amet, commodo purus. Aliquam vitae rutrum mi, et cursus dui. Fusce fermentum urna in lorem faucibus vulputate. Nunc tincidunt tempor lorem, eget dignissim nulla sodales sit amet. Suspendisse gravida congue risus, nec egestas quam eleifend eget. Proin tincidunt dui sit amet turpis scelerisque varius. Fusce interdum nulla id rutrum ullamcorper.
|
||||
|
||||
Nam convallis massa velit, vel hendrerit neque molestie ac. Sed sollicitudin pretium metus sed aliquet. Vivamus vestibulum diam eget euismod posuere. Nunc neque lacus, pretium id suscipit ac, luctus at est. Mauris hendrerit nibh id ante dictum, accumsan mollis purus blandit. Sed a accumsan sapien. Nullam et ante ultrices, porttitor nisi commodo, tristique lorem. Morbi turpis ex, bibendum at faucibus quis, mollis non enim. Praesent condimentum dignissim est, sed scelerisque lorem iaculis vitae. </value>
|
||||
</data>
|
||||
</root>
|
|
@ -75,6 +75,7 @@
|
|||
this.btnUnsub.TabIndex = 3;
|
||||
this.btnUnsub.Text = "Unsubscribe";
|
||||
this.btnUnsub.UseVisualStyleBackColor = true;
|
||||
this.btnUnsub.Click += new System.EventHandler(this.btnUnsub_Click);
|
||||
//
|
||||
// lblBookmarks
|
||||
//
|
||||
|
|
|
@ -21,5 +21,10 @@ namespace PortEngine.QuantumAPI.Sites
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
private void btnUnsub_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("Hey! Why do you want to unsub us?\r*inserts a game over window*");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
4
Project Ports/AboutPorts.Designer.cs
generated
4
Project Ports/AboutPorts.Designer.cs
generated
|
@ -37,7 +37,11 @@
|
|||
this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.richTextBox1.BackColor = System.Drawing.Color.White;
|
||||
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.richTextBox1.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.richTextBox1.Enabled = false;
|
||||
this.richTextBox1.ForeColor = System.Drawing.Color.Black;
|
||||
this.richTextBox1.Location = new System.Drawing.Point(3, 3);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.Size = new System.Drawing.Size(426, 238);
|
||||
|
|
3
Project Ports/Programs/ChatApp.Designer.cs
generated
3
Project Ports/Programs/ChatApp.Designer.cs
generated
|
@ -28,10 +28,12 @@
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.txtSentMessages = new System.Windows.Forms.TextBox();
|
||||
this.txtMsgContents = new System.Windows.Forms.TextBox();
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.btnSendMSG = new System.Windows.Forms.Button();
|
||||
this.delay = new System.Windows.Forms.Timer(this.components);
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txtSentMessages
|
||||
|
@ -109,5 +111,6 @@
|
|||
private System.Windows.Forms.TextBox txtMsgContents;
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
private System.Windows.Forms.Button btnSendMSG;
|
||||
private System.Windows.Forms.Timer delay;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,10 +41,8 @@ namespace Project_Ports
|
|||
Properties.Settings.Default.chatterStoryline = false;
|
||||
#endif
|
||||
|
||||
|
||||
if (Properties.Settings.Default.chatterStoryline == true)
|
||||
{
|
||||
Thread.Sleep(2000);
|
||||
txtSentMessages.AppendText("Adam has entered the channel..." + Environment.NewLine);
|
||||
Thread.Sleep(2000);
|
||||
txtSentMessages.AppendText("<Adam> Hey there user!" + Environment.NewLine);
|
||||
|
|
|
@ -117,4 +117,7 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="delay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
Loading…
Reference in a new issue