Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="cmn">Common settings</param>
 public RowConnector(TreeCommon cmn)
 {
     _treeCommon = cmn;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="txt">The three lines of text that should be drawn</param>
        /// <param name="parent">Flag if node has a parent</param>
        /// <param name="child">Flag if node has a child</param>
        /// <param name="data">User data that can be retrieved later</param>
        /// <param name="cmn">Common settings</param>
        public TreeNode(String[] txt, bool parent, bool child, object data, TreeCommon cmn)
        {
            for (int i = 0; i < 3; i++)
            {
                _text[i] = txt[i];
            }

            _userData = data;
            _hasParent = parent;
            _hasChild = child;
            _treeCommon = cmn;

            GetSize();
        }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="cmn">Common settings</param>
 public TreeRow(TreeCommon cmn)
 {
     _treeCommon = cmn;
 }