﻿using Microsoft.VisualStudio.Shell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.Windows.Threading;
using Vistaghost.VISTAGHOST.DataModel;
using Vistaghost.VISTAGHOST.Lib;


namespace Vistaghost.VISTAGHOST.ToolWindows
{
    [Guid(GuidList.guidVISTAGHOSTVFindWindow)]
    class VFindWindowPane : ToolWindowPane, ISearchWnd
    {
        private VFindWindowControl sWnd;
        public static VFindWindowPane Current;
        public VFindWindowPane()
            : base(null)
        {
            this.Caption = Properties.Resources.VFindWindowTitle;

            sWnd = new VFindWindowControl();

            base.Content = sWnd;
            Current = this;
        }

        public void Search(string txt, BaseSourceType baseSource, SearchType searchType)
        {

        }

        public void SetRelativePathEnable(bool enable)
        {

        }

        public void InitializeSearch()
        {
            sWnd.InitializeData();
        }
    }
}
