i got a question regarding C#
I’m about making a program to hold all my daily tasks, and i need to show them in some kind of panel/list, Ive tryed with the gridview and it worked fine, but i don’t want a “table” look, i rather want somekind of access database look, so it creates a new textbox/label maybe a panel with several informations – got any suggestions for this one? if it’s possible in a easy way.
If you want just use
WindowsForms, you can, for example, define aUserTaskControl:UserControlthat holds unique set of controls you need for single entry.Let’s say you need for single entry to have Title, StartDate, EndDate, Description, so you can create a control with 4
TextBoxesor 2 TextBoxes and 2Calendarcontrols (matter of design choice).After define on main window TableLayoutPanel and at runtime add new instances of your
UserTaskControlin the moment you need a new entry in your task list.If you want to make things much better, consider of using
WPF, as there you can use alsoUI Virtualizationtechnique (just one example), which can make a difference in regard ofWindowsForms, if you have too much entries in your list (too much is application specific measure, obviously). But in this case you need to learn WPF and learn to use it in a good way, which is a right thing to do IMHO, but depends on how much time you have.Hope this helps.