aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-08-26 19:26:14 -0500
committerFloppyDiskDrive <[email protected]>2017-08-26 19:26:14 -0500
commit1755a435f6d308bfbb3dd1f40f5825a1339b63cf (patch)
tree47aba028392de43e70e5aeca6680c5b8c94d41f4 /Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
parent965a9beb4b7ac52816136a8c701a26d3d80ae398 (diff)
downloadhistacom2-1755a435f6d308bfbb3dd1f40f5825a1339b63cf.tar.gz
histacom2-1755a435f6d308bfbb3dd1f40f5825a1339b63cf.tar.bz2
histacom2-1755a435f6d308bfbb3dd1f40f5825a1339b63cf.zip
Cleaned up the FTP Client
Made it a bit better in terms of UI and code (gave the buttons proper names), and added a tiny bit more functionality.
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
index 674bb23..1488808 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
@@ -116,5 +116,21 @@ namespace Histacom2.OS.Win95.Win95Apps
}
}
}
+
+ private void DoClassicButtons()
+ {
+ btnLogin.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
+ btnCancel.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
+ }
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ ParentForm.Close();
+ }
+
+ private void WinClassicFTPClient_Load(object sender, EventArgs e)
+ {
+ DoClassicButtons();
+ }
}
}