Deck 15: GUI With Windows Forms: Part 2
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/73
العب
ملء الشاشة (f)
Deck 15: GUI With Windows Forms: Part 2
1
Creating a window menu is mostly done through programming in the form load event.
False
entire menus can be created by just dragging and dropping and editing properties in Visual Studio.
entire menus can be created by just dragging and dropping and editing properties in Visual Studio.
2
Menus group similar commands and prevent GUI clutter.
True
3
What event occurs when a new date is selected
A) NewDate
A) NewDate
D
4
LinkLabels are used to:
A) organize a group of labels
B) bring the user to a desired location
C) allow many labels to be modified during runtime all at once
D) All of the above
A) organize a group of labels
B) bring the user to a desired location
C) allow many labels to be modified during runtime all at once
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
5
Only one date can be selected at a time in the MonthCalendar control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
6
The ShortcutKeys property is used to set which key combination can be used instead of clicking on a menu item.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
7
For a selection,the user must type the desired date.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
8
Shortcuts to LinkLabels can also be created using the ampersand key (&)when the feature is enabled.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
9
To set an underline shortcut in a Menu,you use the tilde key (~).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
10
LinkLabels appear as Buttons that bring a user to another location.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
11
Custom controls can be created but cannot be inserted into the toolbox.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
12
LinkLabels are used to open up a web page or other desired location.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
13
The LinkVisited property is used to:
A) determine if a link has be visited by the user previously
B) set what the color will be for an already visited link
C) set the link color to the VisitedLinkColor as opposed to the LinkColor
D) change the destination of the link
A) determine if a link has be visited by the user previously
B) set what the color will be for an already visited link
C) set the link color to the VisitedLinkColor as opposed to the LinkColor
D) change the destination of the link
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
14
What does the MonthCalendar allow for
A)time selection
B)date selection
C)a and b
D)None of the above
A)time selection
B)date selection
C)a and b
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
15
The Format property specifies the user's selection options using the DateTimePickerFormat enumeration.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following statements are true about menus created through C#
A)Provide groups of related commands for Windows apps.
B)Organize commands without cluttering the GUI
C)Have the capacity to create shortcuts for the menu commands
D)All of the above
A)Provide groups of related commands for Windows apps.
B)Organize commands without cluttering the GUI
C)Have the capacity to create shortcuts for the menu commands
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
17
What does the DateTimePicker allow for
A)time selection
B)date selection
C)a and b
D)None of the above
A)time selection
B)date selection
C)a and b
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
18
Menus are used to offer several organized choices for the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
19
What is the event when a value is selected
A) ValueChanged
A) ValueChanged
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
20
Users can input and display dates and times through:
A) the MonthCalendar control
B) the DateTimePicker control
C) the CalendarTime control
D) a and b
A) the MonthCalendar control
B) the DateTimePicker control
C) the CalendarTime control
D) a and b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
21
If you want a user to select several choices you should use:
A) a ListBox
B) a CheckListBox
C) either a ListBox or a CheckedListBox
D) neither a ListBox or a CheckedListBox
A) a ListBox
B) a CheckListBox
C) either a ListBox or a CheckedListBox
D) neither a ListBox or a CheckedListBox
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
22
To add an item to a ListBox use the Add method of the Items property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
23
The MaxDropDownItems property
A) sets the maximum number of items the list can hold
B) creates a scrollbar on the list after it exceeds the set max
C) creates a max to how many items the user can add to the list
D) can be set from 1 to 1000
A) sets the maximum number of items the list can hold
B) creates a scrollbar on the list after it exceeds the set max
C) creates a max to how many items the user can add to the list
D) can be set from 1 to 1000
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
24
The UseMnemonic property indicates that ampersand (&)should be interpreted as a shortcut rather than an actual character.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
25
A ComboBox is a TextBox with a drop-down list.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
26
Class CheckedListBox derives from class ListBox and contains similar properties.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
27
In order to have a program close use:
A) the reserved word exit
B) the reserved word unload
C) Application.Exit()
D) Application.Unload()
A) the reserved word exit
B) the reserved word unload
C) Application.Exit()
D) Application.Unload()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ItemCheck event occurs when an item is either checked or unchecked.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
29
The syntax for adding a new item to a ListBox is:
A) ListBox.Items.Add("item")
B) ListBox.Add("item")
C) ListBox.Items.Insert("item")
D) ListBox.Insert("item")
A) ListBox.Items.Add("item")
B) ListBox.Add("item")
C) ListBox.Items.Insert("item")
D) ListBox.Insert("item")
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
30
If the user has not selected any items from the ListBox then SelectedIndex returns 0.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
31
By default,ListBox items cannot be changed by the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
32
The DropDownList style of a ComboBox prevents the user from entering items.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
33
The GetItemChecked method returns the last item that was checked by the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
34
In a ComboBox only the programmer can enter items to the list.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
35
There are three selection modes for a ListBox;none,one,or multi.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
36
To add an item to a CheckedListBox use:
A) the Add method
B) the AddRange method
C) the String Collection Editor
D) All of the above
A) the Add method
B) the AddRange method
C) the String Collection Editor
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
37
To remove an item from a ListBox,use the Delete method of the Items property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
38
In order to clear a ListBox's items,the syntax is:
A) ListBox.Items.Clear()
B) ListBox.Items.DeleteItem.All()
C) ListBox.Clear()
D) ListBox.Items.DeleteAll()
A) ListBox.Items.Clear()
B) ListBox.Items.DeleteItem.All()
C) ListBox.Clear()
D) ListBox.Items.DeleteAll()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
39
Setting the SelectionMode property to SelectionMode.One allows only one checkbox to be checked at once.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
40
The SelectedIndex property returns the index of the selected item.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
41
The Activation property of a ListView can be set to:
A) OneClick
B) TwoClick
C) Standard
D) All of the above
A) OneClick
B) TwoClick
C) Standard
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
42
Windows within windows are called the sub-windows of the original windows.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
43
An example of a ListView is the right side of windows explorer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
44
The GetDirectories method of class Directory will return an array of sub-directories of the given directory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
45
In order to have a tree,you must first make a root node that acts as the base for all the other nodes in the tree.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
46
The SelectedIndexChanged occurs when the user selects a different item from the list.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
47
What event is generated when an MDI child is closed or activated
A) MdiChildStatusChanged
B) MdiChildActivate
C) MdiChildModified
D) MdiChildCA
A) MdiChildStatusChanged
B) MdiChildActivate
C) MdiChildModified
D) MdiChildCA
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
48
The View property can be changed to LargeIcon,SmallIcon,List or Details.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
49
The ItemSize property is used to determine
A) how big controls on each TabPage can be
B) the actual size of each TabPage
C) the size of the tab for each TabPage
D) there is no ItemSize property
A) how big controls on each TabPage can be
B) the actual size of each TabPage
C) the size of the tab for each TabPage
D) there is no ItemSize property
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
50
The Exists method of class Directory is used to:
A) check if a given directory has sub-directories
B) check if a given directory actually exists
C) make sure that the List has a beginning and an ending
D) check for an actual list by making sure the first and last elements are not the same, meaning the list only has one item in it.
A) check if a given directory has sub-directories
B) check if a given directory actually exists
C) make sure that the List has a beginning and an ending
D) check for an actual list by making sure the first and last elements are not the same, meaning the list only has one item in it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
51
TabPages can contain only buttons,checks and labels
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
52
A good example of an MDI program is:
A) Notepad
B) Adobe Photoshop
C) Internet Explorer
D) All of the above
A) Notepad
B) Adobe Photoshop
C) Internet Explorer
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
53
Each TabPage on the form must use the same event triggers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
54
An example of a TreeView is:
A) all of your e-mail
B) a Web site in Internet Explorer
C) the My Computer folder
D) the left side of Windows Explorer
A) all of your e-mail
B) a Web site in Internet Explorer
C) the My Computer folder
D) the left side of Windows Explorer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
55
The main purpose of tabbed windows are:
A) to group controls
B) to conserve screen space
C) to organize the form
D) All of the above
A) to group controls
B) to conserve screen space
C) to organize the form
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
56
The MultiLine property determines whether tabs can fill more than one row or not.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
57
There is no way to expand or contract a TreeView.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
58
When adding a node to a tree use:
A) treeView.Nodes[ parentIndex ].Nodes.Add(new TreeNode(ChildLabel))
B) treeView.Node[parentIndex].Add(new TreeNode(ChildLabel))
C) treeView.Node[parentIndex].Add(ChildLabel)
D) treeView.Node[parentIndex].Nodes.Add(ChildLabel)
A) treeView.Nodes[ parentIndex ].Nodes.Add(new TreeNode(ChildLabel))
B) treeView.Node[parentIndex].Add(new TreeNode(ChildLabel))
C) treeView.Node[parentIndex].Add(ChildLabel)
D) treeView.Node[parentIndex].Nodes.Add(ChildLabel)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
59
A tree is a hierarchical collection of child and parent nodes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
60
In order to create an MDI Form the programmer has to enable that form to be an MDI container.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
61
Timers run on an interval event,which they create themselves.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
62
The only controls available are the ones provided in C#.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
63
All controls contain the method OnPaint which is used to change the display on a control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
64
To inherit a form you must import thedll file that is created by the form desired.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
65
Inheriting a form can be difficult in C#.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
66
Users should not create controls that:
A) extend existent controls
B) perform the same function as an existing control
C) inherit from class UserControl
D) a and c
E) b and c
A) extend existent controls
B) perform the same function as an existing control
C) inherit from class UserControl
D) a and c
E) b and c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
67
In visual inheritance,the System.Windows.Forms.Form class is used as the base class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
68
Visual inheritance is used to create visual consistence and uniformity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
69
The user can tile or cascade the open children windows.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
70
Forms can also inherit visually:
A) size
B) GUI components
C) color and font styles
D) All of the above
A) size
B) GUI components
C) color and font styles
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
71
Forms can inherit:
A) methods
B) variables
C) controls
D) All of the above
A) methods
B) variables
C) controls
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
72
In order to make a control composed of existing controls,the programmer needs to:
A) inherit the Form class
B) inherit the Object class
C) inherit the UserControl class
D) All of the above
A) inherit the Form class
B) inherit the Object class
C) inherit the UserControl class
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck
73
The MdiChildren property returns a list of all the created children as an array of Forms.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 73 في هذه المجموعة.
فتح الحزمة
k this deck