Skip to content

Instantly share code, notes, and snippets.

Created May 14, 2013 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5574109 to your computer and use it in GitHub Desktop.
Save anonymous/5574109 to your computer and use it in GitHub Desktop.
public bool MessageBoxToDemandQueryDeletion(ICQLQuery query) {
string unused;
Debug.Assert(CanDeleteQuery(query, out unused));
return MessageBox.Show(
“Are you sure that you want to delete the query: {” + query.QueryString + “} ?”,
“NDepend”,
MessageBoxButtons.YesNo) == DialogResult.Yes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment