How will U encapsulate button trigger event into text_box event of Pressing Enter key?
Answers were Sorted based on User's Feedback
Answer / sandipan4allinterview
protected void Button1_KeyDown(object sender, EventArgs e)
{
if(e.KeyCode == Keys.Enter)
{
///do your stuff
}
}
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / arvind kumar
encapsulation is a process in which we can get all the
imformation .
Is This Answer Correct ? | 0 Yes | 10 No |
What is virtual in c#?
What is difference between a function and a method?
How do you declare a variable in c#?
What is parallel foreach c#?
What are the types of threading models ?
write a C# Program add two matrix ?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
What is args c#?
What is a lambda expression in c#?
Explain Constructor and destructor?
What is lazy keyword in c#?
Can you specify an access modifier for an enumeration?