示例#1
0
        private int get_items_count()
        {
            FetchItemsCountEventArgs e = new FetchItemsCountEventArgs();

            OnFetchItemsCount(e);
            return(e.ItemsCount);
        }
示例#2
0
 private void OnFetchItemsCount(FetchItemsCountEventArgs e)
 {
     if (FetchItemsCount != null)
     {
         FetchItemsCount(this, e);
     }
 }
示例#3
0
 void inner_ListControl_FetchItemsCount(object sender, FetchItemsCountEventArgs e)
 {
     if (internal_source == null)
     {
         e.ItemsCount = 0;
     }
     else
     {
         e.ItemsCount = internal_source.ItemCount;
     }
 }