I tried starting a new Forms solution and just copy and pasted the code over to new class's etc. I am confused how to use the buttons etc.

Example:

I Have a class called FilmsSLL (Fully implemented Singly Linked List, holding Film Nodes) I want to be able to do the following commands (Worked perfectly on console);-

FilmsSLL Film;
Film.add("FilmTitle");
Film.add("FilmTitle2");
film.save();


now.. I can also call Film.load() which will load the previously saved films. This is all fine and dandy in a console app. When it comes to a form and button I dont know where to put the code... For If I put FilmsSLL Film; in the 'Int Main(){}' Part, I cannot place Film.add in the button click event. As it isnt even recognized. This seems logical, but I am explaining of what I want to achieve.

Any ideas?

Thanks.