mony Ahmed
code in C# to perform the same operation of button Enter
By mony Ahmed in C# on Mar 17 2014
  • Farhan Shariff
    Mar, 2014 18

    private void OnKeyDownHandler(object sender, KeyEventArgs e) { if (e.Key == Key.Return) { textBlock1.Text = "You Entered: " + textBox1.Text; } } If the key that is pressed is the Enter key, a message is displayed in the TextBlock.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS