im working on a .NET application that would allow me (and subsequent users) to input audio and picture assets and then organize them on a 2D grid. This was assigned to a 4 person group, of which 2 can program and one (myself) knows C#. None of us have experience making Windows applications and i don’t even know what kind of things to Google that will help me out. I was able to “design” a GUI for it (not too hard with Visual Studio) but i have no idea on how to make it import and display assets nor how to make a 2D grid and be able to assign locations there. Any advice/assistance would be greatly appreciated. Thanks!
Share
Open the tool box and Drag Drop a DataGridView onto your winform.
Obviously all the Grid Properties are in the proerties dialogue and if you click the little button in the properties window with the “Lightning Bolt” thats how you add Events.
Then whip up some code to populate the DataGridView, eg (off the top of my head):
The datatable is just an example to get you going. Better to fetch your data from the database and “bind” your grid to the datasource so that you can unit test your business logic.
The real solution tho is to buy a winform development book, I’m not being condescending or anything but if you cant get started pick up a book. Programming is a fusion of Art, Math, Science & Technology – its a complex subject that you cant google around for all the answers. You have to invest some time in education.