C# Class SmartQuant.Controls.Portfolios.Composition

Inheritance: System.Windows.Forms.UserControl
Exibir arquivo Open project: fastquant/fastquant.dll Class Usage Examples

Public Methods

Method Description
AddPosition ( SmartQuant.Position position ) : void
Composition ( ) : SmartQuant
OnInit ( string name, Portfolio portfolioControl ) : void
RemovePosition ( SmartQuant.Position position ) : void
UpdateGUI ( ) : void
UpdatePosition ( SmartQuant.Position position ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Collapse ( TransactionViewItem tvi ) : void
Expand ( TransactionViewItem tvi ) : void
InitializeComponent ( ) : void
ltvPositions_SelectedIndexChanged ( object sender, EventArgs e ) : void
ltvTransactions_KeyDown ( object sender, KeyEventArgs e ) : void
ltvTransactions_MouseClick ( object sender, MouseEventArgs e ) : void
ltvTransactions_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
ltvTransactions_RetrieveVirtualItem ( object sender, System.Windows.Forms.RetrieveVirtualItemEventArgs e ) : void
ltvTransactions_SelectedIndexChanged ( object sender, EventArgs e ) : void

Method Details

AddPosition() public method

public AddPosition ( SmartQuant.Position position ) : void
position SmartQuant.Position
return void

Composition() public method

public Composition ( ) : SmartQuant
return SmartQuant

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnInit() public method

public OnInit ( string name, Portfolio portfolioControl ) : void
name string
portfolioControl Portfolio
return void

RemovePosition() public method

public RemovePosition ( SmartQuant.Position position ) : void
position SmartQuant.Position
return void

UpdateGUI() public method

public UpdateGUI ( ) : void
return void

UpdatePosition() public method

public UpdatePosition ( SmartQuant.Position position ) : void
position SmartQuant.Position
return void