private void menuDeleteSingle_Click(object sender, RoutedEventArgs e) { if (dialogueEntryID != 0) { parentWindow.DeleteSingleNode(this.dialogueEntryID); } }