aboutsummaryrefslogtreecommitdiff
path: root/Project Ports
diff options
context:
space:
mode:
authorAndrew <alee14498@gmail.com>2018-08-29 12:40:57 -0400
committerAndrew <alee14498@gmail.com>2018-08-29 12:40:57 -0400
commit5b5825ff4491047838ad12df69c6aa40f1af5299 (patch)
tree8aa6e1053357f7c51051a42be6fabca52088e992 /Project Ports
parente4e99da54a56bd83dc9a8e04d2220dd454f734f8 (diff)
downloadProject-Silicon-5b5825ff4491047838ad12df69c6aa40f1af5299.tar.gz
Project-Silicon-5b5825ff4491047838ad12df69c6aa40f1af5299.tar.bz2
Project-Silicon-5b5825ff4491047838ad12df69c6aa40f1af5299.zip
Added licenses and added panels on boot and crash
Diffstat (limited to 'Project Ports')
-rw-r--r--Project Ports/Boot.Designer.cs24
-rw-r--r--Project Ports/Boot.cs1
-rw-r--r--Project Ports/Crash.Designer.cs28
-rw-r--r--Project Ports/Crash.cs5
-rw-r--r--Project Ports/DebugMode.cs21
-rw-r--r--Project Ports/hijackScreen.cs21
6 files changed, 84 insertions, 16 deletions
diff --git a/Project Ports/Boot.Designer.cs b/Project Ports/Boot.Designer.cs
index e07b929..fdf84db 100644
--- a/Project Ports/Boot.Designer.cs
+++ b/Project Ports/Boot.Designer.cs
@@ -29,6 +29,8 @@
private void InitializeComponent()
{
this.txtBoot = new System.Windows.Forms.RichTextBox();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// txtBoot
@@ -40,7 +42,7 @@
this.txtBoot.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtBoot.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtBoot.ForeColor = System.Drawing.Color.White;
- this.txtBoot.Location = new System.Drawing.Point(12, 12);
+ this.txtBoot.Location = new System.Drawing.Point(11, 12);
this.txtBoot.Name = "txtBoot";
this.txtBoot.ReadOnly = true;
this.txtBoot.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
@@ -48,20 +50,33 @@
this.txtBoot.TabIndex = 0;
this.txtBoot.Text = "";
//
+ // panel1
+ //
+ this.panel1.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.panel1.BackColor = System.Drawing.Color.Black;
+ this.panel1.Controls.Add(this.txtBoot);
+ this.panel1.Location = new System.Drawing.Point(-1, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(590, 460);
+ this.panel1.TabIndex = 1;
+ //
// Boot
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.Black;
+ this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(589, 453);
- this.Controls.Add(this.txtBoot);
+ this.Controls.Add(this.panel1);
this.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ForeColor = System.Drawing.Color.White;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
- this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
+ this.Margin = new System.Windows.Forms.Padding(5);
this.Name = "Boot";
this.Text = "Boot";
this.Load += new System.EventHandler(this.Boot_Load);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -69,5 +84,6 @@
#endregion
private System.Windows.Forms.RichTextBox txtBoot;
+ private System.Windows.Forms.Panel panel1;
}
} \ No newline at end of file
diff --git a/Project Ports/Boot.cs b/Project Ports/Boot.cs
index 4aa9380..351137a 100644
--- a/Project Ports/Boot.cs
+++ b/Project Ports/Boot.cs
@@ -20,7 +20,6 @@ namespace Project_Ports
private void Boot_Load(object sender, EventArgs e)
{
- this.BringToFront();
Thread.Sleep(2000);
txtBoot.AppendText("PortOS is now booting...");
Thread.Sleep(2000);
diff --git a/Project Ports/Crash.Designer.cs b/Project Ports/Crash.Designer.cs
index 5f3906a..8c9d8d7 100644
--- a/Project Ports/Crash.Designer.cs
+++ b/Project Ports/Crash.Designer.cs
@@ -30,6 +30,8 @@
{
this.txtCrash = new System.Windows.Forms.RichTextBox();
this.button1 = new System.Windows.Forms.Button();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// txtCrash
@@ -42,12 +44,12 @@
this.txtCrash.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtCrash.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCrash.ForeColor = System.Drawing.Color.Red;
- this.txtCrash.Location = new System.Drawing.Point(12, 12);
+ this.txtCrash.Location = new System.Drawing.Point(21, 15);
this.txtCrash.MaxLength = 32767;
this.txtCrash.Name = "txtCrash";
this.txtCrash.ReadOnly = true;
this.txtCrash.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
- this.txtCrash.Size = new System.Drawing.Size(693, 441);
+ this.txtCrash.Size = new System.Drawing.Size(684, 439);
this.txtCrash.TabIndex = 0;
this.txtCrash.Text = "PortOS.GUI has crashed...\nSYSTEM ERROR: CRASHED\nRebooting PortOS....";
//
@@ -55,7 +57,7 @@
//
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.ForeColor = System.Drawing.Color.White;
- this.button1.Location = new System.Drawing.Point(553, 430);
+ this.button1.Location = new System.Drawing.Point(533, 417);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(152, 23);
this.button1.TabIndex = 1;
@@ -63,19 +65,32 @@
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
+ // panel1
+ //
+ this.panel1.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.panel1.BackColor = System.Drawing.Color.Black;
+ this.panel1.Controls.Add(this.button1);
+ this.panel1.Controls.Add(this.txtCrash);
+ this.panel1.Location = new System.Drawing.Point(0, -1);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(717, 467);
+ this.panel1.TabIndex = 2;
+ //
// Crash
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.Black;
+ this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(717, 465);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.txtCrash);
+ this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Crash";
this.Text = "Crash";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.Crash_Load);
+ this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -84,5 +99,6 @@
private System.Windows.Forms.RichTextBox txtCrash;
private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Panel panel1;
}
} \ No newline at end of file
diff --git a/Project Ports/Crash.cs b/Project Ports/Crash.cs
index 346aa40..ac78359 100644
--- a/Project Ports/Crash.cs
+++ b/Project Ports/Crash.cs
@@ -21,8 +21,7 @@ namespace Project_Ports
private void Crash_Load(object sender, EventArgs e)
{
- this.BringToFront();
- /*
+ Thread.Sleep(2000);
if (Properties.Settings.Default.hijacked2 == true)
{
MessageBox.Show("Coming soon!");
@@ -32,7 +31,7 @@ namespace Project_Ports
Boot boot = new Boot();
boot.Show();
this.Close();
- }*/
+ }
}
private void button1_Click(object sender, EventArgs e)
diff --git a/Project Ports/DebugMode.cs b/Project Ports/DebugMode.cs
index e9e4e3a..e42472c 100644
--- a/Project Ports/DebugMode.cs
+++ b/Project Ports/DebugMode.cs
@@ -1,4 +1,23 @@
-using System;
+/************************************************************************
+ *
+ * Project Ports
+ * Copyright (C) 2018 UniverseDG
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ **************************************************************************/
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
diff --git a/Project Ports/hijackScreen.cs b/Project Ports/hijackScreen.cs
index 5855d17..97e5e33 100644
--- a/Project Ports/hijackScreen.cs
+++ b/Project Ports/hijackScreen.cs
@@ -1,4 +1,23 @@
-using System;
+/************************************************************************
+ *
+ * Project Ports
+ * Copyright (C) 2018 UniverseDG
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ **************************************************************************/
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;