public override bool IsTrue(IntPtr hwnd) { string str = WinAPI.GetWindowText(hwnd); return(str.Contains(_name)); }