aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PortEngine/PortEngine.csproj1
-rw-r--r--PortEngine/Properties/Settings.Designer.cs36
-rw-r--r--PortEngine/Properties/Settings.settings9
-rw-r--r--PortEngine/QuantumAPI/QuantumAPI.cs6
-rw-r--r--PortEngine/StorylineAPI.cs152
-rw-r--r--PortEngine/app.config9
-rw-r--r--Project Ports/Programs/ChatApp.cs33
-rw-r--r--Project Ports/hijackScreen.Designer.cs18
-rw-r--r--Project Ports/hijackScreen.cs83
-rw-r--r--Project Ports/hijackScreen.resx3
10 files changed, 247 insertions, 103 deletions
diff --git a/PortEngine/PortEngine.csproj b/PortEngine/PortEngine.csproj
index 6c9c7b9..193957f 100644
--- a/PortEngine/PortEngine.csproj
+++ b/PortEngine/PortEngine.csproj
@@ -91,6 +91,7 @@
<Compile Include="QuantumAPI\Sites\QuantumISP.Designer.cs">
<DependentUpon>QuantumISP.cs</DependentUpon>
</Compile>
+ <Compile Include="StorylineAPI.cs" />
<Compile Include="TerminalAPI.cs" />
<Compile Include="WindowManager\base.cs">
<SubType>Form</SubType>
diff --git a/PortEngine/Properties/Settings.Designer.cs b/PortEngine/Properties/Settings.Designer.cs
index 3703ea0..5e4656a 100644
--- a/PortEngine/Properties/Settings.Designer.cs
+++ b/PortEngine/Properties/Settings.Designer.cs
@@ -79,5 +79,41 @@ namespace PortEngine.Properties {
this["userPowerLevel"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("True")]
+ public bool storylineStatus {
+ get {
+ return ((bool)(this["storylineStatus"]));
+ }
+ set {
+ this["storylineStatus"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool hijack1EventCompleted {
+ get {
+ return ((bool)(this["hijack1EventCompleted"]));
+ }
+ set {
+ this["hijack1EventCompleted"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool chatter1EventCompleted {
+ get {
+ return ((bool)(this["chatter1EventCompleted"]));
+ }
+ set {
+ this["chatter1EventCompleted"] = value;
+ }
+ }
}
}
diff --git a/PortEngine/Properties/Settings.settings b/PortEngine/Properties/Settings.settings
index 27ebb1f..100f3c4 100644
--- a/PortEngine/Properties/Settings.settings
+++ b/PortEngine/Properties/Settings.settings
@@ -17,5 +17,14 @@
<Setting Name="userPowerLevel" Type="System.String" Scope="User">
<Value Profile="(Default)">1</Value>
</Setting>
+ <Setting Name="storylineStatus" Type="System.Boolean" Scope="User">
+ <Value Profile="(Default)">True</Value>
+ </Setting>
+ <Setting Name="hijack1EventCompleted" Type="System.Boolean" Scope="User">
+ <Value Profile="(Default)">False</Value>
+ </Setting>
+ <Setting Name="chatter1EventCompleted" Type="System.Boolean" Scope="User">
+ <Value Profile="(Default)">False</Value>
+ </Setting>
</Settings>
</SettingsFile> \ No newline at end of file
diff --git a/PortEngine/QuantumAPI/QuantumAPI.cs b/PortEngine/QuantumAPI/QuantumAPI.cs
index 0441259..5d83a07 100644
--- a/PortEngine/QuantumAPI/QuantumAPI.cs
+++ b/PortEngine/QuantumAPI/QuantumAPI.cs
@@ -40,13 +40,13 @@ namespace PortEngine
{
switch (txtNavigateToThis.Text)
{
- case "qt.quantumconnections":
+ case "qt.quantumconnections/home":
loadSite(new QuantumAPI.Sites.QuantumISP(), pnlLoadSiteHere);
break;
- case "qt.malwarebits":
+ case "qt.malwarebits/home":
loadSite(new Malwarebits(), pnlLoadSiteHere);
break;
- case "qt.portosdefender":
+ case "qt.portosdefender/home":
loadSite(new QuantumAPI.Sites.PortOSDefender(), pnlLoadSiteHere);
break;
default:
diff --git a/PortEngine/StorylineAPI.cs b/PortEngine/StorylineAPI.cs
new file mode 100644
index 0000000..6808dc7
--- /dev/null
+++ b/PortEngine/StorylineAPI.cs
@@ -0,0 +1,152 @@
+using System;
+using System.Threading;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.ComponentModel;
+
+namespace PortEngine
+{
+ public class StorylineAPI
+ {
+ public static bool StorylineStatus = Properties.Settings.Default.storylineStatus;
+ public static bool IsHijack1Completed = Properties.Settings.Default.hijack1EventCompleted;
+ public static bool IsChatter1Completed = Properties.Settings.Default.chatter1EventCompleted;
+ public static string PlayerDisplayName = Properties.Settings.Default.userDisplayName;
+ static BackgroundWorker WorkerBee = new BackgroundWorker();
+
+ public static void StorylineState(bool IsStorylineEnabled)
+ {
+ StorylineStatus = IsStorylineEnabled;
+ }
+
+ public static void StartHijackEvent1(TextBox txtHijack1)
+ {
+ if (IsHijack1Completed == false)
+ {
+ txtHijack1.AppendText("PortOS is now booting..." + Environment.NewLine);
+ Thread.Sleep(5000);
+ txtHijack1.AppendText("SYSTEM ERROR: HIJACKED" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Incoming connection..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G is now connected..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G: WHO ARE YOU???" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G: HOW DID YOU FIND THIS OS?!?!?!?!?" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G: SINCE YOU FOUND THIS COMPUTER" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G: PREPARE FOR YOUR COMPUTER TO DIE!!!!!" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G is deleting /sys/..." + Environment.NewLine);
+ Thread.Sleep(1000);
+ txtHijack1.AppendText("Incoming connection..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("??? is now Connected..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("???: Hey there! Let me help you…" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("??? interupted the deletion of /sys/" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("??? is restoring /sys/" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G: GAH! I CAN’T DELETE ANYTHING" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("/sys/ is restored..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G: WHO ARE YO-" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G has been kicked by ???" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("A.H.G disconnected…" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("???: Sorry about that let me reveal myself..." + Environment.NewLine);
+ Thread.Sleep(1000);
+ txtHijack1.AppendText("??? is now known as Adam…" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Adam: I am Adam and I am one of the developers of PortOS!" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Adam: As you know, A.H.G is a group of hackers that destroys PortOS computers." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Adam: This computer will shortly reboot and redirected to the desktop…" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Adam: Also make sure to open Chatter once you get to the desktop!" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Adam disconnected..." + Environment.NewLine);
+ Thread.Sleep(5000);
+ txtHijack1.Clear();
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("PortOS is now booting..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("GUI Driver has been found!" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Starting Desktop..." + Environment.NewLine);
+ Thread.Sleep(3000);
+ }
+ else
+ {
+ txtHijack1.AppendText("PortOS is now booting..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("GUI Driver has been found!" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtHijack1.AppendText("Starting Desktop..." + Environment.NewLine);
+ Thread.Sleep(3000);
+ }
+
+ }
+
+ public static void StartChatterEvent1(TextBox txtSentMessageDump)
+ {
+ if (IsChatter1Completed == false)
+ {
+ txtSentMessageDump.AppendText("Adam has entered the channel..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Hey there user!" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> You need to set a name so I know who you are." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Open the settings application to change your username using the intuitive interface presented to you." + Environment.NewLine);
+ Thread.Sleep(10000);
+ txtSentMessageDump.AppendText("<Adam> Great!" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Hello, " + PlayerDisplayName + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> If you open your app launcher, there is an application called the 'QuantumNet Browser'" + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> The QuantumNet is not a normal type of internet connection." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> It protects your privacy and has custom web-pages." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Think of it like the deep web, but, deeper." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> It does not use the normal domains used with the World Wide Web, it uses specially formatted domains." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Your computer seems to come with the best subscription out there of the QuantumNet. To check your subscription information, open the QuantumNet browser and type 'qt.quantumisp/home'" + Environment.NewLine);
+ Thread.Sleep(15000);
+ txtSentMessageDump.AppendText("<Adam> The domain names are pretty much a mixed version of the ones you would see on the normal Internet." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Now, I need to talk about security and power. These will be important things when you go on with your quests or future endeavors inside of the QuantumNet." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Malwarebits is a very useful QuantumSite to visit. It will allow you to upgrade those things. To do this, head to 'qt.malwarebits/home'" + Environment.NewLine);
+ Thread.Sleep(15000);
+ txtSentMessageDump.AppendText("<Adam> To upgrade these, you will need to earn HackPoints. The easiest way to do this is to play games." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> Anyways, I will see you... later..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("<Adam> I need to work on... something else..." + Environment.NewLine);
+ Thread.Sleep(2000);
+ txtSentMessageDump.AppendText("Adam has disconnected from the channel. " + Environment.NewLine);
+ }
+ else
+ {
+ txtSentMessageDump.AppendText(PlayerDisplayName + " has entered the channel!");
+ }
+ }
+
+
+ }
+}
diff --git a/PortEngine/app.config b/PortEngine/app.config
index 9140c42..62af220 100644
--- a/PortEngine/app.config
+++ b/PortEngine/app.config
@@ -22,6 +22,15 @@
<setting name="userPowerLevel" serializeAs="String">
<value>1</value>
</setting>
+ <setting name="storylineStatus" serializeAs="String">
+ <value>True</value>
+ </setting>
+ <setting name="hijack1EventCompleted" serializeAs="String">
+ <value>False</value>
+ </setting>
+ <setting name="chatter1EventCompleted" serializeAs="String">
+ <value>False</value>
+ </setting>
</PortEngine.Properties.Settings>
</userSettings>
<applicationSettings>
diff --git a/Project Ports/Programs/ChatApp.cs b/Project Ports/Programs/ChatApp.cs
index fd02c5d..3af3f64 100644
--- a/Project Ports/Programs/ChatApp.cs
+++ b/Project Ports/Programs/ChatApp.cs
@@ -41,40 +41,21 @@ namespace Project_Ports
private void btnSendMSG_Click(object sender, EventArgs e)
{
- ChatAPI.SendMessage(txtMsgContents, txtSentMessages);
+ //ChatAPI.SendMessage(txtMsgContents, txtSentMessages);
}
private void txtMsgContents_KeyDown(object sender, KeyEventArgs e)
{
- if (e.KeyCode == Keys.Enter)
- {
- ChatAPI.SendMessage(txtMsgContents, txtSentMessages);
- e.SuppressKeyPress = true;
- }
+ //if (e.KeyCode == Keys.Enter)
+ //{
+ //ChatAPI.SendMessage(txtMsgContents, txtSentMessages);
+ //e.SuppressKeyPress = true;
+ //}
}
private void ChatApp_Load(object sender, EventArgs e)
{
- /*
- #if DEBUG
- Properties.Settings.Default.chatterStoryline = false;
- #endif
-
- if (Properties.Settings.Default.chatterStoryline == true)
- {
- txtSentMessages.AppendText("Adam has entered the channel..." + Environment.NewLine);
- Thread.Sleep(2000);
- txtSentMessages.AppendText("<Adam> Hey there user!" + Environment.NewLine);
- Thread.Sleep(2000);
- txtSentMessages.AppendText("<Adam> You need to set a name so I know who you are." + Environment.NewLine);
- Thread.Sleep(2000);
- txtSentMessages.AppendText("<Adam> Open a terminal and input do the following: \"changeusername --YourUsernameHere\"." + Environment.NewLine);
- Thread.Sleep(10000);
- txtSentMessages.AppendText("<Adam> Great!" + Environment.NewLine);
- Thread.Sleep(2000);
- txtSentMessages.AppendText("<Adam> Hello username" + Environment.NewLine); //TODO
-
- } */
+ StorylineAPI.StartChatterEvent1(txtMsgContents);
}
}
}
diff --git a/Project Ports/hijackScreen.Designer.cs b/Project Ports/hijackScreen.Designer.cs
index da32693..1f3394a 100644
--- a/Project Ports/hijackScreen.Designer.cs
+++ b/Project Ports/hijackScreen.Designer.cs
@@ -29,6 +29,7 @@
private void InitializeComponent()
{
this.hijackPanel = new System.Windows.Forms.Panel();
+ this.button1 = new System.Windows.Forms.Button();
this.txtHijack = new System.Windows.Forms.TextBox();
this.hijackPanel.SuspendLayout();
this.SuspendLayout();
@@ -39,26 +40,38 @@
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.hijackPanel.BackColor = System.Drawing.Color.Black;
+ this.hijackPanel.Controls.Add(this.button1);
this.hijackPanel.Controls.Add(this.txtHijack);
this.hijackPanel.Location = new System.Drawing.Point(0, 0);
this.hijackPanel.Name = "hijackPanel";
this.hijackPanel.Size = new System.Drawing.Size(986, 571);
this.hijackPanel.TabIndex = 3;
//
+ // button1
+ //
+ this.button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.button1.Dock = System.Windows.Forms.DockStyle.Right;
+ this.button1.Location = new System.Drawing.Point(911, 0);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(75, 571);
+ this.button1.TabIndex = 4;
+ this.button1.Text = "skip";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
// txtHijack
//
this.txtHijack.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.txtHijack.BackColor = System.Drawing.Color.Black;
- this.txtHijack.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtHijack.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtHijack.ForeColor = System.Drawing.Color.White;
this.txtHijack.Location = new System.Drawing.Point(15, 12);
this.txtHijack.Multiline = true;
this.txtHijack.Name = "txtHijack";
this.txtHijack.ReadOnly = true;
- this.txtHijack.Size = new System.Drawing.Size(959, 547);
+ this.txtHijack.Size = new System.Drawing.Size(878, 547);
this.txtHijack.TabIndex = 3;
//
// hijackScreen
@@ -82,5 +95,6 @@
private System.Windows.Forms.Panel hijackPanel;
private System.Windows.Forms.TextBox txtHijack;
+ private System.Windows.Forms.Button button1;
}
} \ No newline at end of file
diff --git a/Project Ports/hijackScreen.cs b/Project Ports/hijackScreen.cs
index 97e5e33..e8d4168 100644
--- a/Project Ports/hijackScreen.cs
+++ b/Project Ports/hijackScreen.cs
@@ -27,6 +27,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
+using PortEngine;
namespace Project_Ports
{
@@ -39,75 +40,19 @@ namespace Project_Ports
private void hijackScreen_Load(object sender, EventArgs e)
{
+ StorylineAPI.StartHijackEvent1(txtHijack);
+ Desktop desktop = new Desktop();
+ Properties.Settings.Default.hijacked = false;
+ desktop.Show();
+ this.Close();
+ }
- Thread.Sleep(2000);
- txtHijack.AppendText("PortOS is now booting..." + Environment.NewLine);
- Thread.Sleep(5000);
- txtHijack.AppendText("SYSTEM ERROR: HIJACKED" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("Incoming connection..." + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G is now connected..." + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G: WHO ARE YOU???" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G: HOW DID YOU FIND THIS OS?!?!?!?!?" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G: SINCE YOU FOUND THIS COMPUTER" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G: PREPARE FOR YOUR COMPUTER TO DIE!!!!!" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G is deleting /sys/..." + Environment.NewLine);
- Thread.Sleep(1000);
- txtHijack.AppendText("Incoming connection..." + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("??? is now Connected..." + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("???: Hey there! Let me help you…" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("??? interupted the deletion of /sys/" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("??? is restoring /sys/" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G: GAH! I CAN’T DELETE ANYTHING" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("/sys/ is restored..." + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G: WHO ARE YO-" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G has been kicked by ???" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("A.H.G disconnected…" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("???: Sorry about that let me reveal myself..." + Environment.NewLine);
- Thread.Sleep(1000);
- txtHijack.AppendText("??? is now known as Adam…" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("Adam: I am Adam and I am one of the developers of PortOS!" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("Adam: As you know, A.H.G is a group of hackers that destroys PortOS computers." + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("Adam: This computer will shortly reboot and redirected to the desktop…" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("Adam: Also make sure to open Chatter once you get to the desktop!" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("Adam disconnected..." + Environment.NewLine);
- Thread.Sleep(5000);
- txtHijack.Clear();
- Thread.Sleep(2000);
- txtHijack.AppendText("PortOS is now booting..." + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("GUI Driver has been found!" + Environment.NewLine);
- Thread.Sleep(2000);
- txtHijack.AppendText("Starting Desktop..." + Environment.NewLine);
- Thread.Sleep(3000);
-
- Desktop desktop = new Desktop();
- Properties.Settings.Default.hijacked = false;
- desktop.Show();
- this.Close();
-
-
- }
+ private void button1_Click(object sender, EventArgs e)
+ {
+ Desktop desktop = new Desktop();
+ Properties.Settings.Default.hijacked = false;
+ desktop.Show();
+ this.Close();
}
}
+}
diff --git a/Project Ports/hijackScreen.resx b/Project Ports/hijackScreen.resx
index 652448e..1af7de1 100644
--- a/Project Ports/hijackScreen.resx
+++ b/Project Ports/hijackScreen.resx
@@ -117,7 +117,4 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <metadata name="txtHijack.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <value>True</value>
- </metadata>
</root> \ No newline at end of file