///
/// 获取指定路径文件夹中子文件信息
///
/// 路径
public void getMyFiles ( string strPath )
{
string[] myFilesName = Directory.GetFiles ( strPath ); //获取指定路径文件夹中所有子文件名称
labResult.Text += "\n此文件夹中子文件的个数:" + myFilesName.Length;
foreach ( string strFileName in myFilesName )
{
labResult.Text += "\n" + strFileName;
}
}