MarketFactory C# API 3.0
DemoForm Class Reference

Whisperer/CSharpAPI GUI. More...

Inheritance diagram for DemoForm:

Classes

class  DefaultMFHandler
 Stripped down handler, fires event for every subscription/market update. More...
 

Public Member Functions

 DemoForm ()
 Default constructor. More...
 
IList< IFeedMarketViewGetFeedMarketViews ()
 Return a collection of controls. More...
 
void Initialize (ConnectionDialog dialog)
 Hook into GUI and start MFClient thread. More...
 
void PropagateFeed (int fmViewIdx, string feedName)
 Display a range of markets for the given feed. More...
 
void PropagateMarket (int fmViewIdx, string marketName)
 Display the given market on every feed for which it is supported. More...
 

Static Public Member Functions

static void Main (string[] args)
 Application entry point. More...
 

Static Public Attributes

static int MaxCols = 4
 
static int MaxRows = 3
 
static int RetryTimeout_ms = 5000
 
static string Title = "WhispererDemo"
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 
void InitializeTable (int numItems)
 Clear table and add specified number of items (FeedMarketBorderView). More...
 

Protected Attributes

MFClient _client
 
DefaultMFHandler _handler
 

Properties

override CreateParams CreateParams [get]
 Mysterious method to resolve flickering on resize. More...
 

Detailed Description

Whisperer/CSharpAPI GUI.

Constructor & Destructor Documentation

◆ DemoForm()

DemoForm ( )

Default constructor.

Member Function Documentation

◆ Main()

static void Main ( string []  args)
static

Application entry point.

Runs the GUI.

◆ Initialize()

void Initialize ( ConnectionDialog  dialog)

Hook into GUI and start MFClient thread.

◆ GetFeedMarketViews()

IList<IFeedMarketView> GetFeedMarketViews ( )

Return a collection of controls.

◆ PropagateFeed()

void PropagateFeed ( int  fmViewIdx,
string  feedName 
)

Display a range of markets for the given feed.

◆ PropagateMarket()

void PropagateMarket ( int  fmViewIdx,
string  marketName 
)

Display the given market on every feed for which it is supported.

◆ InitializeTable()

void InitializeTable ( int  numItems)
protected

Clear table and add specified number of items (FeedMarketBorderView).

◆ Dispose()

override void Dispose ( bool  disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Member Data Documentation

◆ RetryTimeout_ms

int RetryTimeout_ms = 5000
static

◆ MaxCols

int MaxCols = 4
static

◆ MaxRows

int MaxRows = 3
static

◆ Title

string Title = "WhispererDemo"
static

◆ _client

MFClient _client
protected

◆ _handler

DefaultMFHandler _handler
protected

Property Documentation

◆ CreateParams

override CreateParams CreateParams
getprotected

Mysterious method to resolve flickering on resize.

Confidential. Copyright © 2011 MarketFactory, Inc.