private void AddNewOffering()
 {
     SpareInIncomeSelectView v = new SpareInIncomeSelectView();
     v._ParentWindow = this;
     v._SpareIncomeID = this._id;
     v._OfferingNumber = dgSpares.Items.Count;
     v.CurrenctCurrencyCode = edtCurrency.SelectedItem.ToString();
     v.ShowDialog();
     LoadOfferings();
 }
예제 #2
0
        private void AddNewOffering()
        {
            SpareInIncomeSelectView v = new SpareInIncomeSelectView();

            v._ParentWindow        = this;
            v._SpareIncomeID       = this._id;
            v._OfferingNumber      = dgSpares.Items.Count;
            v.CurrenctCurrencyCode = edtCurrency.SelectedItem.ToString();
            v.ShowDialog();
            LoadOfferings();
        }