aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-06-02 15:09:05 +0100
committerGitHub <[email protected]>2017-06-02 15:09:05 +0100
commitb08c213ecf4e04b4989d1c42749238b8b7970501 (patch)
treee9fc63af4b098b2a58c92235d2ab20228687d9ef /TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
parent9b63adb04650924ffa50ef4004818cd759bbceb3 (diff)
parentcf7392f930598bbbdf50cbb3a4f2bf91a2b44022 (diff)
downloadhistacom2-b08c213ecf4e04b4989d1c42749238b8b7970501.tar.gz
histacom2-b08c213ecf4e04b4989d1c42749238b8b7970501.tar.bz2
histacom2-b08c213ecf4e04b4989d1c42749238b8b7970501.zip
Merge pull request #81 from Alex-TIMEHACK/master
Merged my File Explorer!
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
index a5472a3..e08e6ec 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
@@ -9,6 +9,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using TimeHACK.Engine;
using static TimeHACK.Engine.FileDialogBoxManager;
+using System.IO;
namespace TimeHACK.OS.Win95.Win95Apps
{
@@ -93,7 +94,8 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
-
+ ActivateSaveFileDialog(".txt");
+ File.WriteAllText(Program.OpenFileExplorerAsDialogAndReturnGivenPath(), mainText.Text);
}
}
}