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); } } }
public SUIWindow FindChildWindow(SUIWindow childAfter, string className, string winText) { return(SUIWindow.FindSMARTUIWindow(this, childAfter, className, winText)); }
public SUIWindow FindChildWindowByText(string winText) { return(SUIWindow.FindSMARTUIWindow(this, null, winText)); }