/// <summary> /// Gets the table for this timeline. /// </summary> /// <returns> /// The table for this timeline. /// </returns> /// <param name='TimelineTableGuid'> /// We pass in the GUID to allow other tables to be found (i.e., if you have made a list of tables to associate with this timeline) /// </param> public NoteDataXML_Table GetTableForThisTimeline(string TimelineTableGuid) { NoteDataXML_Table FoundTable = (NoteDataXML_Table)Layout.FindNoteByGuid(TimelineTableGuid); // April 1 2013 - this may make things TOO SLOW // but only way to guarantee al ive connection when the TIMELINE is not in the same panel as the TABLES FoundTable = (NoteDataXML_Table)Layout.GoToNote(FoundTable); if (null == FoundTable && false == errorthrown) { // just throw message once. NewMessage.Show(Loc.Instance.GetString("The table for this Timeline was not found. Probably the guid of it needs to be set to its caption.")); errorthrown = true; //throw new Exception("The table for this Timeline was not found"); } return(FoundTable); }