aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-05-24 21:46:33 +0100
committerGitHub <[email protected]>2017-05-24 21:46:33 +0100
commit5648792fa6d1e0c51a2720aab091524d2a6ebf8d (patch)
treea2053e6184289ec00133dc075c3a32fdd4f0fe01 /TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs
parent5bd41f103e823773318e647a1bf66daae970c7d2 (diff)
parentac576c05905b55a5059dab672c1882f01fc074d0 (diff)
downloadhistacom2-5648792fa6d1e0c51a2720aab091524d2a6ebf8d.tar.gz
histacom2-5648792fa6d1e0c51a2720aab091524d2a6ebf8d.tar.bz2
histacom2-5648792fa6d1e0c51a2720aab091524d2a6ebf8d.zip
Merge pull request #76 from Alex-TIMEHACK/master
NOT FINISHED File Explorer!
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)
+ {
+
+ }
}
}