C# Class WikiFunctions.Controls.Lists.ListComparer

Afficher le fichier Open project: reedy/AutoWikiBrowser Class Usage Examples

Méthodes publiques

Méthode Description
CompareLists ( IList
list1, List
list2, ListBox lb1, ListBox lb2, ListBox lb3 ) : void

Compares the lists of articles in the 2 provided Lists Best to provide an already sorted list. List 1 should be the smallest list

ListComparer ( ListMaker lmMain ) : System

ListComparer ( ListMaker lmMain, List
list ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AddListToListMaker ( ListMaker lm, IEnumerable
lb ) : void
Clear ( ) : void
CompareLists ( ) : void

Compares the lists of articles in the 2 ListMakers

CompareListsNew ( IList
list1, List
list2, ListBox lb1, ListBox lb2, ListBox lb3 ) : void
InitializeComponent ( ) : void

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

MenuItemOwner ( object sender ) : ListBoxArticle
SaveList ( ListBoxArticle lb ) : void
UpdateButtons ( object sender, EventArgs e ) : void
UpdateCounts ( ) : void
btnClear_Click ( object sender, EventArgs e ) : void
btnGo_Click ( object sender, EventArgs e ) : void
btnMoveCommon_Click ( object sender, EventArgs e ) : void
btnMoveOnly1_Click ( object sender, EventArgs e ) : void
btnMoveOnly2_Click ( object sender, EventArgs e ) : void
btnSaveOnly1_Click ( object sender, EventArgs e ) : void
btnSaveOnly2_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
lb_MouseMove ( object sender, MouseEventArgs e ) : void
mnuList_Opening ( object sender, EventArgs e ) : void
openInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
removeSelectedToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
transferDuplicatesToList1ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
transferToListMaker2ToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

CompareLists() public static méthode

Compares the lists of articles in the 2 provided Lists Best to provide an already sorted list. List 1 should be the smallest list
public static CompareLists ( IList
list1, List
list2, ListBox lb1, ListBox lb2, ListBox lb3 ) : void
list1 IList
First List (preferably the smallest)
list2 List
Second List
lb1 ListBox List Box where unique items from list1 should go
lb2 ListBox List Box where unique items from list2 should go
lb3 ListBox List Box where the duplicates should go
Résultat void

Dispose() protected méthode

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

ListComparer() public méthode

public ListComparer ( ListMaker lmMain ) : System
lmMain ListMaker
Résultat System

ListComparer() public méthode

public ListComparer ( ListMaker lmMain, List
list ) : System
lmMain ListMaker
list List
Résultat System