private void AskUserAboutShow([NotNull] PossibleNewTvShow folder, IDialogParent owner) { if (folder.CodeKnown) { return; } BulkAddSeriesManager.GuessShowItem(folder, MDoc.TvLibrary, true); if (folder.CodeKnown) { return; } FolderMonitorEdit ed = new FolderMonitorEdit(folder); owner.ShowChildDialog(ed); DialogResult x = ed.DialogResult; int code = ed.Code; ed.Dispose(); if (x != DialogResult.OK || code == -1) { return; } folder.TVDBCode = code; }
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; }
private void EditEntry(FolderMonitorEntry fme) { FolderMonitorEdit ed = new FolderMonitorEdit(fme); if ((ed.ShowDialog() != DialogResult.OK) || (ed.Code == -1)) { return; } fme.TVDBCode = ed.Code; }
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; }
private void EditEntry(FolderMonitorEntry fme) { FolderMonitorEdit ed = new FolderMonitorEdit(fme); if ((ed.ShowDialog() != DialogResult.OK )|| (ed.Code == -1)) return; fme.TVDBCode = ed.Code; }
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; }