public OnTreeNodeSelected ( object sender, |
||
sender | object | |
arguments | ||
return | void |
public void OnTreeNodeSelected (object sender, TreeViewEventArgs arguments)
{
ChoiceBase control;
if (arguments.Node.Tag is ChoiceGroup)
{
control = ((ChoiceGroup)arguments.Node.Tag).CommandChoice;
if (control == null)
return;//nothing to do then.
}
else
control = (ChoiceBase)arguments.Node.Tag;
control.OnClick(null, null);
}