private void MainForm_Load(object sender, EventArgs e) { _System = new NoteSystem(RootFolder, this.tabMain, StartRefreshTimer, lvwFileList_DoubleClick); this.Text = _System.RootFolder; _System.RequestRefresh(); _System.RefreshIfNeeded(); _System.StartWatching(); }
public static NoteFolder GetValue(string instructions, NoteSystem noteSystem) { using (FolderNameForm frm = new FolderNameForm()) { frm._NoteSystem = noteSystem; frm.lblInstructions.Text = instructions; DialogResult result = frm.ShowDialog(); if (result == DialogResult.OK) { return(((FolderListItem)frm.lstFolders.SelectedItem).Folder); } return(null); } }
public NoteFile(NoteSystem system, NoteFolder folder) { System = system; Folder = folder; DataFields = new Dictionary <string, string>(); }
public NoteFolder(NoteSystem system) { System = system; }