Publisher's Synopsis
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 it
- what is a user interface component
- how to get data from an edit field
- how to display the result in a program window
- what is an event and what events are
- how to create an event handling function
- what is an exception and how to handle it
- how to prevent an exception
The 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 Applications
- Get started
- Main window of Visual Studio
- Form designer
- Toolbox and controls
- The Properties window
- Events
CHAPTER 2. FIRST PROJECT
- Getting started on a project
- The form
- Controls
- Event
- Event handling function
- Project structure
- Main module
- Form module
- Building
- Errors
- Warnings
- Program launch
- Exceptions
- Exception handling
- Program modification
- Project Completion
- Installing the application on another computer
CHAPTER 3. COMMON CONTROLS
- Label
- TextBox
- Button
- CheckBox
- RadioButton
- GroupBox
- ComboBox
- PictureBox
- ListBox
CHAPTER 4. GRAPHICS
- Graphic Surface
- Pencil
- Custom pencil
- Brush
- Standard brush
- Hatch brush
- Texture brush
- Gradient brush
- Graphic primitives
- Line
- Polyline
- Rectangle
- Point
- Circle and ellipse
- Arc
- Pie
- Text
- Complex Example 1: Graph
- Complex Example 2: Pie Chart
CONCLUSION