Пример #1
0
        private void EditEntry([NotNull] PossibleNewTvShow fme)
        {
            FolderMonitorEdit ed = new FolderMonitorEdit(fme);

            if (ed.ShowDialog(this) != DialogResult.OK || ed.Code == -1)
            {
                return;
            }

            fme.TVDBCode = ed.Code;
        }
Пример #2
0
        private void EditEntry(FolderMonitorEntry fme)
        {
            FolderMonitorEdit ed = new FolderMonitorEdit(fme);

            if ((ed.ShowDialog() != DialogResult.OK) || (ed.Code == -1))
            {
                return;
            }

            fme.TVDBCode = ed.Code;
        }
Пример #3
0
        private static void EditEntry([NotNull] FoundFolder fme)
        {
            FolderMonitorEdit ed = new FolderMonitorEdit(fme);

            if (ed.ShowDialog() != DialogResult.OK || ed.Code == -1)
            {
                return;
            }

            fme.TVDBCode = ed.Code;
        }
Пример #4
0
        private void AskUserAboutShow([NotNull] FoundFolder folder)
        {
            if (folder.CodeKnown)
            {
                return;
            }

            BulkAddManager.GuessShowItem(folder, MDoc.Library, true);

            if (folder.CodeKnown)
            {
                return;
            }

            FolderMonitorEdit ed = new FolderMonitorEdit(folder);

            if (ed.ShowDialog() != DialogResult.OK || ed.Code == -1)
            {
                return;
            }

            folder.TVDBCode = ed.Code;
        }
Пример #5
0
        private void EditEntry(FolderMonitorEntry fme)
        {
            FolderMonitorEdit ed = new FolderMonitorEdit(fme);
            if ((ed.ShowDialog() != DialogResult.OK )|| (ed.Code == -1))
                return;

            fme.TVDBCode = ed.Code;
        }
Пример #6
0
        private void EditEntry(FolderMonitorEntry fme)
        {
            FolderMonitorEdit ed = new FolderMonitorEdit(this.mDoc.GetTVDB(false, ""), fme);
            if ((ed.ShowDialog() != DialogResult.OK )|| (ed.Code == -1))
                return;

            fme.TVDBCode = ed.Code;
        }