Inheritance: System.EventArgs
Esempio n. 1
0
 /// <summary>
 /// Inserts or updates a recently added file and
 /// its related entries with up to date data.
 /// </summary>
 public void InsertFileInfo(FileInfoFetchedArgs e)
 {
     UpdateAnime(e.Anime);
     UpdateEpisode(e.Episode);
     UpdateFile(e.File);
     InsertGroup(e.File.Group);
 }
Esempio n. 2
0
        private void OnFileInfoFetched(FileInfoFetchedArgs e)
        {
            if (!m_myList.isSQLConnOpen)
            {
                Dispatcher.Invoke(new Action(m_myList.Create));
                Dispatcher.BeginInvoke(new Action(SetMylistVisibility));
            }

            m_myList.InsertFileInfo(e);
            Dispatcher.BeginInvoke(new Action(delegate
            {
                if (MylistTreeListView != null)
                {
                    MylistTreeListView.Refresh();
                }
            }));
        }
Esempio n. 3
0
        private void OnFileInfoFetched(FileInfoFetchedArgs e)
        {
            if (!m_myList.isSQLConnOpen)
            {
                Dispatcher.Invoke(new Action(m_myList.Create));
                Dispatcher.BeginInvoke(new Action(SetMylistVisibility));
            }

            m_myList.InsertFileInfo(e);
            Dispatcher.BeginInvoke(new Action(delegate
            {
                if (MylistTreeListView != null)
                    MylistTreeListView.Refresh();
            }));
        }