aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtsshieh <[email protected]>2017-10-28 20:46:42 -0400
committerjtsshieh <[email protected]>2017-10-28 20:46:42 -0400
commit410c6afab4044f3a9d34e1b4e94e7b9999073a31 (patch)
tree96816ab7195cdeed634783e95018a0bd2dd653e8
parent9b1e869f9cddba3ae868071094a41306c38038f9 (diff)
downloadhistacom2-410c6afab4044f3a9d34e1b4e94e7b9999073a31.tar.gz
histacom2-410c6afab4044f3a9d34e1b4e94e7b9999073a31.tar.bz2
histacom2-410c6afab4044f3a9d34e1b4e94e7b9999073a31.zip
FTP CLient now requires you to double click on the items
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs13
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs33
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx2
3 files changed, 29 insertions, 19 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
index 63e056b..c112e61 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
@@ -78,8 +78,12 @@
//
// btnLogin
//
+ this.btnLogin.AdaptBackColorWithTheme = true;
+ this.btnLogin.AdaptFontWithTheme = true;
+ this.btnLogin.AdaptForeColorWithTheme = true;
this.btnLogin.BackColor = System.Drawing.Color.Silver;
- this.btnLogin.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnLogin.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.btnLogin.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.btnLogin.ForeColor = System.Drawing.Color.Black;
this.btnLogin.Location = new System.Drawing.Point(585, 4);
this.btnLogin.Name = "btnLogin";
@@ -184,7 +188,12 @@
//
// btnCancel
//
+ this.btnCancel.AdaptBackColorWithTheme = true;
+ this.btnCancel.AdaptFontWithTheme = true;
+ this.btnCancel.AdaptForeColorWithTheme = true;
this.btnCancel.BackColor = System.Drawing.Color.Silver;
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.btnCancel.ForeColor = System.Drawing.Color.Black;
this.btnCancel.Location = new System.Drawing.Point(3, 2);
this.btnCancel.Name = "btnCancel";
@@ -227,7 +236,7 @@
this.ftpFiles.UseCompatibleStateImageBehavior = false;
this.ftpFiles.View = System.Windows.Forms.View.List;
this.ftpFiles.Visible = false;
- this.ftpFiles.Click += new System.EventHandler(this.ftpItems_Click);
+ this.ftpFiles.DoubleClick += new System.EventHandler(this.ftpFiles_DoubleClick);
//
// fileIcons
//
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
index 1a0836b..bc28c3a 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
@@ -56,7 +56,23 @@ namespace Histacom2.OS.Win95.Win95Apps
}
}
- private void ftpItems_Click(object sender, EventArgs e)
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ ParentForm.Close();
+ }
+
+ private void WinClassicFTPClient_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ private void topBar_Paint(object sender, PaintEventArgs e)
+ {
+ topBar.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
+ }
+
+ private void ftpFiles_DoubleClick(object sender, EventArgs e)
{
Point objDrawingPoint = ftpFiles.PointToClient(Cursor.Position);
ListViewItem objListViewItem = new ListViewItem();
@@ -117,20 +133,5 @@ namespace Histacom2.OS.Win95.Win95Apps
}
}
}
-
- private void btnCancel_Click(object sender, EventArgs e)
- {
- ParentForm.Close();
- }
-
- private void WinClassicFTPClient_Load(object sender, EventArgs e)
- {
-
- }
-
- private void topBar_Paint(object sender, PaintEventArgs e)
- {
- topBar.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
- }
}
}
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx
index 9dd3ac3..e03fcd1 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx
@@ -128,7 +128,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABe
- EgAAAk1TRnQBSQFMAgEBAwEAATABAAEwAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ EgAAAk1TRnQBSQFMAgEBAwEAAUABAAFAAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA