/// <summary> /// Create a new note, and if selected, upload it. /// </summary> /// <param name="NoteElement">The element about which the note is being written</param> public static void CreateNote(MM_Element NoteElement) { using (MM_Note_Writer NewNote = new MM_Note_Writer(NoteElement)) if (NewNote.ShowDialog() == DialogResult.OK) { MM_Note OutNote = NewNote.CreatedNote; if (MM_Server_Interface.Client != null) { OutNote.ID = MM_Server_Interface.Client.UploadNote(OutNote); } Data_Integration.HandleNoteEntry(OutNote); } }