public DocumentHandler() { _documents = new HashSet <Document>(new DocumentComparer()); _dbi = new DBInterface(); GetStoredDocuments(); }
private void OnLoad(object sender, System.EventArgs e) { _dhi = new DBInterface(); _tags = _dhi.GetTags(); // Use these^ for autocomplete maybe? filePathLabel.Text = Document.FilePath; titleTextBox.Text = Document.Title; descriptionTextBox.Text = Document.Description; tagTextBox.Text = FillTagBox(); authorTextBox.Text = FillAuthorBox(); }