private AutomationElement CaptureListView(AutomationElement openBatchWindow, ref Bitmap bmp)
        {
            var lstView = openBatchWindow.FindFirst(TreeScope.Descendants, new PropertyCondition(AutomationElement.NameProperty, ""));

            bmp = CaptureHelper.CaptureControl((IntPtr)lstView.Current.NativeWindowHandle);
            return(lstView);
        }