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