Esempio n. 1
0
 public AdminPanel(SearchForm ParentForm, string UserName)
 {
     _searchForm = ParentForm;
     InitializeComponent();
     rm  = new RetrievalManager();
     _da = new DBAccessor();
     Greating_lbl.Text       = string.Format("Hello, {0}", UserName);
     SearchRes_Table.Padding = new Padding(0, 0, SystemInformation.VerticalScrollBarWidth + 10, 0);
 }
Esempio n. 2
0
        public ShowDocument(string docId)
        {
            _docId = docId;
            InitializeComponent();
            rm  = new RetrievalManager();
            _da = new DBAccessor();

            getDocument();
        }
Esempio n. 3
0
        public SearchForm()
        {
            InitializeComponent();
            setComponents();
            _IRManager = new RetrievalManager();
            _mode      = Mode.User;

            //this 2 method is for DEBUG
            // _IRManager.UpdatePostingFileToDictionary();
            //_IRManager.ParseQuery(" love NOT Eye AND (ODED or LIGAL");
        }
        public Form1()
        {
            InitializeComponent();
            _db       = new DBAccesser();
            IRManager = new RetrievalManager();

            string[] docs = IRManager.GetSourceDoc();
            IRManager.TransferInvertedDocs(docs);
            //string[] str = util.Tokenize(@"C:\Users\ligal\source\repos\IR project\IR project\SourceFiles\a love lesson.html");
            // util.ParseFiles(@"C:\Users\ligal\source\repos\IR project\IR project\SourceFiles\a love lesson.txt");
        }