Using Windows Controls
Số trang: 2
Loại file: pdf
Dung lượng: 16.81 KB
Lượt xem: 3
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Using Windows Controls Table 6.2 lists the commonly used Windows form controls that you can pick from the Windows Forms section of the Toolbox. You can place any of these controls on your Windows form
Nội dung trích xuất từ tài liệu:
Using Windows ControlsUsing Windows ControlsTable 6.2 lists the commonly used Windows form controls that you can pick from theWindows Forms section of the Toolbox. You can place any of these controls on yourWindows form. Table 6.2: COMMONLY USED WINDOWS FORM CONTROLSCONTROL DESCRIPTIONLabel Displays text. You set the text that you want to display using the Text property.LinkLabel Similar to a label, except it displays hyperlinks. You set the hyperlink that you want to display using the Text property. You set the navigation via the LinkClicked event.Button A clickable button. The Text property determines the text shown on the button.TextBox A box containing text that the user of your form may edit at runtime. The Text property contains the text contained in the TextBox.MainMenu A menu you can add to a form.CheckBox A check box contains a Boolean true/false value that is set to true by the user if they check the box. The Checked property indicates the Boolean value.RadioButton A radio button contains a Boolean true/false value that is set to true by the user if they click the button. The Checked property indicates the Boolean value.GroupBox A group box allows you to group related controls together. For example, you can group related radio buttons together. Most importantly, it allows you to treat multiple controls as a group.PictureBox A picture box displays an image that you set using the Image property.Panel A container for other controls such as radio buttons or group boxes.DataGrid A grid containing data retrieved from a data source, such as a database. You set the data source using the DataSource property.ListBox A list of options. You set the list of options using the Add() method of the Items collection property.CheckedListBox Similar to a list box except that a check mark is placed to the left of each item in the list. The check mark allows the user to select the items via a check box, as opposed to multiselecting with the Shift and/or Ctrl keys. Table 6.2: COMMONLY USED WINDOWS FORM CONTROLSCONTROL DESCRIPTIONComboBox Combines an editable field with a list box.In the next section, youll learn how to use a DataGrid control to access the rows in adatabase table.
Nội dung trích xuất từ tài liệu:
Using Windows ControlsUsing Windows ControlsTable 6.2 lists the commonly used Windows form controls that you can pick from theWindows Forms section of the Toolbox. You can place any of these controls on yourWindows form. Table 6.2: COMMONLY USED WINDOWS FORM CONTROLSCONTROL DESCRIPTIONLabel Displays text. You set the text that you want to display using the Text property.LinkLabel Similar to a label, except it displays hyperlinks. You set the hyperlink that you want to display using the Text property. You set the navigation via the LinkClicked event.Button A clickable button. The Text property determines the text shown on the button.TextBox A box containing text that the user of your form may edit at runtime. The Text property contains the text contained in the TextBox.MainMenu A menu you can add to a form.CheckBox A check box contains a Boolean true/false value that is set to true by the user if they check the box. The Checked property indicates the Boolean value.RadioButton A radio button contains a Boolean true/false value that is set to true by the user if they click the button. The Checked property indicates the Boolean value.GroupBox A group box allows you to group related controls together. For example, you can group related radio buttons together. Most importantly, it allows you to treat multiple controls as a group.PictureBox A picture box displays an image that you set using the Image property.Panel A container for other controls such as radio buttons or group boxes.DataGrid A grid containing data retrieved from a data source, such as a database. You set the data source using the DataSource property.ListBox A list of options. You set the list of options using the Add() method of the Items collection property.CheckedListBox Similar to a list box except that a check mark is placed to the left of each item in the list. The check mark allows the user to select the items via a check box, as opposed to multiselecting with the Shift and/or Ctrl keys. Table 6.2: COMMONLY USED WINDOWS FORM CONTROLSCONTROL DESCRIPTIONComboBox Combines an editable field with a list box.In the next section, youll learn how to use a DataGrid control to access the rows in adatabase table.
Tìm kiếm theo từ khóa liên quan:
kĩ thuật lập trình công nghệ thông tin lập trình ngôn ngữ lập trình C Shark C# sybex - c.sharp database programming Using Windows ControlsGợi ý tài liệu liên quan:
-
52 trang 429 1 0
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 310 0 0 -
74 trang 294 0 0
-
96 trang 289 0 0
-
Báo cáo thực tập thực tế: Nghiên cứu và xây dựng website bằng Wordpress
24 trang 288 0 0 -
Đồ án tốt nghiệp: Xây dựng ứng dụng di động android quản lý khách hàng cắt tóc
81 trang 277 0 0 -
EBay - Internet và câu chuyện thần kỳ: Phần 1
143 trang 272 0 0 -
Giáo trình Lập trình hướng đối tượng: Phần 2
154 trang 271 0 0 -
Tài liệu dạy học môn Tin học trong chương trình đào tạo trình độ cao đẳng
348 trang 269 1 0 -
Kỹ thuật lập trình trên Visual Basic 2005
148 trang 261 0 0