Example #1
0
        protected void AddAction(object sender, AddActionEventArgs e)
        {
            TreeNode node = new TreeNode();

            node.Tag = e.ia_action;
            node.Text = e.ia_action.NAME + " - " + e.ia_action.PARAM;
            node.Checked = true;

            ui_tvActions.BeginUpdate();
            ui_tvActions.Nodes[0].Nodes.Add(node);
            ui_tvActions.Nodes[0].ExpandAll();
            ui_tvActions.EndUpdate();
        }
Example #2
0
 protected void AddActionTree(object sender, AddActionEventArgs e)
 {
     RaiseAddActionEvent(e.ia_action);
 }