Exemplo n.º 1
0
        /// <summary>
        /// Initialize the listview
        /// </summary>
        public ListViewNF()
        {
            staticColumns      = new HashSet <int>();
            lvSortObj          = new LVsorter();
            ListViewItemSorter = lvSortObj;

            //Activate double buffering
            SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);

            // Enable the OnNotifyMessage event so we get a chance to filter out
            // Windows messages before they get to the form's WndProc
            SetStyle(ControlStyles.EnableNotifyMessage, true);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initialize the listview
        /// </summary>
        public ListViewNF()
        {
            staticColumns = new HashSet<int>();
            lvSortObj = new LVsorter();
            ListViewItemSorter = lvSortObj;

            //Activate double buffering
            SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);

            // Enable the OnNotifyMessage event so we get a chance to filter out
            // Windows messages before they get to the form's WndProc
            SetStyle(ControlStyles.EnableNotifyMessage, true);
        }