public MyTreeView(MyGuiControlTreeView control, Vector2 position, Vector2 size) { m_control = control; m_position = position; m_size = size; m_body = new MyTreeViewBody(this, position, size); m_vScrollbar = new MyVScrollbar(control); m_hScrollbar = new MyHScrollbar(control); m_scrollbarSize = new Vector2(MyGuiConstants.TREEVIEW_VSCROLLBAR_SIZE.X, MyGuiConstants.TREEVIEW_HSCROLLBAR_SIZE.Y); m_vScrollbar.TopBorder = m_vScrollbar.RightBorder = false; m_hScrollbar.LeftBorder = m_hScrollbar.BottomBorder = false; }