示例#1
0
        private void fillListBoxEvents()
        {
            listBoxEvents.DisplayMember = "Name";

            foreach (Event userEvent in LogicServices.GetEvents())
            {
                listBoxEvents.Invoke(new Action(() => listBoxEvents.Items.Add(userEvent)));
                userEvent.ReFetch(DynamicWrapper.eLoadOptions.Full);
            }
        }