コード例 #1
0
        public DocumentHandler()
        {
            _documents = new HashSet <Document>(new DocumentComparer());
            _dbi       = new DBInterface();

            GetStoredDocuments();
        }
コード例 #2
0
        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();
        }