Exemple #1
0
 public FXVanillaOptionRowView()
 {
     AddProperty("Settlement Date", SettlementDate = new DateEditorControl());
     AddProperty("Domestic", Domestic = new MoneyControl());
     AddProperty("Foreign", Foreign   = new MoneyControl());
     AddProperty("Strike", Strike     = new DecimalEditorControl());
 }
Exemple #2
0
 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);
         }
     }
 }