Deleted MessageBoxes

This commit is contained in:
Sigmanor 2016-01-22 21:43:53 +02:00
parent 9db8581411
commit e90a2df878

View file

@ -509,13 +509,6 @@ private async void deleteFileToolStripMenuItem_Click_1(object sender, EventArgs
} }
} }
} }
if (filename == "Unnamed.cnp")
{
using (new CenterWinDialog(this))
{
MessageBox.Show("No open files", "Crypto Notepad", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
} }
private void openFileLocationToolStripMenuItem_Click(object sender, EventArgs e) private void openFileLocationToolStripMenuItem_Click(object sender, EventArgs e)
@ -524,13 +517,6 @@ private void openFileLocationToolStripMenuItem_Click(object sender, EventArgs e)
{ {
Process.Start("explorer.exe", @"/select, " + filename); Process.Start("explorer.exe", @"/select, " + filename);
} }
if (filename == "Unnamed.cnp")
{
using (new CenterWinDialog(this))
{
MessageBox.Show("No open files", "Crypto Notepad", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
} }
private void переносПоСловамToolStripMenuItem_Click(object sender, EventArgs e) private void переносПоСловамToolStripMenuItem_Click(object sender, EventArgs e)