aboutsummaryrefslogtreecommitdiff
path: root/Project Ports
diff options
context:
space:
mode:
authorTrey <32907415+TheEdgeNK@users.noreply.github.com>2018-09-02 12:09:20 -0400
committerTrey <32907415+TheEdgeNK@users.noreply.github.com>2018-09-02 12:09:20 -0400
commitb14c88a25a7704e37514a4b5f4e761e925bd2536 (patch)
tree76840e1ef2766d6439f330b04e1d111391bb5d02 /Project Ports
parentcf72b65769809ac77331414aee299112b9bf4b37 (diff)
downloadProject-Silicon-b14c88a25a7704e37514a4b5f4e761e925bd2536.tar.gz
Project-Silicon-b14c88a25a7704e37514a4b5f4e761e925bd2536.tar.bz2
Project-Silicon-b14c88a25a7704e37514a4b5f4e761e925bd2536.zip
in progress
Diffstat (limited to 'Project Ports')
-rw-r--r--Project Ports/hijackScreen.Designer.cs16
-rw-r--r--Project Ports/hijackScreen.cs10
2 files changed, 17 insertions, 9 deletions
diff --git a/Project Ports/hijackScreen.Designer.cs b/Project Ports/hijackScreen.Designer.cs
index c605dfb..c251ca7 100644
--- a/Project Ports/hijackScreen.Designer.cs
+++ b/Project Ports/hijackScreen.Designer.cs
@@ -30,6 +30,7 @@
{
this.hijackPanel = new System.Windows.Forms.Panel();
this.txtHijack = new System.Windows.Forms.TextBox();
+ this.btnSkipHijack = new System.Windows.Forms.Button();
this.hijackPanel.SuspendLayout();
this.SuspendLayout();
//
@@ -39,6 +40,7 @@
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.hijackPanel.BackColor = System.Drawing.Color.Black;
+ this.hijackPanel.Controls.Add(this.btnSkipHijack);
this.hijackPanel.Controls.Add(this.txtHijack);
this.hijackPanel.Location = new System.Drawing.Point(0, 0);
this.hijackPanel.Name = "hijackPanel";
@@ -55,13 +57,24 @@
this.txtHijack.Cursor = System.Windows.Forms.Cursors.IBeam;
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.Location = new System.Drawing.Point(12, 12);
this.txtHijack.Multiline = true;
this.txtHijack.Name = "txtHijack";
this.txtHijack.ReadOnly = true;
this.txtHijack.Size = new System.Drawing.Size(957, 547);
this.txtHijack.TabIndex = 3;
//
+ // btnSkipHijack
+ //
+ this.btnSkipHijack.Font = new System.Drawing.Font("Consolas", 10F);
+ this.btnSkipHijack.Location = new System.Drawing.Point(880, 531);
+ this.btnSkipHijack.Name = "btnSkipHijack";
+ this.btnSkipHijack.Size = new System.Drawing.Size(103, 37);
+ this.btnSkipHijack.TabIndex = 4;
+ this.btnSkipHijack.Text = "Skip";
+ this.btnSkipHijack.UseVisualStyleBackColor = true;
+ this.btnSkipHijack.Click += new System.EventHandler(this.btnSkipHijack_Click);
+ //
// hijackScreen
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -83,5 +96,6 @@
private System.Windows.Forms.Panel hijackPanel;
private System.Windows.Forms.TextBox txtHijack;
+ private System.Windows.Forms.Button btnSkipHijack;
}
} \ No newline at end of file
diff --git a/Project Ports/hijackScreen.cs b/Project Ports/hijackScreen.cs
index e8d4168..fca9070 100644
--- a/Project Ports/hijackScreen.cs
+++ b/Project Ports/hijackScreen.cs
@@ -40,19 +40,13 @@ 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();
+ StorylineAPI.StartHijackEvent1(txtHijack);
}
- private void button1_Click(object sender, EventArgs e)
+ private void btnSkipHijack_Click(object sender, EventArgs e)
{
Desktop desktop = new Desktop();
- Properties.Settings.Default.hijacked = false;
desktop.Show();
- this.Close();
}
}
}