Beispiel #1
0
        private async void AddNewDependentToList(object dependentsForm)
        {
            if (dependentsForm == null || dependentsForm.GetType() != typeof(DependentsForm) || ((DependentsForm)dependentsForm).RefreshGrid == false)
            {
                return;
            }
            Dependents = await ServiceCalls.GetDependentsByPolicyHolder(ThisPolicyHolder.Id);

            dependentBindingSource.DataSource = null;
            dependentBindingSource.DataSource = Dependents;
        }