Beispiel #1
0
 private void ListRangeChanged(object sender, RangeChangdEventArgs e)
 {
     switch (e.Type)
     {
     case RangeChangeType.Add:
         AddItems(e.StartIndex, e.Ammount);
         break;
     }
 }
Beispiel #2
0
        private void ListRangeChanged(object sender, RangeChangdEventArgs e)
        {
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
            switch (e.Type)
            {
            case RangeChangeType.Add:
                AddItems(e.StartIndex, e.Ammount);
                break;
            }
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
        }