Beispiel #1
0
 private void OpenLists(IList <ListSearchResult> chosen)
 {
     foreach (var open in UniqueLists(chosen))
     {
         ListBuilder.Open(open.SetID).ScrollToResult(open);
     }
 }
Beispiel #2
0
        private void AddToExistingList(long listID)
        {
            var form = ListBuilder.Open(listID);

            if (form != null)
            {
                AddEntries(form);
            }
        }
Beispiel #3
0
        static void OpenRecentFile(object sender, EventArgs e)
        {
            var info = (((ToolStripMenuItem)sender).Tag as ListInfo);

            if (info != null && info.ID.HasValue)
            {
                ListBuilder.Open(info.ID.Value);
            }
        }
Beispiel #4
0
 private void ImportCompleted(WordList result)
 {
     Debug.Assert(!InvokeRequired, "ImportCompleted called on a secondary thread");
     importedWordList = result;
     CurrentUI        = null;
     if (importedWordList.ID.HasValue)
     {
         ListBuilder.Open(importedWordList.ID.Value);
     }
     Close();
 }