Hi all!
I’m fairly new to C# programming and have a question about windows forms.


I’ve spent the better part of today making an application in windows forms, and have all programmed all the functionality that my various labels and buttons and combo boxes etc need in c# and happily it works like a charm when I test it.
My problem is that I have no clue how to export all of that data into anything meaningful. Ideally I would like to have everything save in a pdf…
It’s a lot of data contained in a multitude of widgets…dates, text, checkboxes, comboboxes–you name it and it’s in there multiple times (I made an application for an interview).
I have a feeling that I’m going to need to direct each widget to save individually, which, while a pain, I don’t mind doing. But but I have no clue how to do that and so far my Google searches have been confusing or fruitless.
Can anyone shed some light on this? Thanks!
Do you want to have the same working WinForms controls (like textbox and comboboxes) working in the PDF document?
Not necessarily, no. Just saving the data entered into the program would be more than sufficient.
C# devs
null reference exceptions

source