Пример #1
0
        private void AddNewOffering()
        {
            SpareInOutgoSelectView v = new SpareInOutgoSelectView();
            v._SpareOutgoID = this._id;
            v.ParentWindow = this;
            v.CurrentCurrencyCode = edtCurrency.SelectedItem.ToString();
            v.ShowDialog();

            /*
            SpareInMovementEditView v = new SpareInMovementEditView();
            v._md = MovementDirection.Out;
            v._spareId = -1;
            v._offeringNumber = dgSpares.Items.Count + 1;
            v._spareIncomeId = this._id;
            v.ShowDialog();
            LoadOfferings();*/
        }
Пример #2
0
        private void AddNewOffering()
        {
            SpareInOutgoSelectView v = new SpareInOutgoSelectView();

            v._SpareOutgoID       = this._id;
            v.ParentWindow        = this;
            v.CurrentCurrencyCode = edtCurrency.SelectedItem.ToString();
            v.ShowDialog();

            /*
             * SpareInMovementEditView v = new SpareInMovementEditView();
             * v._md = MovementDirection.Out;
             * v._spareId = -1;
             * v._offeringNumber = dgSpares.Items.Count + 1;
             * v._spareIncomeId = this._id;
             * v.ShowDialog();
             * LoadOfferings();*/
        }