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

            DataGV.AutoGenerateColumns = false;
            DataGV.DataSource          = currencies.GetAll();
            DataGV.Update();
        }
Ejemplo 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;
        }
Ejemplo 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;
 }