Example #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());
 }
Example #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());
 }
Example #3
0
 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);
         }
     }
 }