I am a student who is learning C#.
I'd like to use the ListView provided by Winform. There was no data in the book I bought, so I tried to apply the sauce from msdn.
I applied the font, too. If you look at the image above, I want to make an arrow (located above) come out in larger letters in white If you look at the bottom, there's time. I want to make it small in dark color.
So I wrote the source code as below.
http://colorscripter.com/s/SWJPGbT
The list view is set on the 42~57 line, and the font is also set. But the result doesn't come out like the image above.
It's my first time using a listview. I'm so mixed up. "T" If you know it well, please answer.
c#
I'm a little late, so maybe you've already solved the problem...
I saw the code.
First of all, you can set the homeworkList on the screen, and you don't have to touch the settings every time you look up the table, you just need to clear the row (or just do it once when the form is loaded for the first time, or at least take the color that you look up...)
You can change the font according to the condition in the foreach statement. (You can control color, thickness, and so on.)
© 2024 OneMinuteCode. All rights reserved.