Winforms
winforms
#winforms
Table of Contents
About
1
Chapter 1: Getting started with winforms
2
Remarks
See also:
Examples
Creating a Simple WinForms Application using Visual Studio
2
2
2
2
Create Windows Forms Project
2
Add Controls to the Form
3
Write Code
4
Run and Test
5
Creating a Simple C# WinForms Application using a Text Editor
5
Creating a Simple WinForms Application using a Text Editor
6
Chapter 2: Basic controls
9
Examples
9
Button
9
TextBox
9
ComboBox
10
CheckBox
11
ListBox
12
NumericUpDown
16
Useful Events
Chapter 3: Databinding
18
19
Parameters
19
Remarks
19
Examples
19
Binding controls to data objects
Chapter 4: Help Integration
19
21
Remarks
21
HelpProvider Component
21
Help Class
21
HelpRequested Event
21
Help Button of Form
21
Help button of MessgeBox and CommonDialogs
21
ToolTip Component
22
Examples
22
Show help file
22
Show Help for MessageBox
22
Show a CHM file and navigate to a keyword (index)
23
Show a CHM file and navigate to a topic
23
Show a CHM file and navigate first help page in table of contents
23
Open default browser and navigate to a URL
23
Perform custom action on when pressing Help Button or F1 Key
23
Show Help for CommonDialogs
24
Handling HelpRequested event of Controls and Form
25
Show Help using Help class
26
Show Help pop-up window
26
Show CHM Help file
26
Show Help Table of Content
26
Show Help for specific Keyword (index)
26
Show Help for specific Topic
27
Show Url
27
Show Help Button on Titlebar of Form
27
Create custom Help button which acts like standard Form HelpButton
27
Handling HelpButtonClicked event of Form
28
Chapter 5: Inheriting Controls
29
Remarks
29
Examples
29
Application wide Settings
29
NumberBox
32
Chapter 6: Showing a form
40
Introduction
40
Examples
40
Show a modeless or a modal form
40
Closing a modeless form
40
Closing a modal form
41
Chapter 7: TextBox
Examples
42
42
Auto completion from a collection of strings
42
Allow only digits in the text
42
How to scroll to the end
42
Adding a Placeholder to textbox
43
Credits
44
About
You can share this PDF with anyone you feel could benefit from it, downloaded the latest version
from: winforms
It is an unofficial and free winforms ebook created for educational purposes. All the content is
extracted from Stack Overflow Documentation, which is written by many hardworking individuals at
Stack Overflow. It is neither affiliated with Stack Overflow nor official winforms.
The content is released under Creative Commons BY-SA, and the list of contributors to each
chapter are provided in the credits section at the end of this book. Images may be copyright of
their respective owners unless otherwise specified. All trademarks and registered trademarks are
the property of their respective company owners.
Use the content presented in this book at your own risk; it is not guaranteed to be correct nor
accurate, please send your feedback and corrections to info@
1
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- fastreport business graphics programmer manual
- reed copsey jr c tech development corporation blog
- introduction to xaml with wpf
- dyalog for microsoft windows net interface guide
- flexchart for wpf
- van yperzele diederik
- mapping to the windows presentation framework
- flexreport for winforms grapecity
- getting started with componentone livelinq
- data mining tutorial session 2 stack overflow data set