CSharpTutor.Controls.ContactListControl.SetListBox C# (CSharp) Method

SetListBox() private method

refresh the contact lists list data source
private SetListBox ( ) : void
return void
        private void SetListBox()
        {
            LstLists.DataSource = null;
            LstLists.DataSource = _contactList;
            LstLists.DisplayMember = "Name";
            LstLists.ValueMember = "Id";
        }