public FXVanillaOptionRowView() { AddProperty("Settlement Date", SettlementDate = new DateEditorControl()); AddProperty("Domestic", Domestic = new MoneyControl()); AddProperty("Foreign", Foreign = new MoneyControl()); AddProperty("Strike", Strike = new DecimalEditorControl()); }
public FXForwardRowView() { AddProperty("Settlement Date", SettlementDate = new DateEditorControl()); AddProperty("Domestic", Domestic = new MoneyControl()); AddProperty("Foreign", Foreign = new MoneyControl()); AddProperty("Forward Rate", ForwardRate = new DecimalEditorControl()); }
public void fillContainer(List <Money> list) { foreach (Money money in list) { MoneyControl temp = new MoneyControl(this, money); if (money.TypeCurrency == TypeCurrency.Bill) { billContainer.Controls.Add(temp); } else { coinContainer.Controls.Add(temp); } } }