private TreeNode AddStdControl(string text, string styleName, Control control, params TreeNode[] nodes)
        {
            var des = new StdUiStyleDesigner(this)
            {
                Style      = GetStyle(styleName),
                Control    = control,
                EnableFont = false,
            };

            des.ApplyStyleToControl();
            var node = new TreeNode
            {
                Text = text,
                Tag  = des,
            };

            node.Nodes.AddRange(nodes);
            return(node);
        }
 private TreeNode AddStdControl(string text, string styleName, Control control, params TreeNode[] nodes)
 {
     var des = new StdUiStyleDesigner(this)
     {
         Style = GetStyle(styleName),
         Control = control,
         EnableFont = false,
     };
     des.ApplyStyleToControl();
     var node = new TreeNode
     {
         Text = text,
         Tag = des,
     };
     node.Nodes.AddRange(nodes);
     return node;
 }