Esempio n. 1
0
        private void Currency_BT_Click(object sender, EventArgs e)
        {
            SelectInputForm form = new SelectInputForm(Currency.Load());

            if (DialogResult.OK == form.ShowDialog())
            {
                Currency item = form.Selected as Currency;
                _entity.SetCurrency(item.ISOCode);
            }
        }
Esempio n. 2
0
        private void Country_BT_Click(object sender, EventArgs e)
        {
            SelectInputForm form = new SelectInputForm(Country.Load());

            if (DialogResult.OK == form.ShowDialog())
            {
                Country item = form.Selected as Country;
                _entity.CountryIso2 = item.Iso2;
            }
        }
        private void SetDestinationCurrency()
        {
            SelectInputForm form = new SelectInputForm(Currency.Load());

            if (DialogResult.OK == form.ShowDialog())
            {
                Currency item = form.Selected as Currency;

                CurrencyExchange entity = Datos.Current as CurrencyExchange;
                entity.ToCurrencyIso = item.ISOCode;
            }
        }