R
RobcPettit
HI, please forgive this question. Im new to c# and as you probably seen
from prev questions Ive got along way to go. Ive been woking my way
through a couple of books, asking questions here and Id say im
improving. After asking a couple questions yesterday I realised theres
one arae that I just dont seem to grasp, and the books dont make clear.
Basically Ive got code which reads a text file, grabs html from web
site and writes to another text file, in the meen time keeps user
informed as to how many records processed. Upto now ive used a form
with a button and texbox, and put all code in the buttonclick command.
And this is the problem were should the bulk of the code be written. Do
I add a class to my project, put code there, and call it with button.
So far ive used class files in the reference of the project. Im reading
about threading which is what made me think Im putting my code in the
wrong place. And all though the books say classes are one of the most
important areas, there not very clear on what to do when writing alot
of code. Hope this makes sense.
Regards Robert
from prev questions Ive got along way to go. Ive been woking my way
through a couple of books, asking questions here and Id say im
improving. After asking a couple questions yesterday I realised theres
one arae that I just dont seem to grasp, and the books dont make clear.
Basically Ive got code which reads a text file, grabs html from web
site and writes to another text file, in the meen time keeps user
informed as to how many records processed. Upto now ive used a form
with a button and texbox, and put all code in the buttonclick command.
And this is the problem were should the bulk of the code be written. Do
I add a class to my project, put code there, and call it with button.
So far ive used class files in the reference of the project. Im reading
about threading which is what made me think Im putting my code in the
wrong place. And all though the books say classes are one of the most
important areas, there not very clear on what to do when writing alot
of code. Hope this makes sense.
Regards Robert