领测软件测试网
+f-z']3Ud({&l }Wsm9N$dI%N6@ /// </summary>
;GUB {[C`#\knb /// <returns>操作是否成功</returns>
3ZE1]7oWP private bool StartSearch()
软件测试技术第一门户Eg+D[`
a
FN+{k {
软件测试技术第一门户Dxz)Dv7_XD bolStartSearchFlag = true;
,L&_b{"w
fJT| bolIsEmpty = false;
软件测试技术第一门户$hdm;f4C-?*f*s objCurrentObject = null;
软件测试技术第一门户b9|J.Ib$c!U_d intLastErrorCode = 0;
dWZ[ n Ru
}$eeyI string strPath = System.IO.Path.Combine(strSearchPath, this.strSearchPattern);
%U(JQ_F this.CloseHandler();
软件测试技术第一门户Y$g$KXlz+ZFCd$E intSearchHandler = FindFirstFile(strPath, ref myData);
nX$E]5rp&S if (intSearchHandler == INVALID_HANDLE_VALUE)
kaQv @R} {
软件测试技术第一门户ZMX,z#S intLastErrorCode = System.Runtime.InteropServices.Marshal.GetLastWin32Error();
软件测试技术第一门户,Xq$o'C+d if (intLastErrorCode == 2)
CDf$_'q$@o4X {
GeUD"\F*St1o+{ bolIsEmpty = true;
+rnDz,Y return false;
!j.jIQu:jc