60 Questions

Toolbox Mastery Quiz

Test your knowledge of all Windows Forms controls

0/60 answered 60 questions
1 What is the primary purpose of a Label control?
2 Which property sets the text displayed on a Label?
3 Can a Label be used as a shortcut key for another control?
4 What property makes a TextBox read-only?
5 How do you make a TextBox show password characters?
6 Which event fires when text in a TextBox changes?
7 What event is most commonly used with a Button?
8 How do you disable a Button?
9 What property sets the image displayed on a Button?
10 What property indicates whether a CheckBox is checked?
11 What event fires when a CheckBox is checked or unchecked?
12 What does the ThreeState property do on a CheckBox?
13 What is the purpose of RadioButton controls?
14 How do you group RadioButtons so only one can be selected?
15 What property indicates if a RadioButton is selected?
16 What does DropDownStyle property control?
17 How do you add items to a ComboBox in code?
18 What event fires when the selected item in a ComboBox changes?
19 What property determines how many items are visible in a ListBox?
20 How do you get the selected item from a ListBox?
21 What property allows multiple selection in a ListBox?
22 What is the difference between ListBox and CheckedListBox?
23 How do you check if an item is checked in a CheckedListBox?
24 What event fires when an item is checked or unchecked?
25 What control displays tabular data?
26 How do you bind data to a DataGridView?
27 What property gets the selected row in a DataGridView?
28 What control allows users to select a date?
29 What property gets the selected date from a DateTimePicker?
30 What format does a DateTimePicker display by default?
31 What is the purpose of a GroupBox?
32 What property sets the text in a GroupBox header?
33 Can a GroupBox contain other controls?
34 What control displays images?
35 What property sets the image in a PictureBox?
36 What does SizeMode property control?
37 What is the purpose of a Timer control?
38 What event does a Timer fire when the interval elapses?
39 How do you start a Timer?
40 What control creates menus like File, Edit, Help?
41 How do you add a menu item in the designer?
42 What event handles a menu item click?
43 What control creates a toolbar with buttons?
44 Can you add images to ToolStrip buttons?
45 What event handles a ToolStrip button click?
46 Where does a NotifyIcon appear?
47 What property sets the text shown when hovering over NotifyIcon?
48 How do you show a balloon tip from NotifyIcon?
49 Which control is used to define what gets printed?
50 Which control shows a preview before printing?
51 What event in PrintDocument draws the content to print?
52 Which dialog allows users to select a file to save?
53 What method shows a file dialog?
54 What property gets the selected file from OpenFileDialog?
55 What is the purpose of a SplitContainer?
56 What does TableLayoutPanel do?
57 What is the main difference between Panel and GroupBox?
58 What does RichTextBox do that a regular TextBox cannot?
59 What control displays web pages?
60 What is the purpose of ImageList control?