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 |
How do I join one form to another in c#?
Which type of variables are under the control of garbage collector?
What is the difference between readonly and const
What are virtual classes in c#?
How do I do a case-insensitive string comparison?
What is an inheritance ?Give an example in which inheritance is used?
What are data types examples?
Is lazy thread safe c#?
what are the best design patterns for C#.Net?
Define the term immutable ?
Which framework is best for desktop application?
Can int be null in c#?