Windows forms это библиотека

Windows Forms

Windows Forms (WinForms) is a UI framework for building Windows desktop applications. It is a .NET wrapper over Windows user interface libraries, such as User32 and GDI+. It also offers controls and other functionality that is unique to Windows Forms.

Windows Forms also provides one of the most productive ways to create desktop applications based on the visual designer provided in Visual Studio. It enables drag-and-drop of visual controls and other similar functionality that make it easy to build desktop applications.

Windows Forms Out-Of-Process Designer

For information about the WinForms Designer supporting the .NET runtime and the changes between the .NET Framework Designer (supporting .NET Framework up to version 4.8.1) vs. the .NET Designer (supporting .NET 6, 7, 8, 9+), please see Windows Forms Designer Documentation.

Important: As a Third Party Control Vendor, when you migrate controls from .NET Framework to .NET, your control libraries at runtime are expected to work as before in the context of the respective new TFM (special modernization or security changes in the TFM kept aside, but those are rare breaking changes). Depending on the richness of your control’s design-time support, the migration of control designers from .NET Framework to .NET might need to take a series of areas with breaking changes into account. The provided link points out additional resources which help in that migration process.

Relationship to .NET Framework

This codebase is a fork of the Windows Forms code in the .NET Framework 4.8.
We started the migration process by targeting .NET Core 3.0, when we’ve strived to bring the two runtimes to a parity. Since then, we’ve done a number of changes, including breaking changes, which diverged the two. For more information about breaking changes, see the Porting guide.

The bar for innovation and new features

WinForms is a technology which was originally introduced as a part of .NET Framework 1.0 on February 13th, 2002. It’s primary focus was and is to be a Rapid Application Tool for Windows based Apps, and that principal sentiment has not changed over the years. WinForms at the time addressed developer’s requests for

  • A framework for stable, monolithic Line of Business Apps, even with extremely complicated and complex domain-specific workflows
  • The ability to easily provide rich user interfaces
  • A safe and — over the first 3 versions of .NET Framework — increasingly performant way to communicate across process boundaries via various Windows Communication Services, or access on-site databases via ADO.NET providers.
  • A very easy to use, visual what-you-see-is-what-you-get designer, which requires little ramp-up time, and was primarily focused to support 96 DPI resolution-based, pixel-coordinated drag & drop design strategies.
  • A flexible, .NET reflection-based Designer extensibility model, utilizing the .NET Component Model.
  • Visual Controls and Components, which provide their own design-time functionality through Control Designers

Over time, and with a growing need to address working scenarios with multi-monitor, high resolution monitors, significantly more powerful hardware, and much more, WinForms has continued to be modernized.

And then there is the evolution of Windows: When new versions of Windows introduce new or change existing APIs or technologies — WinForms needs to keep up and adjust their APIs accordingly.

And exactly that is still the primary motivation for once to modernize and innovate, but also the bar to reach for potential innovation areas we either need or want to consider:

  • Areas, where for example for security concerns, the Windows team needed to take an depending area out-of-proc, and we see and extreme performance hit in WinForms Apps running under a new Service Pack or a new Windows Version
  • New features to comply with updated industry standards for accessibility.
  • HighDPI and per Monitor V2-Scenarios.
  • Picking up changed or extended Win32 Control functionality, to keep controls in WinForms working the way the Windows team wants them to be used.
  • Addressing Performance and Security issues
  • Introducing ways to support asynchronous calls interatively, to enable apps to pick up migration paths via Windows APIs projection/Windows Desktop Bridge, enable scenarios for async WebAPI, SignalR, Azure Function, etc. calls, so WinForms backends can modernized and even migrated to the cloud.

What would not make the bar:

  • New functionality which modern Desktop UIs like WPF or WinUI clearly have already
  • Functionality, which would «stretch» a Windows Desktop App to be a mobile, Multi-Media or IoT app.
  • Domain-specific custom controls, which are already provided by the vast variety of third party control vendors

A note about Visual Basic: Visual Basic .NET developers make up about 20% of WinForms developers. We welcome changes that are specific to VB if they address a bug in a customer-facing scenario. Issues and PRs should describe the customer-facing scenario and, if possible, include images showing the problem before and after the proposed changes. Due to limited bandwidth, we cannot prioritize VB-specific changes that are solely for correctness or code cleanliness. However, VB remains important to us, and we aim to fix any critical issues that arise.

Please note

⚠️ This repository contains only implementations for Windows Forms for .NET platform.
It does not contain either:

  • The .NET Framework variant of Windows Forms. Issues with .NET Framework, including Windows Forms, should be filed on the Developer Community or Product Support websites. They should not be filed on this repository.
  • The Windows Forms Designer implementations. Issues with the Designer can be filed via VS Feedback tool (top right-hand side icon in Visual Studio) or be filed in this repo using the Windows Forms out-of-process designer issue template.

How can I contribute?

We welcome contributions! Many people all over the world have helped make this project better.

  • Contributing explains what kinds of changes we welcome
  • Developer Guide explains how to build and test
  • Get Up and Running with Windows Forms .NET explains how to get started building Windows Forms applications.

How to Engage, Contribute, and Provide Feedback

Some of the best ways to contribute are to try things out, file bugs, join in design conversations, and fix issues.

  • The contributing guidelines and the more general .NET contributing guide define contributing rules.
  • The Developer Guide defines the setup and workflow for working on this repository.
  • If you have a question or have found a bug, file an issue.
  • Use daily builds if you want to contribute and stay up to date with the team.

Reporting security issues

Security issues and bugs should be reported privately via email to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter. Also see info about related Microsoft .NET Core and ASP.NET Core Bug Bounty Program.

Code of Conduct

This project uses the .NET Foundation Code of Conduct to define expected conduct in our community. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer at conduct@dotnetfoundation.org.

License

.NET (including the Windows Forms repository) is licensed under the MIT license.

.NET Foundation

.NET Windows Forms is a .NET Foundation project.
See the .NET home repository to find other .NET-related projects.

Windows Forms («WinForms» for short) is a GUI class library included with the .NET Framework. It is a sophisticated object-oriented wrapper around the Win32 API, allowing the development of Windows desktop and mobile applications that target the .NET Framework.

WinForms is primarily event-driven. An application consists of multiple forms (displayed as windows on the screen), which contain controls (labels, buttons, textboxes, lists, etc.) that the user interacts with directly. In response to user interaction, these controls raise events that can be handled by the program to perform tasks.

Like in Windows, everything in WinForms is a control, which is itself a type of window. The base Control class provides basic functionality, including properties for setting text, location, size, and color, as well as a common set of events that can be handled. All controls derive from the Control class, adding additional features. Some controls can host other controls, either for reusability (Form, UserControl) or layout (TableLayoutPanel, FlowLayoutPanel).

WinForms has been supported since the original version of the .NET Framework (v1.0), and is still available in modern versions (v4.5). However, it is no longer under active development, and no new features are being added. According to 9 Microsoft developers at the Build 2014 conference:

Windows Forms is continuing to be supported, but in maintenance mode. They will fix bugs as they are discovered, but new functionality is off the table.

The cross-platform, open-source Mono library provides a basic implementation of Windows Forms, supporting all of the features that Microsoft’s implementation did as of .NET 2.0. However, WinForms is not actively developed on Mono and a complete implementation is considered impossible, given how inextricably linked the framework is with the native Windows API (which is unavailable in other platforms).

See also:

  • Windows Forms documentation on MSDN

Creating a Simple WinForms Application using Visual Studio

This example will show you how to create a Windows Forms Application project in Visual Studio.

Create Windows Forms Project

  1. Start Visual Studio.

  2. On the File menu, point to New, and then select Project. The New Project dialog box appears.

  3. In the Installed Templates pane, select «Visual C#» or «Visual Basic».

  4. Above the middle pane, you can select the target framework from the drop-down list.

  5. In the middle pane, select the Windows Forms Application template.

  6. In the Name text box, type a name for the project.

  7. In the Location text box, choose a folder to save the project.

  8. Click OK.

  9. The Windows Forms Designer opens and displays Form1 of the project.

Add Controls to the Form

  1. From the Toolbox palette, drag a Button control onto the form.

  2. Click the button to select it. In the Properties window, set the Text property to Say Hello.

    Visual Studio designer, showing a form with a button

Write Code

  1. Double-click the button to add an event handler for the Click event. The Code Editor will open with the insertion point placed within the event handler function.

  2. Type the following code:

    C#

    MessageBox.Show("Hello, World!");
     

    VB.NET

    MessageBox.Show("Hello, World!")
     

Run and Test

  1. Press F5 to run the application.

  2. When your application is running, click the button to see the «Hello, World!» message.

  3. Close the form to return to Visual Studio.

Creating a Simple C# WinForms Application using a Text Editor

  1. Open a text editor (like Notepad), and type the code below:

     using System;
     using System.ComponentModel;
     using System.Drawing;
     using System.Windows.Forms;
    
     namespace SampleApp
     {
         public class MainForm : Form
         {
             private Button btnHello;
    
             // The form's constructor: this initializes the form and its controls.
             public MainForm()
             {
                 // Set the form's caption, which will appear in the title bar.
                 this.Text = "MainForm";
    
                 // Create a button control and set its properties.
                 btnHello = new Button();
                 btnHello.Location = new Point(89, 12);
                 btnHello.Name = "btnHello";
                 btnHello.Size = new Size(105, 30);
                 btnHello.Text = "Say Hello";
    
                 // Wire up an event handler to the button's "Click" event
                 // (see the code in the btnHello_Click function below).
                 btnHello.Click += new EventHandler(btnHello_Click);
    
                 // Add the button to the form's control collection,
                 // so that it will appear on the form.
                 this.Controls.Add(btnHello);
             }
    
             // When the button is clicked, display a message.
             private void btnHello_Click(object sender, EventArgs e)
             {
                 MessageBox.Show("Hello, World!");
             }
    
             // This is the main entry point for the application.
             // All C# applications have one and only one of these methods.
             [STAThread]
             static void Main()
             {
                 Application.EnableVisualStyles();
                 Application.Run(new MainForm());
             }
         }
     }
     
  1. Save the file to a path you have read/write access to. It is conventional to name the file after the class that it contains—for example, X:\MainForm.cs .
  1. Run the C# compiler from the command line, passing the path to the code file as an argument:

     %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\csc.exe /target:winexe "X:\MainForm.cs"
     

    Note: To use a version of the C# compiler for other .NET framework versions, take a look in the path, %WINDIR%\Microsoft.NET and modify the example above accordingly. For more information on compiling C# applications, see Compile and run your first C# program.

  1. After compilation has completed, an application called MainForm.exe will be created in the same directory as your code file. You can run this application either from the command line or by double-clicking on it in Explorer.

Creating a Simple VB.NET WinForms Application using a Text Editor

  1. Open a text editor (like Notepad), and type the code below:

     Imports System.ComponentModel
     Imports System.Drawing
     Imports System.Windows.Forms
    
     Namespace SampleApp
         Public Class MainForm : Inherits Form
             Private btnHello As Button
     
             ' The form's constructor: this initializes the form and its controls.
             Public Sub New()
                 ' Set the form's caption, which will appear in the title bar.
                 Me.Text = "MainForm"
     
                 ' Create a button control and set its properties.
                 btnHello = New Button()
                 btnHello.Location = New Point(89, 12)
                 btnHello.Name = "btnHello"
                 btnHello.Size = New Size(105, 30)
                 btnHello.Text = "Say Hello"
     
                 ' Wire up an event handler to the button's "Click" event
                 ' (see the code in the btnHello_Click function below).
                 AddHandler btnHello.Click, New EventHandler(AddressOf btnHello_Click)
     
                 ' Add the button to the form's control collection,
                 ' so that it will appear on the form.
                 Me.Controls.Add(btnHello)
             End Sub
     
             ' When the button is clicked, display a message.
             Private Sub btnHello_Click(sender As Object, e As EventArgs)
                 MessageBox.Show("Hello, World!")
             End Sub
     
             ' This is the main entry point for the application.
             ' All VB.NET applications have one and only one of these methods.
             <STAThread> _
             Public Shared Sub Main()
                 Application.EnableVisualStyles()
                 Application.Run(New MainForm())
             End Sub
         End Class
     End Namespace
     
  1. Save the file to a path you have read/write access to. It is conventional to name the file after the class that it contains—for example, X:\MainForm.vb .
  1. Run the VB.NET compiler from the command line, passing the path to the code file as an argument:

     %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\vbc.exe /target:winexe "X:\MainForm.vb"
     

    Note: To use a version of the VB.NET compiler for other .NET framework versions, take a look in the path %WINDIR%\Microsoft.NET and modify the example above accordingly. For more information on compiling VB.NET applications, see Hello World.

  1. After compilation has completed, an application called MainForm.exe will be created in the same directory as your code file. You can run this application either from the command line or by double-clicking on it in Explorer.

Материал из РУВИКИ — свободной энциклопедии

Windows Forms
Лицензия лицензия MIT[1]
Язык программирования C# и Visual Basic
Репозиторий исходного кода github.com/dotnet/winfor…
Правовой статус защищено авторским правом[d]
Версия
  • 7.0.4 (14 марта 2023)[2]
Платформа .NET Framework и .NET

Windows Forms — интерфейс программирования приложений (API), отвечающий за графический интерфейс пользователя и являющийся частью Microsoft .NET Framework. Данный интерфейс упрощает доступ к элементам интерфейса Microsoft Windows за счет создания обёртки для существующего Win32 API в управляемом коде. Причём управляемый код — классы, реализующие API для Windows Forms, не зависят от языка разработки. То есть программист одинаково может использовать Windows Forms как при написании ПО на C#, C++, так и на VB.Net, J# и др.

С одной стороны, Windows Forms рассматривается как замена более старой и сложной библиотеке MFC, изначально написанной на языке C++. С другой стороны, WF не предлагает парадигмы, сравнимой с MVC. Для исправления этой ситуации и реализации данной функциональности в WF существуют сторонние библиотеки. Одной из наиболее используемых подобных библиотек является User Interface Process Application Block, выпущенная специальной группой Microsoft, занимающейся примерами и рекомендациями, для бесплатного скачивания. Эта библиотека также содержит исходный код и обучающие примеры для ускорения обучения.

Внутри .NET Framework Windows Forms реализуется в рамках пространства имён System.Windows.Forms.

Как и Abstract Window Toolkit (AWT) (схожий API для языка Java), библиотека Windows Forms была разработана как часть .NET Framework для упрощения разработки компонентов графического интерфейса пользователя. Windows Forms построена на основе устаревающего Windows API и представляет собой, по сути, обертку низкоуровневых компонентов Windows.

Windows Forms предоставляет возможность разработки кроссплатформенного графического пользовательского интерфейса. Однако, Windows Forms фактически является лишь оберткой Windows API-компонентов, и ряд её методов осуществляет прямой доступ к Win32-функциям обратного вызова, которые недоступны на других платформах.

В .NET Framework версии 2.0 библиотека Windows Forms получила более богатый инструментарий разработки интерфейсов, toolstrip-элементы интерфейса в стиле Office 2003, поддержку многопоточности, расширенные возможности проектирования и привязки к данным, а также поддержку технологии ClickOnce для развертывания веб-приложений.

С выходом .NET Framework 3.0 Microsoft выпустила новый API для рисования пользовательских интерфейсов: Windows Presentation Foundation, который базировался на DirectX 11 и декларативном языке описания интерфейсов XAML. Однако, даже несмотря на все это, Windows Forms и WPF всё ещё предлагают схожую функциональность, и поэтому Windows Forms не был упразднен в пользу WPF, а продолжает использоваться как альтернативная технология построения интерфейсов наряду с WPF.

Отвечая на вопросы на конференции Build 2014, Майкрософт пояснила, что Windows Forms будет поддерживаться, ошибки будут исправляться, но новые функции добавляться не будут. Позже улучшенная поддержка высокого разрешения для различных элементов интерфейса Windows Forms все же была анонсирована в релизе .NET Framework 4.5.

Приложение Windows Forms представляет собой событийно-ориентированное приложение, поддерживаемое Microsoft .NET Framework. В отличие от пакетных программ, большая часть времени тратится на ожидание от пользователя каких-либо действий, как, например, ввод текста в текстовое поле или клика мышкой по кнопке.

Mono — проект, финансируемый Novell (ранее — Ximian), одна из задач которого — создать стандарт Ecma, совместимый с набором инструментов .NET.

13 мая 2008 года API Mono System.Windows.Forms 2.0 была завершена (содержала 100 % классов, методов и т. д. из Microsoft System.Windows.Forms 2.0); также System.Windows.Forms 2.0 естественным образом работает и на Mac OS X.

  • Microsoft Visual Studio
  • ClickOnce
  • Abstract Window Toolkit
  • Visual Component Library, Borland VCL
  • Visual Test, инструмент автоматизации тестирования ГПИ
  1. https://api.github.com/repos/dotnet/winforms
  2. Release 7.0.4 — 2023.
  • MSDN: Windows.Forms reference documentation (англ.)
  • MSDN: Windows Forms Technical Articles — Automating Windows Form with Visual Test (англ.)
  • Official community site (англ.)
  • Jeff Prosise: «Windows Forms: Современная модель программирования для создания GUI приложений»

Распознавание голоса и речи на C#

UnmanagedCoder 05.05.2025

Интеграция голосового управления в приложения на C# стала намного доступнее благодаря развитию специализированных библиотек и API. При этом многие разработчики до сих пор считают голосовое управление. . .

Реализация своих итераторов в C++

NullReferenced 05.05.2025

Итераторы в C++ — это абстракция, которая связывает весь экосистему Стандартной Библиотеки Шаблонов (STL) в единое целое, позволяя алгоритмам работать с разнородными структурами данных без знания их. . .

Разработка собственного фреймворка для тестирования в C#

UnmanagedCoder 04.05.2025

C# довольно богат готовыми решениями – NUnit, xUnit, MSTest уже давно стали своеобразными динозаврами индустрии. Однако, как и любой динозавр, они не всегда могут протиснуться в узкие коридоры. . .

Распределенная трассировка в Java с помощью OpenTelemetry

Javaican 04.05.2025

Микросервисная архитектура стала краеугольным камнем современной разработки, но вместе с ней пришла и головная боль, знакомая многим — отслеживание прохождения запросов через лабиринт взаимосвязанных. . .

Шаблоны обнаружения сервисов в Kubernetes

Mr. Docker 04.05.2025

Современные Kubernetes-инфраструктуры сталкиваются с серьёзными вызовами. Развертывание в нескольких регионах и облаках одновременно, необходимость обеспечения низкой задержки для глобально. . .

Создаем SPA на C# и Blazor

stackOverflow 04.05.2025

Мир веб-разработки за последние десять лет претерпел коллосальные изменения. Переход от традиционных многостраничных сайтов к одностраничным приложениям (Single Page Applications, SPA) — это. . .

Реализация шаблонов проектирования GoF на C++

NullReferenced 04.05.2025

«Банда четырёх» (Gang of Four или GoF) — Эрих Гамма, Ричард Хелм, Ральф Джонсон и Джон Влиссидес — в 1994 году сформировали канон шаблонов, который выдержал проверку временем. И хотя C++ претерпел. . .

C# и сети: Сокеты, gRPC и SignalR

UnmanagedCoder 04.05.2025

Сетевые технологии не стоят на месте, а вместе с ними эволюционируют и инструменты разработки. В . NET появилось множество решений — от низкоуровневых сокетов, позволяющих управлять каждым байтом. . .

Создание микросервисов с Domain-Driven Design

ArchitectMsa 04.05.2025

Архитектура микросервисов за последние годы превратилась в мощный архитектурный подход, который позволяет разрабатывать гибкие, масштабируемые и устойчивые системы. А если добавить сюда ещё и. . .

Многопоточность в C++: Современные техники C++26

bytestream 04.05.2025

C++ долго жил по принципу «один поток — одна задача» — как старательный солдатик, выполняющий команды одну за другой. В то время, когда процессоры уже обзавелись несколькими ядрами, этот подход стал. . .

Источник статьи

Автор24
— учеба по твоим правилам

Определение 1

Приложения Windows Forms — это совокупность управляемых библиотек, способных упростить исполнение типовых процедур, включая чтение из файловой системы и запись в нее.

Введение

Программное приложение Windows Forms осуществляет поддержку обширного набора функций для разработки приложений, в том числе и компоненты управления. Отличительной особенностью Windows Forms может считаться применение конструктора, обладающего визуальным форматом, а также процедурой перетаскивания в Visual Studio, что позволяет упростить формирование приложений Windows Forms.

Windows Forms является платформой пользовательского интерфейса, предназначенной для формирования стандартных приложений Windows. Она способна обеспечить самый эффективный метод формирования стандартных приложений при помощи визуального конструктора в Visual Studio. Такие функции, как установка визуальных элементов управления простым перетаскиванием, может значительно упростить формирование классических приложений.

В Windows Forms имеется возможность разработки графически сложных приложений, которые легко разворачивать, обновлять, а также удобно использовать и в автономном режиме, и в сети. Программные приложения Windows Forms способны получить доступ к локальному оборудованию и файловой системе компьютера, на котором функционирует приложение.

Приложения Windows Forms

Windows Forms является технологией пользовательского интерфейса для .NET, выступающей как совокупность управляемых библиотек, которые делают проще исполнение типовых процедур, таких как чтение из файловой системы и запись в нее. При помощи среды разработки, такой как Visual Studio, можно формировать интеллектуальные клиентские приложения Windows Forms, которые способны отображать информацию, запрашивать ввод пользователя и взаимодействовать с удаленными компьютерами по сети.

В Windows Forms формой является визуальная поверхность, на которую осуществляется вывод информации для пользователя. Как правило, приложение Windows Forms реализуется за счет прибавления элементов управления в формы и формирования кода, способного реагировать на действия пользователя, такие как щелчок мыши или нажатие клавиши. Элемент управления является отдельным элементом пользовательского интерфейса, предназначенным для отображения или ввода данных.

«Приложения Windows Forms» 👇

При осуществлении пользователем какого-нибудь действия с формой или одним из ее компонентов управления формируется событие. Приложение реагирует на такие события, согласно заданному коду, и реализует обработку событий при их возникновении. В Windows Forms имеется большое количество элементов управления, которые могут быть добавлены в формы. К примеру, элементы управления способны отобразить текстовые поля, кнопки, раскрывающиеся списки, переключатели и даже веб-страницы. Когда имеющиеся элементы управления не удовлетворяют целям пользователя, в Windows Forms присутствует возможность создания собственных пользовательских элементов управления при помощи класса UserControl.

Windows Forms обладает многофункциональными элементами управления пользовательского интерфейса, позволяющими эмулировать функции таких сложных приложений, как Microsoft Office. При помощи элементов управления ToolStrip и MenuStrip пользователь может формировать панели инструментов и меню, которые могут содержать текст и изображения, отображать подменю и размещать иные элементы управления.

Если использовать функцию перетаскивания конструктора Windows Forms в Visual Studio, то можно легко формировать приложения Windows Forms. Для этого надо просто выделить компонент управления при помощи курсора и разместить его на нужном месте в форме. Для того чтобы преодолеть трудности, которые связаны с выравниванием элементов управления, в конструкторе имеются такие средства, как линии сетки и линии привязки. При помощи элементов управления FlowLayoutPanel, TableLayoutPanel и SplitContainer имеется возможность гораздо более быстрого создания сложных макетных форм.

А если пользователь желает сформировать свои личные компоненты пользовательского интерфейса, то для этого в пространстве имен System.Drawing имеется обширный набор классов, которые необходимы для прорисовки линий, кругов и иных фигур прямо форме.

В некоторых приложениях необходимо отображение данные из базы данных, файла XML или JSON, веб-службы или других источников данных. Windows Forms способен предоставить гибкий компонент управления, именуемый DataGridView, предназначенный для отображения подобных табличных данных в стандартном формате строк и столбцов так, чтобы каждый фрагмент данных занимал свою собственную ячейку. При помощи DataGridView имеется возможность, кроме всего вышеназванного, выполнять настройку внешнего вида отдельных ячеек, фиксировать строки и столбцы на своих местах, а также обеспечивать отображение сложных элементов управления внутри ячеек.

Windows Forms позволяет легко подключиться к источникам данных при помощи сети. Элемент BindingSource может предоставить подключение к источнику данных и обладает методами, способными привязать данные к элементам управления, перейти к предыдущей или следующей записи, редактировать записи и сохранять изменения в исходном источнике. А элемент управления BindingNavigator способен предоставить удобный интерфейс на базе элемента BindingSource для реализации перехода между записями.

Пользователь может очень просто формировать компоненты управления с привязкой к данным при помощи окна «Источники данных» в Visual Studio. В данном окне могут отображаться имеющиеся в проекте пользователя источники данных, такие как базы данных, веб-службы и объекты. Формировать элементы управления с их привязкой к данным можно за счет перетаскивания объектов из данного окна в формы проекта. Также имеется возможность связывания существующих элементов управления с данными, путем перетаскивая объектов из окна «Источники данных» в имеющиеся элементы управления.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Драйвера для ноутбука samsung np300e5c windows 7
  • Windows 10 2004 lite
  • Как открыть все настройки электропитания windows 10
  • Как пользоваться postgresql windows
  • Dragon age inquisition не запускается на windows 10