Method | Description | |
---|---|---|
Main ( string sFile ) : System |
Initializes the project
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
AutoMetadata ( object obj ) : void |
Tries to auto-load metadata for newly added manga
|
|
Btn_Clear_Click ( object sender, EventArgs e ) : void |
Clear the search form and refresh the ListView
|
|
Btn_GoDn_Click ( object sender, EventArgs e ) : void |
Programmatically select items in LV_Entries
|
|
Btn_GoUp_Click ( object sender, EventArgs e ) : void | ||
Btn_Loc_Click ( object sender, EventArgs e ) : void |
Lets the user select where the manga is located
|
|
Btn_Rand_Click ( object sender, EventArgs e ) : void | ||
Btn_Scan_Click ( object sender, EventArgs e ) : void |
Load up the form for scanning for manga
|
|
CheckRelativity ( object obj ) : void |
Wrapper for checking for filepath validity
|
|
ClearSelection ( object sender, EventArgs e ) : void |
When clicking on Form whitespace, unselect anything in the ListView
|
|
Database_Display ( ) : void |
Sets DB contents into program once loaded
|
|
Delay_Tick ( object sender, EventArgs e ) : void | ||
DeleteLocation ( string sLoc ) : bool |
Handles deleting files or folders Helps ensure deletion is intentional
|
|
DragDropTxBx ( object sender, DragEventArgs e ) : void |
Parse dropped text into TxBx(s)
|
|
DragEnterTxBx ( object sender, DragEventArgs e ) : void |
Show proper cursor when text is dragged over TxBx
|
|
Dt_Date_DragDrop ( object sender, DragEventArgs e ) : void |
If it's valid, set the date
|
|
EntryAlt_DtNum ( object sender, EventArgs e ) : void | ||
EntryAlt_Text ( object sender, EventArgs e ) : void |
Only enable edit when changes have been made
|
|
FixLocation ( object obj ) : void |
Sets the manga location
|
|
GetImage ( Object obj ) : void |
Sets the cover preview image
|
|
HandleNewEntries ( bool bSetSearch = true ) : void |
Refreshes the ListView and refocuses the current item
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InsertCover ( MangaCover newCover ) : void |
Adds the cover image to the ListView and database
|
|
InvokeSetArtistTextRaw ( object obj ) : void | ||
InvokeSetLocation ( object obj ) : void | ||
InvokeSetTagTextRaw ( object obj ) : void | ||
InvokeSetTags ( object obj ) : void |
Fix for MemoryAccessViolation issue the RichTextBox control has.
|
|
InvokeSetTitle ( object obj ) : void | ||
InvokeSetTitleTextRaw ( object obj ) : void | ||
LV_Entries_ColumnWidthChanging ( object sender, ColumnWidthChangingEventArgs e ) : void |
Prevent user from changing column widths
|
|
LV_Entries_DoubleClick ( object sender, EventArgs e ) : void |
Opens the selected manga in the default image browser
|
|
LV_Entries_DragDrop ( object sender, DragEventArgs e ) : void |
Adds folder(s) to database when dragged over LV_Entries
|
|
LV_Entries_DragEnter ( object sender, DragEventArgs e ) : void |
Allow dropping of folders/zips onto LV_Entries (& TxBx_Loc)
|
|
LV_Entries_MouseHover ( object sender, EventArgs e ) : void |
Auto-focus on the ListView when hovered over
|
|
LV_Entries_Resize ( object sender, EventArgs e ) : void |
Proportionally-resizes columns on ListView resizes
|
|
LV_Entries_SelectedIndexChanged ( object sender, EventArgs e ) : void |
Updates tab two of the form with the selected manga
|
|
LoadEH ( string sURL ) : void |
Parse EH metadata into local fields
|
|
LvManga_onScroll ( object sender, ScrollEventArgs e ) : void | ||
Main_FormClosing ( object sender, FormClosingEventArgs e ) : void |
Run cleanup/save function before closing the program
|
|
Main_KeyDown ( object sender, KeyEventArgs e ) : void |
Switch between tabs with ctrl+# shortcuts
|
|
Main_Load ( object sender, EventArgs e ) : void |
Perform some runtime modifications to behavior
|
|
Main_Resize ( object sender, EventArgs e ) : void | ||
Main_ResizeEnd ( object sender, EventArgs e ) : void | ||
Main_Shown ( object sender, EventArgs e ) : void |
Start loading the DB asynchronously
|
|
MnTx_Copy_Click ( object sender, EventArgs e ) : void |
Run the copy action on the selected field
|
|
MnTx_Cut_Click ( object sender, EventArgs e ) : void |
Run the cut action on the selected field
|
|
MnTx_Delete_Click ( object sender, EventArgs e ) : void |
Run the delete action on the selected field
|
|
MnTx_Paste_Click ( object sender, EventArgs e ) : void |
Run the paste action on the selected field
|
|
MnTx_SelAll_Click ( object sender, EventArgs e ) : void |
Run the select all action on the selected field
|
|
MnTx_Undo_Click ( object sender, EventArgs e ) : void |
Run the undo action on the selected field
|
|
Mn_Settings_Click ( object sender, EventArgs e ) : void |
Allow users to alter their settings
|
|
Mn_TxBx_Opening ( object sender, System e ) : void |
Control the options available in the context menu
|
|
Nud_Pages_DragDrop ( object sender, DragEventArgs e ) : void |
If it's valid, set the page count
|
|
OpenFile ( ) : void |
Open image\zip with default program
|
|
OpenImageBrowser ( ) : void |
Open the internal image browser
|
|
OpenSourceLocation ( string sLoc ) : void |
Selects the passed in file/directory with Windows Explorer
|
|
PicBx_Cover_Click ( object sender, EventArgs e ) : void |
Opens the manga using the built-in image browser
|
|
PicBx_Cover_Resize ( object sender, EventArgs e ) : void |
Redraw cover image if form size has changed
|
|
PopulateIcons ( object obj ) : void |
Retrieves images for manga on the cover queue and passes to the listview
|
|
QueueNewCover ( int iMangaID ) : void |
Adds a new manga for cover loading
|
|
QueueNewManga ( int iMangaID ) : void |
Adds the selected manga record to the queue and unpauses the thread
|
|
QueueVisibleManga ( ) : void |
Adds all visible items in the listview for cover loading
|
|
ReFocus ( ) : void |
Select the current manga in the listview
|
|
RefreshAutocomplete ( ) : void |
Re-set the values in the auto-complete controls
|
|
Reset ( ) : void |
Change inputs and variables back to their default state
|
|
ResizeLV ( ) : void |
Provides weighted resizing to the listview
|
|
ScrollTo ( int iPos ) : void |
Scroll to the indicated position in the listview
|
|
SetData ( int iMangaID = -1 ) : void |
Sets the details of the indicated manga
|
|
SetNudCount ( int iNum ) : void |
Update the page display count
|
|
SetOpenStatus ( int iExists ) : void |
Sets whether the manga can be opened with an image editor
|
|
SetPicBxImage ( string sPath ) : void |
Sets the picturebox image
|
|
SetPicBxNull ( ) : void |
Clear the cover image
|
|
SetTitle ( string sRaw ) : void |
Parses the input string directly into the Artist and Title fields
|
|
SetZipSourceStatus ( ) : void |
Enables the 'zip source' option
|
|
TabControl_SelectedIndexChanged ( object sender, EventArgs e ) : void |
Change the title of the Form based on which tab we're on
|
|
TrimLength ( string sOrig ) : string |
Shortens a string for display in the listview
|
|
TxBx_Search_TextChanged ( object sender, EventArgs e ) : void |
Insert delay before Search() to account for Human input speed
|
|
UnhandledMainExceptions ( object sender, UnhandledExceptionEventArgs args ) : void |
Log errors in the Main UI thread that were not properly handled by the code
|
|
UnhandledThreadExceptions ( object sender, ThreadExceptionEventArgs args ) : void |
Log errors in non-UI threads that were not properly handled by the code
|
|
UpdateLV ( ) : void |
Refresh listview contents
|
|
UpdateTags ( string NewTags ) : void |
Inserts new tags and re-sorts them alphabetically
|
|
acTxBx_Loc_DragDrop ( object sender, DragEventArgs e ) : void |
Try to auto-get the artist/title and cover from the location
|
|
acTxBx_Loc_TextChanged ( object sender, EventArgs e ) : void |
Dynamically update PicBx when user manually alters path
|
|
btnEHSource_Click ( object sender, EventArgs e ) : void |
Refreshes the EH meta-data using the last URL
|
|
fmScanDone ( ) : void | ||
frTxBx_Desc_LinkClicked ( object sender, LinkClickedEventArgs e ) : void |
Open URL in default Browser
|
|
frTxBx_KeyDown ( object sender, KeyEventArgs e ) : void |
Small improvements to the textboxes to strip out text formatting and stop console beeps
|
|
frTxBx_Notes_LinkClicked ( object sender, LinkClickedEventArgs e ) : void |
Open URL in default Browser
|
|
frTxBx_Notes_TextChanged ( object sender, EventArgs e ) : void |
Prevent loss of changes in note text
|
|
lvManga_MouseClick ( object sender, MouseEventArgs e ) : void |
Display basic manga options when right-clicking on an item
|
|
mntsExportLog_Click ( object sender, EventArgs e ) : void |
Exports the contents of the log to XML
|
|
msAbout_Click ( object sender, EventArgs e ) : void |
Show the About form
|
|
msCleanArtists_Click ( object sender, EventArgs e ) : void |
Remove unused artists
|
|
msCleanTags_Click ( object sender, EventArgs e ) : void |
Remove unused tags
|
|
msClearCurrentCover_Click ( object sender, EventArgs e ) : void |
Deletes a manga's current thumbnail and queue's it for re-processing
|
|
msClear_Click ( object sender, EventArgs e ) : void |
Reset the second form tab to default
|
|
msCopyTitle_Click ( object sender, EventArgs e ) : void |
Format the manga title as [Artist] Title
|
|
msDBMaintenance_Click ( object sender, EventArgs e ) : void |
Performs DB cleanup tasks that don't fall into a user-friendly category
|
|
msDelete_Click ( object sender, EventArgs e ) : void |
Delete the selected manga
|
|
msEdit_Click ( object sender, EventArgs e ) : void |
Update the details of a current manga
|
|
msExportToXML_Click ( object sender, EventArgs e ) : void |
Exports the database, as XML, to a specific location
|
|
msLoadUrl_Click ( object sender, EventArgs e ) : void |
Uses EH API to get metadata from gallery URL
|
|
msNew_Click ( object sender, EventArgs e ) : void |
Insert a new manga into the DB
|
|
msOpenDataFolder_Click ( object sender, EventArgs e ) : void |
Open the database folder
|
|
msOpenSource_Click ( object sender, EventArgs e ) : void |
Open the source directory/file of the manga
|
|
msOpen_Click ( object sender, EventArgs e ) : void |
Open the manag with the default image viewer
|
|
msQuit_Click ( object sender, EventArgs e ) : void |
Close the program
|
|
msSearchEH_Click ( object sender, EventArgs e ) : void |
Manually search and scrape EH results
|
|
msStats_Click ( object sender, EventArgs e ) : void |
Show the tag statistics
|
|
msTutorial_Click ( object sender, EventArgs e ) : void |
Show the tutorial form
|
|
msVacuum_Click ( object sender, EventArgs e ) : void |
Runs the vacuum command on the database to reduce filesize if possible
|
|
msZipSource_Click ( object sender, EventArgs e ) : void |
Converts a folder into a new cbz file
|
|
msmissingSource_Click ( object sender, EventArgs e ) : void |
Displays all entries whose source file cannot be found
|
|
srRating_Click ( object sender, EventArgs e ) : void |
Update the rating of the selected manga
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public Main ( string sFile ) : System | ||
sFile | string | The path passed in if the user opens the DB with the shell |
return | System |