public SearchingControl()
 {
     InitializeComponent();
     DTE2 dte = ServiceProvider.GlobalProvider.GetService(typeof(SDTE)) as DTE2;
     _dataContext = new ViewModel.ShortcutViewModel(dte);
     this.DataContext = _dataContext;
 }
        public SearchingControl()
        {
            InitializeComponent();
            DTE2 dte = ServiceProvider.GlobalProvider.GetService(typeof(SDTE)) as DTE2;

            _dataContext     = new ViewModel.ShortcutViewModel(dte);
            this.DataContext = _dataContext;
        }