Smrf.NodeXL.ExcelTemplate.ImportFromGraphMLFilesDialog.CheckForInvalidGraphMLFileNames C# (CSharp) Method

CheckForInvalidGraphMLFileNames() protected method

protected CheckForInvalidGraphMLFileNames ( ) : void
return void
    CheckForInvalidGraphMLFileNames()
    {
        AssertValid();

        ICollection<String> oInvalidGraphMLFileNames = 
            m_oGraphMLFilesImporter.InvalidGraphMLFileNames;

        Int32 iInvalidGraphMLFileNames = oInvalidGraphMLFileNames.Count;

        if (iInvalidGraphMLFileNames > 0)
        {
            if (MessageBox.Show(

                    iInvalidGraphMLFileNames.ToString() + " of the files did"
                        + " not contain valid GraphML.  Do you want to copy"
                        + " the names of the invalid files to the Clipboard?",
            
                    ApplicationUtil.ApplicationName,
                    MessageBoxButtons.YesNo,
                    MessageBoxIcon.Warning
                    )
                == DialogResult.Yes)
            {
                Clipboard.SetText( String.Join("\r\n",
                    oInvalidGraphMLFileNames.ToArray() ) );
            }
        }
    }