Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Summary

This chapter showed how to use C# to build a graphical user interface (GUI). It used the .NET Windows Forms library classes to build the GUI. The first section explained the nature of the Windows Forms library and the basic components required to create a user interface.

The Windows Forms library contains several controls that can be combined in sophisticated ways to make the user experience much better and more intuitive than text-based methods.

One section showed how to implement an n-tiered architecture using the Model-View-Controller design pattern. Windows Forms components served as the client interface. There were a couple data management classes that served as the Model. The Model and View were held in coordination with a Controller class.

The last section covered menus. There was an example that enhanced the main form by adding menu support. The next chapter is about a totally different subject, File I/O.

  • + Share This
  • 🔖 Save To Your Account