示例#1
0
        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
            {
            }
        }
示例#2
0
 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();
 }
示例#4
0
 /// <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();
 }