Exemplo n.º 1
0
        public void FillCbAccountsOut()
        {
            cbAccountOut.DataSource = null;
            ListAccount             = GenericQuerys.getAllAccounts();

            cbAccountOut.DataSource    = ListAccount;
            cbAccountOut.ValueMember   = "Id";
            cbAccountOut.DisplayMember = "Name";
        }
Exemplo n.º 2
0
        //Carga de Combos
        private void setCbAccounts()
        {
            cbAccountIn.DataSource = null;
            ListAccount            = GenericQuerys.getAllAccounts();

            cbAccountIn.DataSource    = ListAccount;
            cbAccountIn.ValueMember   = "Id";
            cbAccountIn.DisplayMember = "Name";
        }