C# Class KBS2.Handlers.ItemHandler.ItemHandler

Exibir arquivo Open project: Railec/SE1cKBS2 Class Usage Examples

Public Methods

Method Description
AddItem ( System.Item i ) : void
DeleteItem ( System.Item item ) : void
GetAllItems ( ) : IList
GetInstance ( ) : ItemHandler
GetItemBy ( ItemMatchDelegate match ) : System.Item
GetItemsBy ( ItemMatchDelegate match ) : List
GetPicture ( ItemType item ) : Bitmap
LoadItems ( ) : void
createItem ( System.Item item ) : void

Private Methods

Method Description
EventItemChanged ( object sender, EventArgs e ) : void
EventItemCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
ItemHandler ( ) : System

Method Details

AddItem() public method

public AddItem ( System.Item i ) : void
i System.Item
return void

DeleteItem() public method

public DeleteItem ( System.Item item ) : void
item System.Item
return void

GetAllItems() public method

public GetAllItems ( ) : IList
return IList

GetInstance() public static method

public static GetInstance ( ) : ItemHandler
return ItemHandler

GetItemBy() public method

public GetItemBy ( ItemMatchDelegate match ) : System.Item
match ItemMatchDelegate
return System.Item

GetItemsBy() public method

public GetItemsBy ( ItemMatchDelegate match ) : List
match ItemMatchDelegate
return List

GetPicture() public method

public GetPicture ( ItemType item ) : Bitmap
item KBS2.Models.ItemType
return System.Drawing.Bitmap

LoadItems() public method

public LoadItems ( ) : void
return void

createItem() public method

public createItem ( System.Item item ) : void
item System.Item
return void