Exemplo n.º 1
0
        private void loadCurrencySettings()
        {
            CurrencyItemModel cim   = new CurrencyItemModel();
            dynamic           items = cim.all(cim);

            foreach (var item in items)
            {
                currencySettings.Rows.Add(item.value, item.name, 0);
            }
        }
Exemplo n.º 2
0
        // Currency item settings
        private void loadTillSettings()
        {
            tillSettingsdataGrid.Rows.Clear();
            CurrencyItemModel cim   = new CurrencyItemModel();
            dynamic           items = cim.all(cim);

            foreach (dynamic item in items)
            {
                tillSettingsdataGrid.Rows.Add(item.id, item.name, item.value);
            }
        }