示例#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;
        }
        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;
        }