aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs')
-rw-r--r--TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs11
1 files changed, 2 insertions, 9 deletions
diff --git a/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs b/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs
index 581b789..8e3726d 100644
--- a/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs
+++ b/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs
@@ -56,18 +56,12 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void cutToolStripMenuItem_Click(object sender, EventArgs e)
{
- if (mainText.SelectedText.Length >= 0)
- {
- mainText.Cut();
- }
+ if (mainText.SelectedText.Length >= 0) mainText.Cut();
}
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
{
- if (mainText.SelectedText.Length >= 0)
- {
- mainText.Copy();
- }
+ if (mainText.SelectedText.Length >= 0) mainText.Copy();
}
private void pasteToolStripMenuItem_Click(object sender, EventArgs e)
@@ -116,7 +110,6 @@ namespace TimeHACK.OS.Win95.Win95Apps
if (selectedPath != "")
{
SaveSystem.CreateWindowsFile(pathList.ToString(), selectedPath.Split('\\').Last(), mainText.Text, 12, mainText.Text.Length);
- //File.WriteAllText(selectedPath, mainText.Text);
}
} catch {
}