G
Guest
Hi
I'm new at this C# thing but wanted to learn how to program. I've created a
Form with 3 textboxes. How can I set a value to the textboxes? I was
thinking that it would be something like... (as a test)
TextBox1.Text = "Test";
What I really want to do in the end is create maybe a struct that contains
the values for the 3 textboxes and read a file or maybe the registry with the
"default" values when the program loads.
Questions. Where do I create the struct and any registry operations? Would
it be in Program.cs or Forms1.cs? To me it makes sense that the struct would
be created in the same area where the program is started (Main)
Any ideas on how to get started would be appreciated.
I'm new at this C# thing but wanted to learn how to program. I've created a
Form with 3 textboxes. How can I set a value to the textboxes? I was
thinking that it would be something like... (as a test)
TextBox1.Text = "Test";
What I really want to do in the end is create maybe a struct that contains
the values for the 3 textboxes and read a file or maybe the registry with the
"default" values when the program loads.
Questions. Where do I create the struct and any registry operations? Would
it be in Program.cs or Forms1.cs? To me it makes sense that the struct would
be created in the same area where the program is started (Main)
Any ideas on how to get started would be appreciated.