示例#1
0
 public SUIWindow FindChildWindow(string className, string winText)
 {
     try
     {
         return(SUIWindow.FindSMARTUIWindow(this, className, winText));
     }
     catch
     {
         if (className.StartsWith("BCGP"))
         {
             string optionname = className.Replace("BCGP", "BCG");
             return(SUIWindow.FindSMARTUIWindow(this, optionname, winText));
         }
         else
         {
             return(null);
         }
     }
 }
示例#2
0
 public SUIWindow FindChildWindow(SUIWindow childAfter, string className, string winText)
 {
     return(SUIWindow.FindSMARTUIWindow(this, childAfter, className, winText));
 }
示例#3
0
 public SUIWindow FindChildWindowByText(string winText)
 {
     return(SUIWindow.FindSMARTUIWindow(this, null, winText));
 }