Esempio n. 1
0
        private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            BondItems b  = DataGrid.SelectedItem as BondItems;
            Bond      b1 = new Bond(b, _user);

            this.Hide();
            b1.Show();
        }
Esempio n. 2
0
 public Bond(BondItems B, String User) : this(User)
 {
     this._b                    = B;
     Name.Text                  = B.Name;
     InterestRate.Text          = B.InterestRate.ToString();
     Ccy.Text                   = B.Ccy;
     Principal.Text             = B.Principal.ToString();
     StartPick.Text             = B.StartDate.ToString();
     EndPick.Text               = B.EndDate.ToString();
     DayCountingConvention.Text = B.DayCountingConvention.ToString();
     Version.Text               = B.Version.ToString();
     LoadList();
 }