aboutsummaryrefslogtreecommitdiff
path: root/Project Ports
diff options
context:
space:
mode:
Diffstat (limited to 'Project Ports')
-rw-r--r--Project Ports/Desktop.Designer.cs17
-rw-r--r--Project Ports/Desktop.cs9
2 files changed, 5 insertions, 21 deletions
diff --git a/Project Ports/Desktop.Designer.cs b/Project Ports/Desktop.Designer.cs
index eb5cf21..b32a3e3 100644
--- a/Project Ports/Desktop.Designer.cs
+++ b/Project Ports/Desktop.Designer.cs
@@ -43,7 +43,6 @@
this.dclock = new System.Windows.Forms.Timer(this.components);
this.hijackScreen = new System.Windows.Forms.Panel();
this.txtHijack = new System.Windows.Forms.TextBox();
- this.btnGoToDesktop = new System.Windows.Forms.Button();
this.textgen = new System.Windows.Forms.Timer(this.components);
this.appMenu.SuspendLayout();
this.hijackScreen.SuspendLayout();
@@ -155,7 +154,6 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.hijackScreen.BackColor = System.Drawing.Color.Black;
this.hijackScreen.Controls.Add(this.txtHijack);
- this.hijackScreen.Controls.Add(this.btnGoToDesktop);
this.hijackScreen.Location = new System.Drawing.Point(0, 0);
this.hijackScreen.Name = "hijackScreen";
this.hijackScreen.Size = new System.Drawing.Size(800, 450);
@@ -174,21 +172,9 @@
this.txtHijack.Multiline = true;
this.txtHijack.Name = "txtHijack";
this.txtHijack.ReadOnly = true;
- this.txtHijack.Size = new System.Drawing.Size(773, 392);
+ this.txtHijack.Size = new System.Drawing.Size(773, 426);
this.txtHijack.TabIndex = 3;
//
- // btnGoToDesktop
- //
- this.btnGoToDesktop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnGoToDesktop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGoToDesktop.Location = new System.Drawing.Point(15, 416);
- this.btnGoToDesktop.Name = "btnGoToDesktop";
- this.btnGoToDesktop.Size = new System.Drawing.Size(75, 23);
- this.btnGoToDesktop.TabIndex = 2;
- this.btnGoToDesktop.Text = "Continue";
- this.btnGoToDesktop.UseVisualStyleBackColor = true;
- this.btnGoToDesktop.Click += new System.EventHandler(this.btnGoToDesktop_Click);
- //
// Desktop
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -230,7 +216,6 @@
private System.Windows.Forms.ToolStripMenuItem quantumNetBrowserToolStripMenuItem;
private System.Windows.Forms.Panel hijackScreen;
private System.Windows.Forms.Timer textgen;
- private System.Windows.Forms.Button btnGoToDesktop;
private System.Windows.Forms.TextBox txtHijack;
}
} \ No newline at end of file
diff --git a/Project Ports/Desktop.cs b/Project Ports/Desktop.cs
index ec06440..1d8a7d0 100644
--- a/Project Ports/Desktop.cs
+++ b/Project Ports/Desktop.cs
@@ -53,6 +53,10 @@ namespace Project_Ports
hijackScreen.Hide();
if(Properties.Settings.Default.hijacked == true)
{
+ #if DEBUG
+ hijackScreen.Hide();
+ return;
+ #endif
hijackScreen.Show();
Thread.Sleep(2000);
txtHijack.AppendText("PortOS is now booting..." + Environment.NewLine);
@@ -159,10 +163,5 @@ namespace Project_Ports
{
wm.createWindow(new QuantumNet(), "QuantumNet Browser");
}
-
- private void btnGoToDesktop_Click(object sender, EventArgs e)
- {
- hijackScreen.Hide();
- }
}
}