group 4 Flashcards

1
Q

a way for your program to respond to user actions, like clicking a button or typing text

A

Event handling in Windows Forms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

is the mechanism that controls the event and decides what should happen if an event occurs

A

Event Handling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

This mechanism have the code which is known as event handler that is executed when an event occurs

A

Event Handling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In simple terms, event handling is like

A

setting up a cause and effect: “When the user does this (cause), the program should do that (effect).”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Event Handling allows your application to interact with users in a ___, making it ___ to their actions.

A

dynamic way; responsive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

refer to actions or occurrences, like a user pressing a key, clicking a button, moving the mouse, or system-generated notifications

A

Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Applications respond to these events when they happen

A

Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

For instance, clicking a button or entering text in a box triggers an event, which can…

A

call a function or cause another event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Example:

A

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

MessageBox.Show("Button was clicked!")

End Sub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

common types of events: (5)

A

Keyboard/touch events
Click events
Mouse hover events
Form/submit events
Drag and drop events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Triggered by pressing or releasing keys on a keyboard or interacting with a touch-enabled device

A

Keyboard/touch events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Occur when a user clicks on an element

A

Click events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Activated when a user moves the mouse or scrolls

A

Mouse hover events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Triggered by submitting, modifying, or resetting a form

A

Form/submit events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Happen when a user drags and drops elements on a page

A

Drag and drop events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

within classes, structures, modules, and interfaces using the Event keyword

A

Declaring Events

17
Q

act of broadcasting the message

A

Raising Events

18
Q

also called an event source

A

Event Senders

19
Q

is any object that can trigger an event. Examples include forms, controls, and custom-made objects

A

Event Senders

20
Q

are procedures that run when a matching event happens

A

Event Handlers

21
Q

can use a subroutine as an event handler, but not a function, since it can’t return a value to the event source.

A

Event Handlers