aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-23 13:38:40 -0400
committerlempamo <[email protected]>2017-08-23 13:38:40 -0400
commit3306d36ecbc024775972e5cf7971b2a7a70671d0 (patch)
tree0a79e67b6723a8c75ffd66c7828bdd0ebb1bf74d /TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs
parent99fef5c57360f07259fc86f433bed8a9ab59c48e (diff)
downloadhistacom2-3306d36ecbc024775972e5cf7971b2a7a70671d0.tar.gz
histacom2-3306d36ecbc024775972e5cf7971b2a7a70671d0.tar.bz2
histacom2-3306d36ecbc024775972e5cf7971b2a7a70671d0.zip
Renaming the game!
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs110
1 files changed, 0 insertions, 110 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs
deleted file mode 100644
index 1a9f2e1..0000000
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using TimeHACK.Engine;
-
-namespace TimeHACK.OS.Win95.Win95Apps
-{
- public partial class WinClassicFTPClient : UserControl
- {
- public WinClassicFTPClient()
- {
- InitializeComponent();
- }
-
-
- private void button1_Click(object sender, EventArgs e)
- {
- if (hostnameBox.Text == "172.68.119.42")
- {
- infoLabel.Hide();
- if (usernameBox.Text == "12padams")
- {
- infoLabel.Hide();
- if (passBox.Text == "projectDeath98")
- {
- infoLabel.Hide();
- infoLabel.ForeColor = Color.Green;
- infoLabel.Text = "[200] OK";
- welcomeLabel.Hide();
- infoLabel.Show();
- ftpFiles.Show();
- }
- else
- {
- infoLabel.Text = "[430] Incorrect Password";
- infoLabel.Show();
- }
- }
- else
- {
- infoLabel.Text = "[430] Incorrect Username";
- infoLabel.Show();
- }
- }
- else
- {
- infoLabel.Text = "[404] Not Found";
- infoLabel.Show();
- }
- }
-
- private void ftpItems_Click(object sender, EventArgs e)
- {
- Point objDrawingPoint = ftpFiles.PointToClient(Cursor.Position);
- ListViewItem objListViewItem = new ListViewItem();
- if (objDrawingPoint != null)
- {
- objListViewItem = ftpFiles.GetItemAt(objDrawingPoint.X, objDrawingPoint.Y);
- if (objListViewItem.Text == "/software/")
- {
- ftpFiles.Clear();
- ListViewItem listViewItem1 = new ListViewItem(new string[] { "/downloads/" }, 0, Color.Black, Color.Empty, null);
- ListViewItem listViewItem2 = new ListViewItem(new string[] { "skindows.html" }, 1, Color.Black, Color.Empty, null);
- ftpFiles.Items.AddRange(new ListViewItem[] { listViewItem1, listViewItem2 });
- }
- else if (objListViewItem.Text == "/downloads/")
- {
- ftpFiles.Clear();
- ListViewItem listViewItem1 = new ListViewItem(new string[] { "/totallynotthetimedistorter/" }, 0, Color.Black, Color.Empty, null);
- ListViewItem listViewItem2 = new ListViewItem(new string[] { "FTP Client Setup.exe" }, 2, Color.Black, Color.Empty, null);
- ListViewItem listViewItem3 = new ListViewItem(new string[] { "Web Chat Setup.exe" }, 2, Color.Black, Color.Empty, null);
- ftpFiles.Items.AddRange(new ListViewItem[] { listViewItem1, listViewItem2, listViewItem3 });
- }
- else if (objListViewItem.Text == "/totallynotthetimedistorter/")
- {
- ftpFiles.Clear();
- ListViewItem listViewItem1 = new ListViewItem(new string[] { "Time Distorter Setup.exe" }, 2, Color.Black, Color.Empty, null);
- ftpFiles.Items.AddRange(new ListViewItem[] { listViewItem1 });
- }
- else if (objListViewItem.Text == "FTP Client Setup.exe")
- {
- WinClassicDownloader opendownload = new WinClassicDownloader();
- WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
- opendownload.appName.Text = "Downloading: FTP Client";
- }
- else if (objListViewItem.Text == "Web Chat Setup.exe")
- {
- WinClassicDownloader opendownload = new WinClassicDownloader();
- WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
- opendownload.appName.Text = "Downloading: Web Chat 1998";
- }
- else if (objListViewItem.Text == "Time Distorter Setup.exe")
- {
- WinClassicDownloader opendownload = new WinClassicDownloader();
- WindowManager wm = new WindowManager();
- wm.StartWin95(opendownload, "Downloader", null, false, true);
- opendownload.appName.Text = "Downloading: Time Distorter 0.1";
- }
- }
- }
- }
-}