Question: a. Based on the given C# code below, what is the difference between e.KeyCode, e.KeyData, and e.KeyValue? private void Form1_KeyDown(object sender, KeyEventArgs e) { keyInfoLabel.Text
a. Based on the given C# code below, what is the difference between e.KeyCode, e.KeyData, and e.KeyValue?
private void Form1_KeyDown(object sender, KeyEventArgs e) {
keyInfoLabel.Text =
"KeyCode: " + e.KeyCode + ' ' +
"KeyData: " + e.KeyData + ' ' +
"KeyValue: " + e.KeyValue;
}
b. What is the difference between a component and a control ? Give an example of one component and specify two of its properties with explanation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
