Newbie trying to get a grasp
-
I am trying to get a grasp of how to build some simple applications. So I went out and bought the .NET Framework Foundation Fundamentals book. It has taken me through some Labs to create console and Windows Form apps but other than those simple things I dont know how to use the classes I find here on this site and put them into a project. I know how to add the class to the project and drag some controls onto the page. I know some namespaces. For example, Read, write and delete from registry with C# This is SUPER useful to us and I want to use it. I wanted to take this class and create a windows form with a Button, TextBox, and Label. I wanted to be able to enter a keyword into the textbox and onbutton click it would search my registry and delete displaying the results in the label.txt. Sounds simple enough? Other than dragging controls onto the form I have no clue how to put it together.
-
I am trying to get a grasp of how to build some simple applications. So I went out and bought the .NET Framework Foundation Fundamentals book. It has taken me through some Labs to create console and Windows Form apps but other than those simple things I dont know how to use the classes I find here on this site and put them into a project. I know how to add the class to the project and drag some controls onto the page. I know some namespaces. For example, Read, write and delete from registry with C# This is SUPER useful to us and I want to use it. I wanted to take this class and create a windows form with a Button, TextBox, and Label. I wanted to be able to enter a keyword into the textbox and onbutton click it would search my registry and delete displaying the results in the label.txt. Sounds simple enough? Other than dragging controls onto the form I have no clue how to put it together.
I would suggest two things. One is to stick with basic WinForms or Console applications, and focus on one small thing at a time, such as reading/writing a file, using collection classes, creating and using a class library, etc. until you are very comfortable with C#, the IDE, and these three project types: WinForms, Console, Class Library. The second thing I would suggest is NOT messing with the registry just yet while you are learning. The registry is vital to Windows and should your program logic be off, your entire system may become unbootable. When you focus on tdeveloping your building blocks, you'll start to naturally see how to combine them to create the solution you want.