If you are a beginner programmer, then this book is for you. In it, to the extent necessary for a novice programmer, the technology of visual designing and event programming is described and demonstrated using a concrete example, a concrete example shows the process of developing .NET Windows Forms applications for Windows.
After reading this book you will learn:
what is a form and how to create itwhat is a user interface componenthow to get data from an edit fieldhow to display the result in a program windowwhat is an event and what events arehow to create an event handling functionwhat is an exception and how to handle ithow to prevent an exceptionThe book you are holding is dedicated to programming practice in Microsoft Visual Studio 2019, the development of Windows Forms Desktop .NET applications for Windows in C #. It describes the development environment and the main components, reveals the essence of technologies for visual design and event programming, a simple example shows the entire process of creating an application: from creating a form and configuring user interface components to creating event processing functions.
For beginners programmers
First edition
(c) Nikita Kultin, 2019
CONTENTSCHAPTER 1. MICROSOFT VISUAL C# 2019
Types of ApplicationsGet startedMain window of Visual StudioForm designerToolbox and controlsThe Properties windowEventsCHAPTER 2. FIRST PROJECT
Getting started on a projectThe formControlsEventEvent handling functionProject structureMain moduleForm moduleBuildingErrorsWarningsProgram launchExceptionsException handlingProgram modificationProject CompletionInstalling the application on another computerCHAPTER 3. COMMON CONTROLS
LabelTextBoxButtonCheckBoxRadioButtonGroupBoxComboBoxPictureBoxListBoxCHAPTER 4. GRAPHICS
Graphic SurfacePencilCustom pencilBrushStandard brushHatch brushTexture brushGradient brushGraphic primitivesLinePolylineRectanglePointCircle and ellipseArcPieTextComplex Example 1: GraphComplex Example 2: Pie ChartCONCLUSION