C# Class AnimeDownloader.MainForm

显示文件 Open project: maxpiva/AnimeOfflineDownloader

Public Properties

Property Type Description
IsUpdateRefreshing bool
IsUpdated bool
imglst_objlist System.Windows.Forms.ImageList

Public Methods

Method Description
AddDownloadEpisode ( Episode ep ) : void
AddDownloadEpisode ( Episode ep, Quality quality, ADBaseLibrary format, bool logerror = true ) : void
InitDownloadManager ( ) : void
InitShowLists ( ) : void
InitUpdateList ( ) : void
IsInDownloadList ( string id, Quality q ) : bool
LoadDownloadItems ( ) : void
LoadSettings ( ) : void
MainForm ( ) : System
RefreshInfo ( ) : void
RefreshStatus ( string showid, string pluginname ) : void
RefreshUpdates ( ) : System.Threading.Tasks.Task
SaveSettings ( ) : void
SetBusy ( ObjectListView lv, bool busy ) : void
VerifySettings ( bool firsttime = false ) : Task
WrapGuiAction ( System.Action a ) : System.Threading.Tasks.Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DeleteFollow ( Show s ) : void
DownloadEpisodeWithRequest ( Episode ep ) : void
FollowRequester ( Show s, Episodes eps ) : void
Form1_Load ( object sender, EventArgs e ) : void
GenerateOverlay ( ) : BrightIdeasSoftware.TextOverlay
InitPlugins ( ) : System.Threading.Tasks.Task
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Log ( LogType tp, string str ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
PopulateSeries ( ) : System.Threading.Tasks.Task
RemoveFlagged ( DownloadStatus status ) : void
SecondTimer ( object obj ) : void
butChange_Click ( object sender, EventArgs e ) : void
butCheckSettings_Click ( object sender, EventArgs e ) : void
butDownload_Click ( object sender, EventArgs e ) : void
butRefresh_Click ( object sender, EventArgs e ) : void
butRemoveAll_Click ( object sender, EventArgs e ) : void
butRemoveCanceled_Click ( object sender, EventArgs e ) : void
butRemoveDownloaded_Click ( object sender, EventArgs e ) : void
butRemoveSelected_Click ( object sender, EventArgs e ) : void
butUpdateRefresh_Click ( object sender, EventArgs e ) : void
numMinutes_ValueChanged ( object sender, EventArgs e ) : void
objDownloads_SelectedIndexChanged ( object sender, EventArgs e ) : void
objEpisode_CellClick ( object sender, BrightIdeasSoftware.CellClickEventArgs e ) : void
objEpisode_CellRightClick ( object sender, BrightIdeasSoftware.CellRightClickEventArgs e ) : void
objEpisode_DoubleClick ( object sender, EventArgs e ) : void
objEpisode_SelectedIndexChanged ( object sender, EventArgs e ) : void
objLog_FormatCell ( object sender, BrightIdeasSoftware.FormatCellEventArgs e ) : void
objShows_CellClick ( object sender, BrightIdeasSoftware.CellClickEventArgs e ) : void
objShows_SelectedIndexChanged ( object sender, EventArgs e ) : void
objUpdates_CellClick ( object sender, BrightIdeasSoftware.CellClickEventArgs e ) : void
objUpdates_SelectedIndexChanged ( object sender, EventArgs e ) : void
tabs_Selecting ( object sender, System.Windows.Forms.TabControlCancelEventArgs e ) : void
txtSearch_TextChanged ( object sender, EventArgs e ) : void

Method Details

AddDownloadEpisode() public method

public AddDownloadEpisode ( Episode ep ) : void
ep ADBaseLibrary.Episode
return void

AddDownloadEpisode() public method

public AddDownloadEpisode ( Episode ep, Quality quality, ADBaseLibrary format, bool logerror = true ) : void
ep ADBaseLibrary.Episode
quality Quality
format ADBaseLibrary
logerror bool
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

InitDownloadManager() public method

public InitDownloadManager ( ) : void
return void

InitShowLists() public method

public InitShowLists ( ) : void
return void

InitUpdateList() public method

public InitUpdateList ( ) : void
return void

IsInDownloadList() public method

public IsInDownloadList ( string id, Quality q ) : bool
id string
q Quality
return bool

LoadDownloadItems() public method

public LoadDownloadItems ( ) : void
return void

LoadSettings() public method

public LoadSettings ( ) : void
return void

MainForm() public method

public MainForm ( ) : System
return System

RefreshInfo() public method

public RefreshInfo ( ) : void
return void

RefreshStatus() public method

public RefreshStatus ( string showid, string pluginname ) : void
showid string
pluginname string
return void

RefreshUpdates() public method

public RefreshUpdates ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SaveSettings() public method

public SaveSettings ( ) : void
return void

SetBusy() public method

public SetBusy ( ObjectListView lv, bool busy ) : void
lv BrightIdeasSoftware.ObjectListView
busy bool
return void

VerifySettings() public method

public VerifySettings ( bool firsttime = false ) : Task
firsttime bool
return Task

WrapGuiAction() public method

public WrapGuiAction ( System.Action a ) : System.Threading.Tasks.Task
a System.Action
return System.Threading.Tasks.Task

Property Details

IsUpdateRefreshing public_oe property

public bool IsUpdateRefreshing
return bool

IsUpdated public_oe property

public bool IsUpdated
return bool

imglst_objlist public_oe property

public System.Windows.Forms.ImageList imglst_objlist
return System.Windows.Forms.ImageList