Example #1
0
 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();
 }
Example #2
0
 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);
     }
 }
Example #3
0
 public NoteFile(NoteSystem system, NoteFolder folder)
 {
     System     = system;
     Folder     = folder;
     DataFields = new Dictionary <string, string>();
 }
Example #4
0
 public NoteFolder(NoteSystem system)
 {
     System = system;
 }