19 December 2018

c#basics Whastapp ListBox KeyPress KeyDown Leave DateTime.Now KeyValue

We built a chat Application (like Whatsapp, is typing …)
We learned how to add ListBox and more events into our WinForm application.

More topics covered:

  • ListBox (Add item, get count, set focus)
  • KeyPress event: whenever the user clicked on keyboard inside TextBox
  • KeyDown: here we can detect ENTER key [KeyValue == 13]
  • Leave: whenever the user left the TextBox
  • How to print the current Date-Time
  • How to convert Integer into String , i.e. x.ToString()

Links:

Leave a comment

Design a site like this with WordPress.com
Get started