diff options
| author | TheEdgeNK <trey6979@gmail.com> | 2018-08-26 19:34:17 -0400 |
|---|---|---|
| committer | TheEdgeNK <trey6979@gmail.com> | 2018-08-26 19:34:17 -0400 |
| commit | 49e0f01a68468af1697ee23798a48f6f6cd7e647 (patch) | |
| tree | 8aa5e3154d2e3eb3ee9507d7342625e3c3528182 | |
| parent | f1f82c9af4409aa81b4dab95b6381d6b935694ff (diff) | |
| download | Project-Silicon-49e0f01a68468af1697ee23798a48f6f6cd7e647.tar.gz Project-Silicon-49e0f01a68468af1697ee23798a48f6f6cd7e647.tar.bz2 Project-Silicon-49e0f01a68468af1697ee23798a48f6f6cd7e647.zip | |
Sites Progress 1
| -rw-r--r-- | PortEngine/EarnSite.Designer.cs | 72 | ||||
| -rw-r--r-- | PortEngine/EarnSite.cs | 20 | ||||
| -rw-r--r-- | PortEngine/EarnSite.resx | 120 | ||||
| -rw-r--r-- | PortEngine/PortEngine.csproj | 18 | ||||
| -rw-r--r-- | PortEngine/Properties/Settings.Designer.cs | 41 | ||||
| -rw-r--r-- | PortEngine/Properties/Settings.settings | 11 | ||||
| -rw-r--r-- | PortEngine/QuantumAPI/QuantumAPI.cs | 3 | ||||
| -rw-r--r-- | PortEngine/QuantumAPI/Sites/Malwarebits.Designer.cs | 134 | ||||
| -rw-r--r-- | PortEngine/QuantumAPI/Sites/Malwarebits.cs | 25 | ||||
| -rw-r--r-- | PortEngine/QuantumAPI/Sites/Malwarebits.resx | 123 | ||||
| -rw-r--r-- | PortEngine/QuantumAPI/Sites/QuantumISP.Designer.cs | 28 | ||||
| -rw-r--r-- | PortEngine/QuantumAPI/Sites/QuantumISP.cs | 5 | ||||
| -rw-r--r-- | PortEngine/app.config | 22 |
13 files changed, 614 insertions, 8 deletions
diff --git a/PortEngine/EarnSite.Designer.cs b/PortEngine/EarnSite.Designer.cs new file mode 100644 index 0000000..a1c3fc9 --- /dev/null +++ b/PortEngine/EarnSite.Designer.cs @@ -0,0 +1,72 @@ +namespace PortEngine +{ + partial class EarnSite + { + /// <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.btnOpenGTN = new System.Windows.Forms.Button(); + this.btnLaunchDTA = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // btnOpenGTN + // + this.btnOpenGTN.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnOpenGTN.Location = new System.Drawing.Point(3, 3); + this.btnOpenGTN.Name = "btnOpenGTN"; + this.btnOpenGTN.Size = new System.Drawing.Size(160, 39); + this.btnOpenGTN.TabIndex = 0; + this.btnOpenGTN.Text = "Guess the Number"; + this.btnOpenGTN.UseVisualStyleBackColor = true; + // + // btnLaunchDTA + // + this.btnLaunchDTA.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnLaunchDTA.Location = new System.Drawing.Point(3, 48); + this.btnLaunchDTA.Name = "btnLaunchDTA"; + this.btnLaunchDTA.Size = new System.Drawing.Size(160, 39); + this.btnLaunchDTA.TabIndex = 1; + this.btnLaunchDTA.Text = "Dodge the Ad"; + this.btnLaunchDTA.UseVisualStyleBackColor = true; + // + // EarnSite + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.btnLaunchDTA); + this.Controls.Add(this.btnOpenGTN); + this.Name = "EarnSite"; + this.Size = new System.Drawing.Size(842, 452); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button btnOpenGTN; + private System.Windows.Forms.Button btnLaunchDTA; + } +} diff --git a/PortEngine/EarnSite.cs b/PortEngine/EarnSite.cs new file mode 100644 index 0000000..6b56782 --- /dev/null +++ b/PortEngine/EarnSite.cs @@ -0,0 +1,20 @@ +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 EarnSite : UserControl + { + public EarnSite() + { + InitializeComponent(); + } + } +} diff --git a/PortEngine/EarnSite.resx b/PortEngine/EarnSite.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/PortEngine/EarnSite.resx @@ -0,0 +1,120 @@ +<?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> +</root>
\ No newline at end of file diff --git a/PortEngine/PortEngine.csproj b/PortEngine/PortEngine.csproj index 6f7375b..da69b4b 100644 --- a/PortEngine/PortEngine.csproj +++ b/PortEngine/PortEngine.csproj @@ -43,6 +43,18 @@ </ItemGroup> <ItemGroup> <Compile Include="ChatAPI.cs" /> + <Compile Include="EarnSite.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="EarnSite.Designer.cs"> + <DependentUpon>EarnSite.cs</DependentUpon> + </Compile> + <Compile Include="QuantumAPI\Sites\Malwarebits.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="QuantumAPI\Sites\Malwarebits.Designer.cs"> + <DependentUpon>Malwarebits.cs</DependentUpon> + </Compile> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\Settings.Designer.cs"> <AutoGen>True</AutoGen> @@ -72,9 +84,15 @@ <Compile Include="WindowManager\WindowManager.cs" /> </ItemGroup> <ItemGroup> + <EmbeddedResource Include="EarnSite.resx"> + <DependentUpon>EarnSite.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="QuantumAPI\Sites\404Error.resx"> <DependentUpon>404Error.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="QuantumAPI\Sites\Malwarebits.resx"> + <DependentUpon>Malwarebits.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="QuantumAPI\Sites\QuantumISP.resx"> <DependentUpon>QuantumISP.cs</DependentUpon> </EmbeddedResource> diff --git a/PortEngine/Properties/Settings.Designer.cs b/PortEngine/Properties/Settings.Designer.cs index 6462222..3703ea0 100644 --- a/PortEngine/Properties/Settings.Designer.cs +++ b/PortEngine/Properties/Settings.Designer.cs @@ -23,16 +23,13 @@ namespace PortEngine.Properties { } } - [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("False")] public bool graphicsFriendly { get { return ((bool)(this["graphicsFriendly"])); } - set { - this["graphicsFriendly"] = value; - } } [global::System.Configuration.UserScopedSettingAttribute()] @@ -46,5 +43,41 @@ namespace PortEngine.Properties { this["userDisplayName"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0")] + public int userBalance { + get { + return ((int)(this["userBalance"])); + } + set { + this["userBalance"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1")] + public string userSecurityLevel { + get { + return ((string)(this["userSecurityLevel"])); + } + set { + this["userSecurityLevel"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1")] + public string userPowerLevel { + get { + return ((string)(this["userPowerLevel"])); + } + set { + this["userPowerLevel"] = value; + } + } } } diff --git a/PortEngine/Properties/Settings.settings b/PortEngine/Properties/Settings.settings index 14e29c9..27ebb1f 100644 --- a/PortEngine/Properties/Settings.settings +++ b/PortEngine/Properties/Settings.settings @@ -2,11 +2,20 @@ <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="PortEngine.Properties" GeneratedClassName="Settings"> <Profiles /> <Settings> - <Setting Name="graphicsFriendly" Type="System.Boolean" Scope="User"> + <Setting Name="graphicsFriendly" Type="System.Boolean" Scope="Application"> <Value Profile="(Default)">False</Value> </Setting> <Setting Name="userDisplayName" Type="System.String" Scope="User"> <Value Profile="(Default)">Player</Value> </Setting> + <Setting Name="userBalance" Type="System.Int32" Scope="User"> + <Value Profile="(Default)">0</Value> + </Setting> + <Setting Name="userSecurityLevel" Type="System.String" Scope="User"> + <Value Profile="(Default)">1</Value> + </Setting> + <Setting Name="userPowerLevel" Type="System.String" Scope="User"> + <Value Profile="(Default)">1</Value> + </Setting> </Settings> </SettingsFile>
\ No newline at end of file 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) + { + + } } } diff --git a/PortEngine/app.config b/PortEngine/app.config index cb6d547..9140c42 100644 --- a/PortEngine/app.config +++ b/PortEngine/app.config @@ -4,15 +4,31 @@ <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="PortEngine.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> </sectionGroup> + <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > + <section name="PortEngine.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </sectionGroup> </configSections> <userSettings> <PortEngine.Properties.Settings> - <setting name="graphicsFriendly" serializeAs="String"> - <value>False</value> - </setting> <setting name="userDisplayName" serializeAs="String"> <value>Player</value> </setting> + <setting name="userBalance" serializeAs="String"> + <value>0</value> + </setting> + <setting name="userSecurityLevel" serializeAs="String"> + <value>1</value> + </setting> + <setting name="userPowerLevel" serializeAs="String"> + <value>1</value> + </setting> </PortEngine.Properties.Settings> </userSettings> + <applicationSettings> + <PortEngine.Properties.Settings> + <setting name="graphicsFriendly" serializeAs="String"> + <value>False</value> + </setting> + </PortEngine.Properties.Settings> + </applicationSettings> </configuration>
\ No newline at end of file |
