Esempio n. 1
0
 private void Fill()
 {
     CurrenciesLogic currencies = new CurrenciesLogic(manager);
     DataGV.AutoGenerateColumns = false;
     DataGV.DataSource = currencies.GetAll();
     DataGV.Update();
 }
Esempio n. 2
0
        private void Fill()
        {
            CurrenciesLogic currencies = new CurrenciesLogic(manager);

            DataGV.AutoGenerateColumns = false;
            DataGV.DataSource          = currencies.GetAll();
            DataGV.Update();
        }
Esempio n. 3
0
        private void FillCurrencies()
        {
            CurrenciesLogic currencies = new CurrenciesLogic(manager);

            CurrencyLUE.Properties.DataSource    = currencies.GetAll();
            CurrencyLUE.Properties.ValueMember   = "ID";
            CurrencyLUE.Properties.DisplayMember = "Name";
            CurrencyLUE.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", 0, "Назва валюти"));
            CurrencyLUE.EditValue = currencies.GetDefault().ID;
        }
Esempio n. 4
0
 /// <summary>
 /// Заповнення валют
 /// </summary>
 private void FillCurrencies()
 {
     CurrenciesLogic currencies = new CurrenciesLogic(manager);
     CurrencyLUE.Properties.DataSource = currencies.GetAll();
     CurrencyLUE.Properties.ValueMember = "ID";
     CurrencyLUE.Properties.DisplayMember = "Name";
     CurrencyLUE.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", 0, "Назва валюти"));
     CurrencyLUE.EditValue = currencies.GetDefault().ID;
 }