private void btnAddTransition_Click(object sender, EventArgs e)
        {
            SMTransition transition = new SMTransition();

            transition.ParentContainer = _actTransFlowItem.ParentContainer;
            transition.StateMachine    = _actTransFlowItem.StateMachine;
            _actTransFlowItem.AddTransition(transition);
            AddTransitionGUI(transition);
        }
        private void btnNewTrans_Click(object sender, EventArgs e)
        {
            SMTransition transition = new SMTransition("");
            string       newName    = transition.ValidateName(_actTransFlow, "");

            transition.Name            = newName;
            transition.ParentContainer = _actTransFlow.ParentContainer;
            transition.StateMachine    = _actTransFlow.StateMachine;
            _actTransFlow.AddTransition(transition);
            treeComponents.Nodes.Clear();
            _actTransFlow.Rebuild();
            Rebuild();
        }