So I'm learning Windows Forms and I'm trying to display something as simple as project list (generated automatically from file structure) with a few buttons next to each project name, like "archive" and "delete". Clicking on a project name should close project list WinForm, and open project's WinForm where the actual work is done. It's a little bit similar to how PyCharm works, though not entirely.
Now I came up with a few solutions but none of them feels right.
First is obviously DataGrid. It looks awful, doesn't look designed for such purpose, and expected behavior of clicking on a cell is being able to edit it's contents, not being brought to entirely new window. While technically I did make it work the way I want, it just doesnt look or feel right leave alone professional. But maybe there's a way to style DataGrid so that it wouldn't look like DataGrid at all?
Next idea was ListBox or ListView. Again it does not look like it's designed for such purpose. I can list all the projects all right, but buttons next to them in a separate "column" is a problem.
Next idea, just use a TableLayoutPanel, two columns, each project's name in it's own TextBox in the first column, all the buttons in the second. First, I am not sure about performance, some users may have hundreds of projects. And overall it just looks too much of a hassle for something that simple, but maybe only because I'm new to WinForms. But if I won't find a better solution I will probably go with this one.
Another idea was to find a free library for that. ObjectListView seemed to be perfect for what I need, but GPL license is a dealbreaker (not my call).
And my final idea was to just ask people with more experience which is why I am here
Any suggestions?
Now I came up with a few solutions but none of them feels right.
First is obviously DataGrid. It looks awful, doesn't look designed for such purpose, and expected behavior of clicking on a cell is being able to edit it's contents, not being brought to entirely new window. While technically I did make it work the way I want, it just doesnt look or feel right leave alone professional. But maybe there's a way to style DataGrid so that it wouldn't look like DataGrid at all?
Next idea was ListBox or ListView. Again it does not look like it's designed for such purpose. I can list all the projects all right, but buttons next to them in a separate "column" is a problem.
Next idea, just use a TableLayoutPanel, two columns, each project's name in it's own TextBox in the first column, all the buttons in the second. First, I am not sure about performance, some users may have hundreds of projects. And overall it just looks too much of a hassle for something that simple, but maybe only because I'm new to WinForms. But if I won't find a better solution I will probably go with this one.
Another idea was to find a free library for that. ObjectListView seemed to be perfect for what I need, but GPL license is a dealbreaker (not my call).
And my final idea was to just ask people with more experience which is why I am here