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 @@ private void InitializeComponent() // // 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 @@ private void InitializeComponent() // // 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 @@ private void InitializeComponent() 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 @@ private void button1_Click(object sender, EventArgs e) } } - 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 @@ 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; - } } } 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