Hi all,
I am needing some help with Windows Forms using C#. It seems there is a high learning curve coming from VB6. I've used VB6 for 5 years and made a lot of forms, of course, some pretty complex ones. I've used some Win32 API functions and some of them callbacks like async I/O with not too much trouble. Now with C# delegates and events I'm pretty confused. It's OOP out the wazoo. Want to change some font attributes of a control? You can't set properties, you've got to create a whole new Font object. Want to move a control on the form? Create a new Size object! Sigh. And that's just the beginning.
I've studied C and a little C++ so the syntax is not confusing to me, it's the new paradigm of creating Windows forms. I'm just finishing up a C# course at college and the book we used was a real sleeper, "Deitel & Deitel C# How to Program". I bought "Programming Microsoft Windows Forms - A streamlined approach using C#, 2005 edition" by Charles Petzold thinking that it would be easier to read and so far it hasn't been. Would anyone recommend supplementing this book with his earlier book "Programming Microsoft Windows with C#, 2002 (.NET 1.1)"? I'm also working my way through Petzold's "Programming in the Key of C#" and I'm a bit embarassed to admit that some of that is a little hard to read and it's for those new to programming.
I'm using Microsoft Visual Studio 2005 Academic Edition. All versions of .NET installed. I've got to say this IDE is not very intuitive coming from VB6, and some of the generated code leaves a mess resulting in compile errors when you use the designer to modify some of the control properties like the name. I miss the control+shift+letter to jump to a property in the Properties window, I miss the procedure dropdowns in the code window that created the event stubs, I miss the Procedure View/Full Module View button.
In summary I would very much appreciate any online tutorials or books for the newbie because I'm fast becoming one. I'd prefer not to get into VB.NET if possible as I don't want to spend too much energy learning another syntax right now. I'd like to focus on C#. I've been reading the MSDN site but the amount of information there is overwhelming and not exactly newbie-friendly.
Thanks so much in advance,
Scott