SlideShare uma empresa Scribd logo
1 de 18
Session 3
Trình bày : Võ Ngọc Đạt
Email : vongocdatit@gmail.com
Điện thoại : 0934.969.680
Slide 1 of 3809/20/13
Advanced Controls
Slide 2 of 2609/20/13
Module Introduction
The Selection list controls that are used for selecting a value from a list.
The ListView control displays a collection of items within a collection.
The TreeView control displays the data in a hierarchical manner.
The RichTextBox control allows displaying, entering, and manipulating text within the control.
The ProgressBar control is used in applications
Slide 3 of 3809/20/13
Selection List Controls
Selection list controls are controls used for selecting a value from a specified range of
values. These controls allow you to select values from a range using the up and down arrows.
There are two types of selection list controls namely :
+ NumericUpDown
+ DomainUpDown.
Slide 4 of 3809/20/13
"NumericUpDown" Control
The NumericUpDown control is a selection list control that allows you to select numeric values
from a range of values.
Slide 5 of 3809/20/13
Property Description
Increment Specifies or retrieves the value by which the current value in the control will be incremented or
decremented when up or down button is clicked.
Maximum Specifies or retrieves the maximum value that the control can have in a particular range.
Minimum Specifies or retrieves the minimum value that the control can have in a particular range.
ThousandsSeparator Specifies or retrieves a value indicating whether a thousands separator is displayed in the up-down
control.
Value Specifies or retrieves the value assigned to the control.
Method Description
DownButton Decreases the value of the up-down control.
UpButton Increases the value of the up-down control.
Event Description
ValueChanged Occurs when the Value property of the control has been changed.
Slide 6 of 3809/20/13
"DomainUpDown" Control
The DomainUpDown control is a selection list control that allows you to select text values
from a range of values.
This control is generally used when the range of values indicates an order such as days of a
week and months of the year.
Slide 7 of 3809/20/13
Property Description
Items Assigns a collection of objects to the control.
MaximumSize Specifies or retrieves the maximum size of the up and down arrows.
MinimumSize Specifies or retrieves the minimum size of the up and down arrows.
Readonly Specifies or retrieves a value indicating whether the text in the control can be modified using the up and down
buttons.
SelectedItem Specifies or retrieves the selected item using the index value of the selected item in the collection.
Method Description
DownButton Displays the next item present in the object collection.
UpButton Displays the previous item present in the object collection.
Event Description
Selectedltemchanged Occurs when the value of the Selectedltem property has been changed.
Slide 8 of 3809/20/13
"ListView" Control
The ListView control is used to display a collection of items in a list. This control allows you
to add items to a collection and displays the items along with their icons, which can be small or
large in size.
There are five main views of ListView control,which are listed as follows:
+ Tile
+ List
+ Details
+ SmallIcon
+ LargeIcon
Slide 9 of 3809/20/13
Property Description
Columns Retrieves the collection of all column headers that are displayed in the control.
Items Retrieves a collection that contains all items in the control.
MultiSelect Specifies or retrieves a value that indicates whether multiple items can be selected.
SelectedItems Retrieves the items that are selected in the control.
View Specifies or retrieves how items are displayed in the control. The value of this property
can be set using the different types of views defined in the View enumeration. The
different types of views are Tile, List, Details, Smalllcon and Largelcon.
Method Description
Arrangelcons Arranges icons in the control when they are displayedas icons.
Clear Removes all items and columns from the control.
GetItemAt Retrieves the item at a specified location.
Sort Sorts the list view items.
Event Description
ColumnClick Occurs when the column header within the list view control is clicked.
Itemcheck Occurs when the check state of an item is modified.
ItemSelectionChanged Occurs when the selection state of an item is changed.
SelectedIndexChanged Occurs when the index of the selected item in the list view control is modified.
Slide 10 of 3809/20/13
Slide 11 of 3809/20/13
"TreeView" Control
The TreeView control displays data in a hierarchical manner. This control is similar to the
left pane of the Windows Explorer. The TreeView control has three types of nodes. These
are:
+ Root
+ Parent
+ Leaf
Slide 12 of 3809/20/13
Property Description
Nodes Retrieves a set of TreeNode objects that represents theroot nodes of th e control.
SelectedNode Specifies or retrieves the tree node that is currently selected in the control.
ShowPlusMinus Specifies or retrieves a value, which indicates whether a plus sign (+) and minus
sign (-) buttons are displayed next to tree nodes, which contain child tree nodes.
ShowRootLines Specifies or retrieves a value, which indicates whetherlines are drawn between the
tree nodes that are located at the root of the tree view.
TopNode Retrieves the first tree node, which is completely visible in the control.
Method Description
GetNodeAt Retrieves the tree node at the specified location.
GetNodeCount Retrieves the number of tree nodes, optionally including nodes in the subtrees.
Event Description
AfterCollapse Occurs after the tree node is collapsed.
AfterExpand Occurs after the tree node within the control is expanded.
AfterSelecc Occurs after the tree node is selected.
NodeMouseClick Occurs when the user clicks a TreeNode with the mouse.
Slide 13 of 3809/20/13
Slide 14 of 3809/20/13
"RichTextBox" Control
The RichTextBox control is used for displaying, entering, and manipulating text data. The
control is similar to the WordPad application, as it allows text formatting such as making the
text bold, applying bullets and links, and changing the font of the text. The control also loads
text and embedded images from a file, provides undo and redo editing operations, and allows
you to find specified characters.
The RichTextBox control, by default, displays both horizontal and vertical scrollbars. The
text in the RichTextBox control can either be accessed in text format or in rich text format
(.rtf).
Slide 15 of 3809/20/13
Property Description
Font Specifies or retrieves the font of the text displayed in the control.
ScrollBars Specifies or retrieves the type of scroll bars for the control.
SelectedText Specifies or retrieves the selected text in the control.
SelectionFont Specifies or retrieves the font of the selected text or at the insertion point.
SelectionLength Specifies or retrieves the number of characters selected in the control.
Text Specifies or retrieves the text in the control.
wordwrap Determines whether the control automatically wraps the words towards the beginning of the next line
whenever necessary.
Method Description
AppendText Adds text to the current text of a RichTextBox control.
Copy Copies the selected text from the control to the clipboard.
Paste Pastes the contents of the clipboard into the control.
Redo Performs the last operation again that was undone in the control.
Undo Undoes the last edit operation.
SelectAll Selects all text in the control.
Event Description
HScroll Occurs when the user clicks the horizontal scroll bar of the control.
VScroll Occurs when the user clicks the vertical scroll bar of the control.
Slide 16 of 3809/20/13
Slide 17 of 3809/20/13
Slide 18 of 1809/20/13
"ProgressBar" Control
The ProgressBar control is a window that can be used to indicate the progress of an
operation in an application.
This gives you an idea about how long it will take for the process to get complete.
The ProgressBar control can be implemented with or without using visual styles.

Mais conteúdo relacionado

Mais procurados (18)

Vs c# lecture1
Vs c# lecture1Vs c# lecture1
Vs c# lecture1
 
Maliram poonia project
Maliram poonia projectMaliram poonia project
Maliram poonia project
 
Lists
ListsLists
Lists
 
Windows form application_in_vb(vb.net --3 year)
Windows form application_in_vb(vb.net --3 year)Windows form application_in_vb(vb.net --3 year)
Windows form application_in_vb(vb.net --3 year)
 
java
javajava
java
 
ITS-16163-Module 8-Graphic User Interface (GUI)
ITS-16163-Module 8-Graphic User Interface (GUI)ITS-16163-Module 8-Graphic User Interface (GUI)
ITS-16163-Module 8-Graphic User Interface (GUI)
 
Vs c# lecture9
Vs c# lecture9Vs c# lecture9
Vs c# lecture9
 
Vs c# lecture5
Vs c# lecture5Vs c# lecture5
Vs c# lecture5
 
Spf chapter 03 WinForm
Spf chapter 03 WinFormSpf chapter 03 WinForm
Spf chapter 03 WinForm
 
CIS-166 Midterm
CIS-166 MidtermCIS-166 Midterm
CIS-166 Midterm
 
Vp lecture 4 ararat
Vp lecture 4 araratVp lecture 4 ararat
Vp lecture 4 ararat
 
Tree user interaction
Tree user interactionTree user interaction
Tree user interaction
 
Geogebra 4
Geogebra 4Geogebra 4
Geogebra 4
 
4. listbox
4. listbox4. listbox
4. listbox
 
Visualbasic tutorial
Visualbasic tutorialVisualbasic tutorial
Visualbasic tutorial
 
List of window and ms office shortcut by rana salah ud-din 0313-1613927
List of window and ms office shortcut by rana salah ud-din 0313-1613927List of window and ms office shortcut by rana salah ud-din 0313-1613927
List of window and ms office shortcut by rana salah ud-din 0313-1613927
 
2 front panel
2  front panel2  front panel
2 front panel
 
Print10
Print10Print10
Print10
 

Destaque

Introduction | Categories for Description of Works of Art | CDWA-LITE
Introduction | Categories for Description of Works of Art | CDWA-LITE Introduction | Categories for Description of Works of Art | CDWA-LITE
Introduction | Categories for Description of Works of Art | CDWA-LITE Kymberly Keeton
 
02 distances and scaling
02 distances and scaling02 distances and scaling
02 distances and scalingmrtangextrahelp
 
Chiller lạnh nước giải nhiệt nước
Chiller lạnh nước giải nhiệt nướcChiller lạnh nước giải nhiệt nước
Chiller lạnh nước giải nhiệt nướcNgoc Trinh Nguyen
 
Unit2 communication
Unit2 communicationUnit2 communication
Unit2 communicationIrinApat
 
Happy Children's Day - June 1st 2010
Happy Children's Day - June 1st 2010Happy Children's Day - June 1st 2010
Happy Children's Day - June 1st 2010AEC-Inglês
 
Is multi-model the future of NoSQL?
Is multi-model the future of NoSQL?Is multi-model the future of NoSQL?
Is multi-model the future of NoSQL?Max Neunhöffer
 
The.agassi.story.ecw.press.e book y-yepg
The.agassi.story.ecw.press.e book y-yepgThe.agassi.story.ecw.press.e book y-yepg
The.agassi.story.ecw.press.e book y-yepgKanukuntla Ranjith
 
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)eMan s.r.o.
 
Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)
Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)
Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)Andy Novian Ragiltya
 
Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...
Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...
Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...Awara Direct Search
 
Cuidado del medio ambiente (f
Cuidado del medio ambiente (fCuidado del medio ambiente (f
Cuidado del medio ambiente (fTomás Romero
 
Workplace Training follow up 6 months later
Workplace Training follow up 6 months laterWorkplace Training follow up 6 months later
Workplace Training follow up 6 months laterCentre for Mental Health
 
Assure assignment Wednesday
Assure assignment WednesdayAssure assignment Wednesday
Assure assignment Wednesdayzheaver
 
Yy (68)
Yy (68)Yy (68)
Yy (68)google
 

Destaque (20)

Introduction | Categories for Description of Works of Art | CDWA-LITE
Introduction | Categories for Description of Works of Art | CDWA-LITE Introduction | Categories for Description of Works of Art | CDWA-LITE
Introduction | Categories for Description of Works of Art | CDWA-LITE
 
Battery power systems
Battery power systemsBattery power systems
Battery power systems
 
Asma Mohammed Twuir Al
Asma Mohammed Twuir AlAsma Mohammed Twuir Al
Asma Mohammed Twuir Al
 
02 distances and scaling
02 distances and scaling02 distances and scaling
02 distances and scaling
 
Jiuzhou
JiuzhouJiuzhou
Jiuzhou
 
Chiller lạnh nước giải nhiệt nước
Chiller lạnh nước giải nhiệt nướcChiller lạnh nước giải nhiệt nước
Chiller lạnh nước giải nhiệt nước
 
Unit2 communication
Unit2 communicationUnit2 communication
Unit2 communication
 
Happy Children's Day - June 1st 2010
Happy Children's Day - June 1st 2010Happy Children's Day - June 1st 2010
Happy Children's Day - June 1st 2010
 
Is multi-model the future of NoSQL?
Is multi-model the future of NoSQL?Is multi-model the future of NoSQL?
Is multi-model the future of NoSQL?
 
The.agassi.story.ecw.press.e book y-yepg
The.agassi.story.ecw.press.e book y-yepgThe.agassi.story.ecw.press.e book y-yepg
The.agassi.story.ecw.press.e book y-yepg
 
AU6998 Datasheet
AU6998 DatasheetAU6998 Datasheet
AU6998 Datasheet
 
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)
 
Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)
Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)
Sertifikat EFSET EXPRESS Medium Proficiency (CEFR B1/B2)
 
Number and birthday meaning
Number and birthday meaningNumber and birthday meaning
Number and birthday meaning
 
Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...
Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...
Pavel Novotny. Prague Czech Republic Endlessly Attractive Place for your Busi...
 
Cuidado del medio ambiente (f
Cuidado del medio ambiente (fCuidado del medio ambiente (f
Cuidado del medio ambiente (f
 
Workplace Training follow up 6 months later
Workplace Training follow up 6 months laterWorkplace Training follow up 6 months later
Workplace Training follow up 6 months later
 
Assure assignment Wednesday
Assure assignment WednesdayAssure assignment Wednesday
Assure assignment Wednesday
 
Yy (68)
Yy (68)Yy (68)
Yy (68)
 
4 m & 1e
4 m & 1e4 m & 1e
4 m & 1e
 

Semelhante a Session 3 Bai 3 ve winform (20)

Session 2 Bai 2 ve winform
Session 2 Bai 2 ve winformSession 2 Bai 2 ve winform
Session 2 Bai 2 ve winform
 
unit3.2 (1).pptx
unit3.2 (1).pptxunit3.2 (1).pptx
unit3.2 (1).pptx
 
Combo box and List box in VB.Net.ppt
Combo box and List box in VB.Net.pptCombo box and List box in VB.Net.ppt
Combo box and List box in VB.Net.ppt
 
Basic controls in asp
Basic controls in aspBasic controls in asp
Basic controls in asp
 
Midterm Winter 10
Midterm  Winter 10Midterm  Winter 10
Midterm Winter 10
 
tree view control
 tree view control tree view control
tree view control
 
Unit2
Unit2Unit2
Unit2
 
5. combobox
5. combobox5. combobox
5. combobox
 
TrackBar and TreeView
TrackBar and TreeViewTrackBar and TreeView
TrackBar and TreeView
 
WPF Controls
WPF ControlsWPF Controls
WPF Controls
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training
 
Java awt
Java awtJava awt
Java awt
 
CheckBox In C#.pptx
CheckBox In C#.pptxCheckBox In C#.pptx
CheckBox In C#.pptx
 
4.7.14&17.7.14&23.6.15&10.9.15
4.7.14&17.7.14&23.6.15&10.9.154.7.14&17.7.14&23.6.15&10.9.15
4.7.14&17.7.14&23.6.15&10.9.15
 
Android interface elements and controls-chapter8
Android interface elements and controls-chapter8Android interface elements and controls-chapter8
Android interface elements and controls-chapter8
 
Acutate erd pro
Acutate erd proAcutate erd pro
Acutate erd pro
 
Vb6 ch.7-3 cci
Vb6 ch.7-3 cciVb6 ch.7-3 cci
Vb6 ch.7-3 cci
 
Winforms
WinformsWinforms
Winforms
 
Web Design & Development - Session 6
Web Design & Development - Session 6Web Design & Development - Session 6
Web Design & Development - Session 6
 
Windows controls in c
Windows controls in cWindows controls in c
Windows controls in c
 

Mais de mrtom16071980

Bai giang-ms-excel-2010
Bai giang-ms-excel-2010Bai giang-ms-excel-2010
Bai giang-ms-excel-2010mrtom16071980
 
Session 8 Bai 8 ve winform
Session 8 Bai 8 ve winformSession 8 Bai 8 ve winform
Session 8 Bai 8 ve winformmrtom16071980
 
Session 6 Bai 6 ve winform
Session 6 Bai 6 ve winformSession 6 Bai 6 ve winform
Session 6 Bai 6 ve winformmrtom16071980
 
Session 5 Bai 5 ve winform
Session 5 Bai 5 ve winformSession 5 Bai 5 ve winform
Session 5 Bai 5 ve winformmrtom16071980
 
Session 4 Bai 4 ve winform
Session 4 Bai 4 ve winformSession 4 Bai 4 ve winform
Session 4 Bai 4 ve winformmrtom16071980
 
Session 7 Bai 7 ve winform
Session 7 Bai 7 ve winformSession 7 Bai 7 ve winform
Session 7 Bai 7 ve winformmrtom16071980
 

Mais de mrtom16071980 (8)

Bai giang-ms-excel-2010
Bai giang-ms-excel-2010Bai giang-ms-excel-2010
Bai giang-ms-excel-2010
 
7314 l10 pwerpoint
7314 l10 pwerpoint7314 l10 pwerpoint
7314 l10 pwerpoint
 
hoc ve xml
hoc ve xmlhoc ve xml
hoc ve xml
 
Session 8 Bai 8 ve winform
Session 8 Bai 8 ve winformSession 8 Bai 8 ve winform
Session 8 Bai 8 ve winform
 
Session 6 Bai 6 ve winform
Session 6 Bai 6 ve winformSession 6 Bai 6 ve winform
Session 6 Bai 6 ve winform
 
Session 5 Bai 5 ve winform
Session 5 Bai 5 ve winformSession 5 Bai 5 ve winform
Session 5 Bai 5 ve winform
 
Session 4 Bai 4 ve winform
Session 4 Bai 4 ve winformSession 4 Bai 4 ve winform
Session 4 Bai 4 ve winform
 
Session 7 Bai 7 ve winform
Session 7 Bai 7 ve winformSession 7 Bai 7 ve winform
Session 7 Bai 7 ve winform
 

Último

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Último (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

Session 3 Bai 3 ve winform

  • 1. Session 3 Trình bày : Võ Ngọc Đạt Email : vongocdatit@gmail.com Điện thoại : 0934.969.680 Slide 1 of 3809/20/13 Advanced Controls
  • 2. Slide 2 of 2609/20/13 Module Introduction The Selection list controls that are used for selecting a value from a list. The ListView control displays a collection of items within a collection. The TreeView control displays the data in a hierarchical manner. The RichTextBox control allows displaying, entering, and manipulating text within the control. The ProgressBar control is used in applications
  • 3. Slide 3 of 3809/20/13 Selection List Controls Selection list controls are controls used for selecting a value from a specified range of values. These controls allow you to select values from a range using the up and down arrows. There are two types of selection list controls namely : + NumericUpDown + DomainUpDown.
  • 4. Slide 4 of 3809/20/13 "NumericUpDown" Control The NumericUpDown control is a selection list control that allows you to select numeric values from a range of values.
  • 5. Slide 5 of 3809/20/13 Property Description Increment Specifies or retrieves the value by which the current value in the control will be incremented or decremented when up or down button is clicked. Maximum Specifies or retrieves the maximum value that the control can have in a particular range. Minimum Specifies or retrieves the minimum value that the control can have in a particular range. ThousandsSeparator Specifies or retrieves a value indicating whether a thousands separator is displayed in the up-down control. Value Specifies or retrieves the value assigned to the control. Method Description DownButton Decreases the value of the up-down control. UpButton Increases the value of the up-down control. Event Description ValueChanged Occurs when the Value property of the control has been changed.
  • 6. Slide 6 of 3809/20/13 "DomainUpDown" Control The DomainUpDown control is a selection list control that allows you to select text values from a range of values. This control is generally used when the range of values indicates an order such as days of a week and months of the year.
  • 7. Slide 7 of 3809/20/13 Property Description Items Assigns a collection of objects to the control. MaximumSize Specifies or retrieves the maximum size of the up and down arrows. MinimumSize Specifies or retrieves the minimum size of the up and down arrows. Readonly Specifies or retrieves a value indicating whether the text in the control can be modified using the up and down buttons. SelectedItem Specifies or retrieves the selected item using the index value of the selected item in the collection. Method Description DownButton Displays the next item present in the object collection. UpButton Displays the previous item present in the object collection. Event Description Selectedltemchanged Occurs when the value of the Selectedltem property has been changed.
  • 8. Slide 8 of 3809/20/13 "ListView" Control The ListView control is used to display a collection of items in a list. This control allows you to add items to a collection and displays the items along with their icons, which can be small or large in size. There are five main views of ListView control,which are listed as follows: + Tile + List + Details + SmallIcon + LargeIcon
  • 9. Slide 9 of 3809/20/13 Property Description Columns Retrieves the collection of all column headers that are displayed in the control. Items Retrieves a collection that contains all items in the control. MultiSelect Specifies or retrieves a value that indicates whether multiple items can be selected. SelectedItems Retrieves the items that are selected in the control. View Specifies or retrieves how items are displayed in the control. The value of this property can be set using the different types of views defined in the View enumeration. The different types of views are Tile, List, Details, Smalllcon and Largelcon. Method Description Arrangelcons Arranges icons in the control when they are displayedas icons. Clear Removes all items and columns from the control. GetItemAt Retrieves the item at a specified location. Sort Sorts the list view items. Event Description ColumnClick Occurs when the column header within the list view control is clicked. Itemcheck Occurs when the check state of an item is modified. ItemSelectionChanged Occurs when the selection state of an item is changed. SelectedIndexChanged Occurs when the index of the selected item in the list view control is modified.
  • 10. Slide 10 of 3809/20/13
  • 11. Slide 11 of 3809/20/13 "TreeView" Control The TreeView control displays data in a hierarchical manner. This control is similar to the left pane of the Windows Explorer. The TreeView control has three types of nodes. These are: + Root + Parent + Leaf
  • 12. Slide 12 of 3809/20/13 Property Description Nodes Retrieves a set of TreeNode objects that represents theroot nodes of th e control. SelectedNode Specifies or retrieves the tree node that is currently selected in the control. ShowPlusMinus Specifies or retrieves a value, which indicates whether a plus sign (+) and minus sign (-) buttons are displayed next to tree nodes, which contain child tree nodes. ShowRootLines Specifies or retrieves a value, which indicates whetherlines are drawn between the tree nodes that are located at the root of the tree view. TopNode Retrieves the first tree node, which is completely visible in the control. Method Description GetNodeAt Retrieves the tree node at the specified location. GetNodeCount Retrieves the number of tree nodes, optionally including nodes in the subtrees. Event Description AfterCollapse Occurs after the tree node is collapsed. AfterExpand Occurs after the tree node within the control is expanded. AfterSelecc Occurs after the tree node is selected. NodeMouseClick Occurs when the user clicks a TreeNode with the mouse.
  • 13. Slide 13 of 3809/20/13
  • 14. Slide 14 of 3809/20/13 "RichTextBox" Control The RichTextBox control is used for displaying, entering, and manipulating text data. The control is similar to the WordPad application, as it allows text formatting such as making the text bold, applying bullets and links, and changing the font of the text. The control also loads text and embedded images from a file, provides undo and redo editing operations, and allows you to find specified characters. The RichTextBox control, by default, displays both horizontal and vertical scrollbars. The text in the RichTextBox control can either be accessed in text format or in rich text format (.rtf).
  • 15. Slide 15 of 3809/20/13 Property Description Font Specifies or retrieves the font of the text displayed in the control. ScrollBars Specifies or retrieves the type of scroll bars for the control. SelectedText Specifies or retrieves the selected text in the control. SelectionFont Specifies or retrieves the font of the selected text or at the insertion point. SelectionLength Specifies or retrieves the number of characters selected in the control. Text Specifies or retrieves the text in the control. wordwrap Determines whether the control automatically wraps the words towards the beginning of the next line whenever necessary. Method Description AppendText Adds text to the current text of a RichTextBox control. Copy Copies the selected text from the control to the clipboard. Paste Pastes the contents of the clipboard into the control. Redo Performs the last operation again that was undone in the control. Undo Undoes the last edit operation. SelectAll Selects all text in the control. Event Description HScroll Occurs when the user clicks the horizontal scroll bar of the control. VScroll Occurs when the user clicks the vertical scroll bar of the control.
  • 16. Slide 16 of 3809/20/13
  • 17. Slide 17 of 3809/20/13
  • 18. Slide 18 of 1809/20/13 "ProgressBar" Control The ProgressBar control is a window that can be used to indicate the progress of an operation in an application. This gives you an idea about how long it will take for the process to get complete. The ProgressBar control can be implemented with or without using visual styles.