aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs4
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs3
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx4
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs2
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs8
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx3
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs3
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs15
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs133
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx3
10 files changed, 32 insertions, 146 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs
index 0006026..5475040 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs
@@ -81,11 +81,13 @@
this.Label3.Name = "Label3";
this.Label3.Size = new System.Drawing.Size(148, 13);
this.Label3.TabIndex = 3;
- this.Label3.Text = "Content Found: Time Distortor";
+ this.Label3.Text = "Label3";
+ this.Label3.Visible = false;
//
// Button1
//
this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.Button1.Location = new System.Drawing.Point(278, 145);
this.Button1.Name = "Button1";
this.Button1.Size = new System.Drawing.Size(75, 20);
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs
index 6f9bb07..c1a203a 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs
@@ -15,11 +15,12 @@ namespace TimeHACK.OS.Win95.Win95Apps
public WinClassicHWCV()
{
InitializeComponent();
+ Button1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
}
private void Button1_Click(object sender, EventArgs e)
{
- if (TextBox1.Text == "www.12padams.com")
+ if (TextBox1.Text == "www.12padams.com" || TextBox1.Text == "http://www.12padams.com/")
{
Label3.Show();
Label3.Text = "Hidden Content Found: Time Distorter";
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx
index fb1f692..1d196e9 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx
@@ -118,9 +118,9 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="TextBox1.Text" xml:space="preserve">
- <value>This Program is a hacking tool which is able to view hidden content on websites.
+ <value>This program is a hacking tool which is able to view hidden content on websites.
-To view hidden content just type the name of the website in the box below and this will enable you to see all the hidden features on a website.
+To view hidden content just type the URL of the website in the box below and this will enable you to see all the hidden features on a website.
WARNING: This only displays hidden content which can not be accessed in anyway without this software.
</value>
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs
index c2b5db2..7e4c69f 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs
@@ -320,7 +320,7 @@
// mainText
//
this.mainText.Dock = System.Windows.Forms.DockStyle.Fill;
- this.mainText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.mainText.Font = new System.Drawing.Font("Courier", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.mainText.Location = new System.Drawing.Point(0, 24);
this.mainText.MaxLength = 131072;
this.mainText.Multiline = true;
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
index f1920ed..db49c53 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
@@ -20,7 +20,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
InitializeComponent();
foreach (ToolStripMenuItem item in menuStrip1.Items)
{
- item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0)));
+ item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular);
item.BackColor = Color.Silver;
item.BackgroundImage = Properties.Resources.sliversilver;
item.BackgroundImageLayout = ImageLayout.Center;
@@ -91,8 +91,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
try
{
ActivateSaveFileDialog(".txt");
- String selectedPath;
- selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath();
+ string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath();
MessageBox.Show(selectedPath);
if (selectedPath != "")
@@ -110,8 +109,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
try
{
ActivateSaveFileDialog(".txt");
- String selectedPath;
- selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath();
+ string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath();
MessageBox.Show(selectedPath);
if (selectedPath != "")
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx
index d5494e3..1af7de1 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.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="menuStrip1.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/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs
index a82ea29..93dcbd2 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs
@@ -73,6 +73,7 @@
//
// applyButton
//
+ this.applyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.applyButton.Location = new System.Drawing.Point(209, 245);
this.applyButton.Name = "applyButton";
this.applyButton.Size = new System.Drawing.Size(75, 23);
@@ -83,6 +84,7 @@
//
// cancelButton
//
+ this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cancelButton.Location = new System.Drawing.Point(128, 245);
this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(75, 23);
@@ -93,6 +95,7 @@
//
// okButton
//
+ this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.okButton.Location = new System.Drawing.Point(47, 245);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs
index 6f4f161..db9a7e9 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs
@@ -152,7 +152,6 @@
this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.undoToolStripMenuItem.Text = "Undo";
- this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click);
//
// toolStripSeparator2
//
@@ -164,21 +163,18 @@
this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.cutToolStripMenuItem.Text = "Cut";
- this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
//
// copyToolStripMenuItem
//
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.copyToolStripMenuItem.Text = "Copy";
- this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
//
// pasteToolStripMenuItem
//
this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.pasteToolStripMenuItem.Text = "Paste";
- this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
//
// toolStripSeparator3
//
@@ -190,14 +186,12 @@
this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
this.clearToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.clearToolStripMenuItem.Text = "Clear";
- this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click);
//
// selectAllToolStripMenuItem
//
this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.selectAllToolStripMenuItem.Text = "Select All";
- this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
//
// viewToolStripMenuItem
//
@@ -217,7 +211,6 @@
this.toolbarToolStripMenuItem.Name = "toolbarToolStripMenuItem";
this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.toolbarToolStripMenuItem.Text = "Toolbar";
- this.toolbarToolStripMenuItem.Click += new System.EventHandler(this.toolbarToolStripMenuItem_Click);
//
// formatBarToolStripMenuItem
//
@@ -227,7 +220,6 @@
this.formatBarToolStripMenuItem.Name = "formatBarToolStripMenuItem";
this.formatBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.formatBarToolStripMenuItem.Text = "Format Bar";
- this.formatBarToolStripMenuItem.Click += new System.EventHandler(this.formatBarToolStripMenuItem_Click);
//
// statusBarToolStripMenuItem
//
@@ -237,7 +229,6 @@
this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem";
this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.statusBarToolStripMenuItem.Text = "Status Bar";
- this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.statusBarToolStripMenuItem_Click);
//
// insertToolStripMenuItem
//
@@ -252,7 +243,6 @@
this.dateTimeToolStripMenuItem.Name = "dateTimeToolStripMenuItem";
this.dateTimeToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
this.dateTimeToolStripMenuItem.Text = "Date/Time";
- this.dateTimeToolStripMenuItem.Click += new System.EventHandler(this.dateTimeToolStripMenuItem_Click);
//
// formatToolStripMenuItem
//
@@ -330,7 +320,6 @@
this.btnPaste.Size = new System.Drawing.Size(26, 23);
this.btnPaste.TabIndex = 1;
this.btnPaste.UseVisualStyleBackColor = true;
- this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click);
//
// btnCopy
//
@@ -341,7 +330,6 @@
this.btnCopy.Size = new System.Drawing.Size(26, 23);
this.btnCopy.TabIndex = 1;
this.btnCopy.UseVisualStyleBackColor = true;
- this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
//
// btnCut
//
@@ -352,7 +340,6 @@
this.btnCut.Size = new System.Drawing.Size(26, 23);
this.btnCut.TabIndex = 1;
this.btnCut.UseVisualStyleBackColor = true;
- this.btnCut.Click += new System.EventHandler(this.btnCut_Click);
//
// btnNew
//
@@ -507,7 +494,7 @@
//
// WinClassicWordPad
//
- this.BackColor = System.Drawing.SystemColors.Control;
+ this.BackColor = System.Drawing.Color.Silver;
this.Controls.Add(this.statusBar);
this.Controls.Add(this.mainText);
this.Controls.Add(this.pnlFormatBar);
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs
index 4d2fbf1..e7647dc 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs
@@ -42,6 +42,20 @@ namespace TimeHACK.OS.Win95.Win95Apps
comboFont.Items.Add(font.Name);
}
+
+ this.clearToolStripMenuItem.Click += (sender, args) => mainText.Text = mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length);
+ this.pasteToolStripMenuItem.Click += (sender, args) => mainText.Paste();
+ this.btnPaste.Click += (sender, args) => mainText.Paste();
+ this.btnCopy.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Copy(); };
+ this.copyToolStripMenuItem.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Copy(); };
+ this.cutToolStripMenuItem.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Cut(); };
+ this.btnCut.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Cut(); };
+ this.undoToolStripMenuItem.Click += (sender, args) => mainText.Undo();
+ this.selectAllToolStripMenuItem.Click += (sender, args) => mainText.SelectAll();
+ this.dateTimeToolStripMenuItem.Click += (sender, args) => mainText.AppendText(DateTime.Now.ToString("HH:mm tt dd/MM/yyyy"));
+ this.toolbarToolStripMenuItem.Click += (sender, args) => pnlToolbar.Visible = toolbarToolStripMenuItem.Checked;
+ this.formatBarToolStripMenuItem.Click += (sender, args) => pnlFormatBar.Visible = formatBarToolStripMenuItem.Checked;
+ this.statusBarToolStripMenuItem.Click += (sender, args) => statusBar.Visible = statusBarToolStripMenuItem.Checked;
}
#region Format_Buttons
@@ -96,24 +110,6 @@ namespace TimeHACK.OS.Win95.Win95Apps
#endregion
#region Designer-Stuff
- private void dateTimeToolStripMenuItem_Click(object sender, EventArgs e)
- {
- InsertDateTime();
- }
- private void toolbarToolStripMenuItem_Click(object sender, EventArgs e)
- {
- pnlToolbar.Visible = toolbarToolStripMenuItem.Checked;
- }
-
- private void formatBarToolStripMenuItem_Click(object sender, EventArgs e)
- {
- pnlFormatBar.Visible = formatBarToolStripMenuItem.Checked;
- }
-
- private void statusBarToolStripMenuItem_Click(object sender, EventArgs e)
- {
- statusBar.Visible = statusBarToolStripMenuItem.Checked;
- }
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
{
@@ -140,81 +136,6 @@ namespace TimeHACK.OS.Win95.Win95Apps
wm.StartInfobox95("Wordpad", "An error occured opening send option.", null);
}
- void Cut()
- {
- if (mainText.SelectedText.Length >= 0) {
- mainText.Cut();
- }
- }
-
- void Copy()
- {
- if (mainText.SelectedText.Length >= 0)
- {
- mainText.Copy();
- }
- }
-
- void Paste()
- {
- mainText.Paste();
- }
-
- void Clear()
- {
- mainText.Text = mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length);
- }
-
- void SelectAll()
- {
- mainText.SelectAll();
- }
-
- private void undoToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Undo();
- }
-
- private void cutToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Cut();
- }
-
- private void copyToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Copy();
- }
-
- private void pasteToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Paste();
- }
-
- private void selectAllToolStripMenuItem_Click(object sender, EventArgs e)
- {
- SelectAll();
- }
-
- private void clearToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Clear();
- }
-
- private void btnCut_Click(object sender, EventArgs e)
- {
- Cut();
- }
-
- private void btnCopy_Click(object sender, EventArgs e)
- {
- Copy();
- }
-
- private void btnPaste_Click(object sender, EventArgs e)
- {
- Paste();
- }
-
private void bulletStyleToolStripMenuItem_Click(object sender, EventArgs e)
{
mainText.SelectionBullet = bulletStyleToolStripMenuItem.Checked;
@@ -265,17 +186,6 @@ namespace TimeHACK.OS.Win95.Win95Apps
mainText.Text = "";
}
- void Undo()
- {
- mainText.Undo();
- }
-
- void InsertDateTime()
- {
- string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy");
- mainText.AppendText(DateTime);
- }
-
// Things for Cut/Copy/Paste have been placed in the "Designer-Stuff" region!
void SetSelectedTextFont(String font)
@@ -300,18 +210,9 @@ namespace TimeHACK.OS.Win95.Win95Apps
FontStyle Bold = FontStyle.Regular;
FontStyle Italic = FontStyle.Regular;
FontStyle Underline = FontStyle.Regular;
- if (doBold == true)
- {
- Bold = FontStyle.Bold;
- }
- if (doItalic == true)
- {
- Italic = FontStyle.Italic;
- }
- if (doUnderline == true)
- {
- Underline = FontStyle.Underline;
- }
+ if (doBold == true) Bold = FontStyle.Bold;
+ if (doItalic == true) Italic = FontStyle.Italic;
+ if (doUnderline == true)Underline = FontStyle.Underline;
mainText.SelectionFont = new Font(mainText.SelectionFont.FontFamily, mainText.SelectionFont.Size, Bold | Italic | Underline);
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx
index 6dff4e6..1af7de1 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.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="topmenu.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