|
|
@@ -215,6 +215,8 @@ namespace OTSPartA_STDEditor
|
|
|
}
|
|
|
private void ToolStripMenuItem_Del_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
+ DialogResult ret = MessageBox.Show("Have you confirmed the deletion?", "Tip", MessageBoxButtons.YesNo);
|
|
|
+ if (ret != DialogResult.Yes) return;
|
|
|
if (treeView_G.SelectedNode == null)
|
|
|
{
|
|
|
MessageBox.Show("Please select a node!", "Tip");
|