From 4a5a6d38a4cfd35e384f30410c7b94e911a1b0c1 Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 10 Jul 2017 23:02:08 -0400 Subject: fix up notepad + wordpad --- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs index f1920ed..db49c53 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs @@ -20,7 +20,7 @@ namespace TimeHACK.OS.Win95.Win95Apps InitializeComponent(); foreach (ToolStripMenuItem item in menuStrip1.Items) { - item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); + item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular); item.BackColor = Color.Silver; item.BackgroundImage = Properties.Resources.sliversilver; item.BackgroundImageLayout = ImageLayout.Center; @@ -91,8 +91,7 @@ namespace TimeHACK.OS.Win95.Win95Apps try { ActivateSaveFileDialog(".txt"); - String selectedPath; - selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); + string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); MessageBox.Show(selectedPath); if (selectedPath != "") @@ -110,8 +109,7 @@ namespace TimeHACK.OS.Win95.Win95Apps try { ActivateSaveFileDialog(".txt"); - String selectedPath; - selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); + string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); MessageBox.Show(selectedPath); if (selectedPath != "") -- cgit v1.2.3