aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-05-30 21:35:05 -0400
committerGitHub <[email protected]>2017-05-30 21:35:05 -0400
commit13cd6b245ca3104589333295ebc22bf9a659562d (patch)
tree263fc78c63ecf16a46fc760bfe73280cdc8fc0c7 /TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
parent79808fce9199840ad4627ee1aecb8f7430ab6b6c (diff)
parent9ee1762d7261de1e7c98862fc91abd52deb6f8b9 (diff)
downloadhistacom2-13cd6b245ca3104589333295ebc22bf9a659562d.tar.gz
histacom2-13cd6b245ca3104589333295ebc22bf9a659562d.tar.bz2
histacom2-13cd6b245ca3104589333295ebc22bf9a659562d.zip
Merge pull request #2 from TimeHACKDevs/master
Merge
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
index 24525ea..a5472a3 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
@@ -8,6 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TimeHACK.Engine;
+using static TimeHACK.Engine.FileDialogBoxManager;
namespace TimeHACK.OS.Win95.Win95Apps
{
@@ -83,5 +84,16 @@ namespace TimeHACK.OS.Win95.Win95Apps
string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy");
mainText.AppendText(DateTime);
}
+
+ private void openToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ ActivateOpenFileDialog(".txt");
+ mainText.Text = ReadTextFile(Program.OpenFileExplorerAsDialogAndReturnGivenPath());
+ }
+
+ private void saveToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+
+ }
}
}