示例#1
0
 /// <summary>
 /// this method will raise the OnItemSelected() event to let any
 /// listener know that this item has been selected by the user in a
 /// list,thumbnail, filmstrip, or coverflow control
 /// </summary>
 /// <param name="parent"></param>
 public void ItemSelected(GUIControl parent)
 {
     if (OnItemSelected != null)
     {
         AsyncCallback callback = new AsyncCallback(itemSelectedCallback);
         OnItemSelected.BeginInvoke(this, parent, callback, this);
     }
 }