internal static bool AskQuestion(IEnumerable<Editors.RepositoryHandle> dependentResourceIds)
 {
     var diag = new ConfirmDeleteResourcesDialog(dependentResourceIds);
     if (diag.ShowDialog() == DialogResult.OK)
     {
         return true;
     }
     return false;
 }
Esempio n. 2
0
        internal static bool AskQuestion(IEnumerable <Editors.RepositoryHandle> dependentResourceIds)
        {
            var diag = new ConfirmDeleteResourcesDialog(dependentResourceIds);

            if (diag.ShowDialog() == DialogResult.OK)
            {
                return(true);
            }
            return(false);
        }