locked
having problem with writing code for controls RRS feed

  • Question

  • Iiam currently learning my textbooks on programming( c how to program ) which i obtain from strateford carrer institute in u.s.a. But seem to have problems with writing code for controls, for instance, adding menu on the menu bar, creating event handlers and then making the whole work ple help me.

     

    Thursday, July 15, 2010 8:54 PM

Answers

  • Hi Kyeremateng,

    Welcome to MSDN forum!

    1. You can first start with C# Programming Guide on MSDN, it gives detailed information on key C# language features and features accessible to C# through the .NET Framework.

    Most of this section assumes that you already know something about C# and general programming concepts. If you are a complete beginner with programming or with C#, you should start with the Visual C# Guided Tour. You also might want to visit the C# Developer Center, where you can find many tutorials, samples and videos to help you get started.

    2. Windows Forms Overviewdiscusses the advantages of smart client applications, the main features of Windows Forms programming, and how you can use Windows Forms to build smart clients that meet the needs of today's enterprises and end users.


    3. WinForm Tutorial help you start with simple actions hand by hand. It has 5 lessons (Introduction to Winforms, Simple Winform, Building Custom Controls, Image Explorer and Serialization ) which are full of helpful examples and steps. Recommand you to start from Introduction lesson.

    4. Creating a Windows Form User Control describes how to create a Windows Form User Control as well as useful enumerations, error messages, and verification. You will also learn how to add descriptions to your properties and methods using attributes

    5. Custom Event Handlers  will go through all the code required to create your own events and custom event handlers.

    6. There are also Windows Forms General FAQ and George Shepherd's WinForm FAQ  you can look up to. They provide common questions and answers on controls,and Windows Forms Example Topics gives you sufficient and useful code.

    Have a nice  journey on winforms! If you have any difficulties, please post your questions as clear as possible in the right forum.

    Best Wishes,
    Helen Zhou

     


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

     


    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Helen Zhou Thursday, July 22, 2010 9:49 AM
    Wednesday, July 21, 2010 2:57 AM

All replies

  • Iam currently learning my textbooks on programming( c how to program ) which i obtain from strateford carrer institute in u.s.a. But seem to have problems with writing code for controls, for instance, adding menu on the menu bar, creating event handlers and then making the whole work ple help me.

     


    Thursday, July 15, 2010 8:58 PM
  • Hi Kyeremateng,

    Welcome to MSDN forum!

    1. You can first start with C# Programming Guide on MSDN, it gives detailed information on key C# language features and features accessible to C# through the .NET Framework.

    Most of this section assumes that you already know something about C# and general programming concepts. If you are a complete beginner with programming or with C#, you should start with the Visual C# Guided Tour. You also might want to visit the C# Developer Center, where you can find many tutorials, samples and videos to help you get started.

    2. Windows Forms Overviewdiscusses the advantages of smart client applications, the main features of Windows Forms programming, and how you can use Windows Forms to build smart clients that meet the needs of today's enterprises and end users.


    3. WinForm Tutorial help you start with simple actions hand by hand. It has 5 lessons (Introduction to Winforms, Simple Winform, Building Custom Controls, Image Explorer and Serialization ) which are full of helpful examples and steps. Recommand you to start from Introduction lesson.

    4. Creating a Windows Form User Control describes how to create a Windows Form User Control as well as useful enumerations, error messages, and verification. You will also learn how to add descriptions to your properties and methods using attributes

    5. Custom Event Handlers  will go through all the code required to create your own events and custom event handlers.

    6. There are also Windows Forms General FAQ and George Shepherd's WinForm FAQ  you can look up to. They provide common questions and answers on controls,and Windows Forms Example Topics gives you sufficient and useful code.

    Have a nice  journey on winforms! If you have any difficulties, please post your questions as clear as possible in the right forum.

    Best Wishes,
    Helen Zhou

     


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

     


    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    • Marked as answer by Helen Zhou Thursday, July 22, 2010 9:49 AM
    Wednesday, July 21, 2010 2:57 AM