C# Class SIL.FieldWorks.Common.Controls.FlatListView

Inheritance: System.Windows.Forms.UserControl, IFWDisposable
Exibir arquivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CheckDisposed ( ) : void

This method throws an ObjectDisposedException if IsDisposed returns true. This is the case where a method or property in an object is being used but the object itself is no longer valid. This method should be added to all public properties and methods of this object and all other objects derived from it (extensive).

FlatListView ( ) : System

Initializes a new instance of the FlatListView class.

GetCheckedItems ( ) : IEnumerable

Retrieve the final list of checked items.

Initialize ( SIL.FieldWorks.FDO.FdoCache cache, IVwStylesheet stylesheet, XCore.Mediator mediator, XmlNode xnConfig, IEnumerable objs ) : void

Create and initialize the browse view, storing the data it will display.

SetCheckedItems ( IEnumerable objs ) : void

Set the initial list of checked items.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

StoreData ( IEnumerable objs ) : void

Store the given hvos in the cache as a fake vector property belonging to the language project.

m_bvList_SelectionChanged ( object sender, SIL.FieldWorks.Common.FwUtils.FwObjectSelectionEventArgs e ) : void

Method Details

CheckDisposed() public method

This method throws an ObjectDisposedException if IsDisposed returns true. This is the case where a method or property in an object is being used but the object itself is no longer valid. This method should be added to all public properties and methods of this object and all other objects derived from it (extensive).
public CheckDisposed ( ) : void
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

FlatListView() public method

Initializes a new instance of the FlatListView class.
public FlatListView ( ) : System
return System

GetCheckedItems() public method

Retrieve the final list of checked items.
public GetCheckedItems ( ) : IEnumerable
return IEnumerable

Initialize() public method

Create and initialize the browse view, storing the data it will display.
public Initialize ( SIL.FieldWorks.FDO.FdoCache cache, IVwStylesheet stylesheet, XCore.Mediator mediator, XmlNode xnConfig, IEnumerable objs ) : void
cache SIL.FieldWorks.FDO.FdoCache The cache.
stylesheet IVwStylesheet The stylesheet.
mediator XCore.Mediator The mediator.
xnConfig System.Xml.XmlNode The config node.
objs IEnumerable The objs.
return void

SetCheckedItems() public method

Set the initial list of checked items.
public SetCheckedItems ( IEnumerable objs ) : void
objs IEnumerable The objs.
return void