Exemplo n.º 1
0
        public TreeListView()
        {
            this.DoubleBuffered = true;
            this.BackColor = SystemColors.Window;
            this.TabStop = true;

            m_tooltip = new ToolTip();
            m_tooltip.InitialDelay = 0;
            m_tooltip.UseAnimation = false;
            m_tooltip.UseFading = false;

            m_tooltipNode = null;
            m_tooltipTimer = new Timer();
            m_tooltipTimer.Stop();
            m_tooltipTimer.Interval = 500;
            m_tooltipTimer.Tick += new EventHandler(tooltipTick);

            m_rowPainter = new RowPainter();
            m_cellPainter = new CellPainter(this);

            m_nodes = new TreeListViewNodes(this);
            m_rowSetting = new TreeList.RowSetting(this);
            m_viewSetting = new TreeList.ViewSetting(this);
            m_columns = new TreeListColumnCollection(this);
            AddScrollBars();
        }
Exemplo n.º 2
0
        public TreeListView()
        {
            this.DoubleBuffered = true;
            this.BackColor = SystemColors.Window;
            this.TabStop = true;

            m_rowPainter = new RowPainter();
            m_cellPainter = new CellPainter(this);

            m_nodes = new TreeListViewNodes(this);
            m_rowSetting = new TreeList.RowSetting(this);
            m_viewSetting = new TreeList.ViewSetting(this);
            m_columns = new TreeListColumnCollection(this);
            AddScrollBars();
        }