Exemplo n.º 1
0
        void ButtonOK1_Click(object sender, RoutedEventArgs e)
        {
            if (DtGrid.SelectedItems.Count > 0)
            {
                ObservableCollection <string> ids = new ObservableCollection <string>();

                foreach (V_CUSTOMGUERDON tmp in DtGrid.SelectedItems)
                {
                    ids.Add(tmp.CUSTOMGUERDONID);
                }
                client.CustomGuerdonDeleteAsync(ids);
                LoadData(SAVEID);
            }
        }