protected override void OnAfterSelect(TreeViewEventArgs e) { base.OnAfterSelect(e); ItemSelectEventArgs arg = new ItemSelectEventArgs(); arg.ItemData = (DataRow)e.Node.Tag; if (arg.Type == NodeType.MAP_COLLECTION) { } else { } }
private void blvFiles_ItemSelected(object sender, ItemSelectEventArgs e) { btnOk.Enabled = blvFiles.SelectedIndex != -1; }
/// <summary> /// Update the inner components when an item type has been selected. /// </summary> /// <param name="o">The object to fire the event.</param> /// <param name="e">The evebt arguments.</param> protected void OnItemTypeSelect(object o, ItemSelectEventArgs e) { //Update the inner components. UpdateComponents(); }
/// <summary> /// Update the inner components when an item type has been selected. /// </summary> /// <param name="o">The object to fire the event.</param> /// <param name="e">The event arguments.</param> protected void OnItemTypeSelect(object o, ItemSelectEventArgs e) { UpdateComponents(); }