aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-10-24 11:18:12 +0100
committerAlex-TIMEHACK <[email protected]>2017-10-24 11:18:12 +0100
commite5f29e7b53322e11578acd0deb3b1d454998bb77 (patch)
tree7cca33ae9ec7e8ea09fdd20a23a69a52d734d1c4 /Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
parent350e749bb9eab16efe753f9b8fd703b52a97f808 (diff)
downloadhistacom2-e5f29e7b53322e11578acd0deb3b1d454998bb77.tar.gz
histacom2-e5f29e7b53322e11578acd0deb3b1d454998bb77.tar.bz2
histacom2-e5f29e7b53322e11578acd0deb3b1d454998bb77.zip
All new ClassicTextBox
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs19
1 files changed, 14 insertions, 5 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
index fa1e0ce..9038a96 100644
--- a/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Win95WindowsExplorer.cs
@@ -36,6 +36,16 @@ namespace Histacom2.OS.Win95.Win95Apps
public Win95WindowsExplorer()
{
InitializeComponent();
+
+
+ // Fonts! yoy!
+
+ foreach (Control ctrl in this.Controls)
+ {
+ ctrl.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ }
+
+ //Histacom2.Engine.UI.CustomTextBox ctb = new Histacom2.Engine.UI.CustomTextBox(textBox1);
}
void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
@@ -100,14 +110,14 @@ namespace Histacom2.OS.Win95.Win95Apps
if (IsFileOpenDialog == true)
{
pnlSave.Show();
- Button1.Text = "Open";
+ btnSave.Text = "Open";
}
else
{
if (IsFileSaveDialog == true)
{
pnlSave.Show();
- Button1.Text = "Save";
+ btnSave.Text = "Save";
}
}
@@ -701,7 +711,7 @@ namespace Histacom2.OS.Win95.Win95Apps
RefreshTreeNode();
}
- private void Button1_Click(object sender, EventArgs e)
+ private void btnSave_Click(object sender, EventArgs e)
{
try
{
@@ -728,9 +738,8 @@ namespace Histacom2.OS.Win95.Win95Apps
((Form)this.TopLevelControl).Close();
}
}
- } catch {
-
}
+ catch { }
}
private void DeleteToolStripMenuItem_Click(object sender, EventArgs e)