Beispiel #1
0
        private void Fill()
        {
            CurrenciesLogic currencies = new CurrenciesLogic(manager);

            if (mode == "edit")
            {
                Currency currency = currencies.Get(Convert.ToInt32(id));
                if (currency != null)
                {
                   NameTB.Text = currency.Name;
                }
            }
        }
Beispiel #2
0
        private void Fill()
        {
            CurrenciesLogic currencies = new CurrenciesLogic(manager);

            if (mode == "edit")
            {
                Currency currency = currencies.Get(Convert.ToInt32(id));
                if (currency != null)
                {
                    NameTB.Text = currency.Name;
                }
            }
        }