i want to use the listview flicker"less" control found here Link
directly in my c# Project.
i dont want to make a custom user control project, build it to dll and then import it in my project. i just want this all in my c# Programm i am making.
i think i have to add in my project a class, and add the code, but how can i use the control now directly in my project?
In Visual Studio, right-click on your project and then click
ADD | USER CONTROL. Name the new controlListViewNFand clickADD.View the code for the new class. Change this line:
to this:
and Rebuild. You’ll get a compiler error about
AutoScaleMode– just delete the line inInitializeComponentthat’s causing the error:So far, your code will look like this:
Change it to this:
Rebuild your project, and you should now see the
ListViewNFin your Toolbox of controls on the left (right at the top). You can drag this control onto a form in the designer, just like a regularListView.