public HwndObject GetChild(string cls, string title) { return(new HwndObject(HwndInterface.GetHwndChild(this.Hwnd, cls, title))); }
/// <summary> /// Retrieves a child Hwnd Object by its class and title. /// </summary> /// <param name="cls"></param> /// <param name="title"></param> /// <returns></returns> public HwndObject GetChild(string cls, string title) { var hwnd = HwndInterface.GetHwndChild(NativePtr, cls, title); return(new HwndObject(hwnd)); }
/// <summary> /// Retrieves a child Hwnd Object by its class and title. /// </summary> /// <param name="cls"></param> /// <param name="title"></param> /// <returns></returns> public HwndObject GetChild(string cls, string title) { var hwnd = HwndInterface.GetHwndChild(Hwnd, cls, title); return(GetInstance(hwnd)); }