private void Highlight_Click(object sender, RoutedEventArgs e)
        {
            HighlightImage.Source = Extensions.GetImageSourceFromResource(".x.png");
            string SelectorString = Selector;
            var    selector       = new WindowsSelector(SelectorString);
            var    elements       = WindowsSelector.GetElementsWithuiSelector(selector, null, 10);

            if (elements.Count() > 0)
            {
                HighlightImage.Source = Extensions.GetImageSourceFromResource("check.png");
            }
            foreach (var ele in elements)
            {
                ele.Highlight(false, System.Drawing.Color.Red, TimeSpan.FromSeconds(1));
            }
        }
        private void Open_Selector_Click(object sender, RoutedEventArgs e)
        {
            string SelectorString = Selector;

            Interfaces.Selector.SelectorWindow selectors;
            if (!string.IsNullOrEmpty(SelectorString))
            {
                var selector = new WindowsSelector(SelectorString);
                selectors = new Interfaces.Selector.SelectorWindow("Windows", selector, null, 10);
            }
            else
            {
                var selector = new WindowsSelector("[{Selector: 'Windows'}]");
                selectors = new Interfaces.Selector.SelectorWindow("Windows", selector, null, 10);
            }
            if (selectors.ShowDialog() == true)
            {
                Selector = selectors.vm.json;
                NotifyPropertyChanged("EntityName");
                NotifyPropertyChanged("Selector");
            }
        }