Chapter 11 (86 pages) shows how to open or call secondary forms in your program. The chapter shows both the wrong ways (as commonly-seen on the Internet), as well as the right ways, with all the details and reasons explained in clear, concise language.
Topics: Opening a secondary form, re-opening with global variables, intercepting a Form-Close event, Returning to the calling form using an "Instance-Ref", Modal and Modeless Forms Top-most forms.
Then the chapter moves into an important concept: How to properly pass values between forms, using proper object-oriented techniques. Passing variables through Signatures and using Constructors.
Finally, Microsoft neglected to provide a good MessageBox dialog. In this chapter you will build a robust and *attractive* dialog, that can be used in any program. Microsoft also neglected to provide an Input-box dialog. Once again, this chapter comes to the rescue. Write both dialogs one time, then re-use in any program using the Class-Libraries techniques from Chapter 8.
About this series: A beginner's guide to C-Sharp programming with Microsoft's Visual Studio, 2017. A complete programming guide. Simple, step-by-step, fully illustrated. Tailored for new and novice developers. Discusses basic techniques that all programmers need to learn.
This series is sold by Chapters at a low cost. A total of 28 chapters, in three volumes. Over 1800 pages, 900 quality illustrations.
Why am I distributing by chapter? To keep the cost down and to keep each section manageable. This book acts as a reference guide. Topics are covered in great detail, with little time spent on theory. The goal of these books are to solve programming problems quickly and efficiently.
I hope you enjoy reading and studying these pages as much as I have enjoyed writing them. TRW
Category