Common Control Events
Introduction
Button
button.Click += (_,_) =>
button.Text = "Clicked at " + DateTime.Now.ToString();button.Push += (_,_) =>
button.Text = "Pushed at " + DateTime.Now.ToString();CheckBox
checkbox.Checked += (_,_) =>
checkbox.Text = $"Checked at {DateTime.Now}";
checkbox.Unchecked += (_,_) =>
checkbox.Text = $"Unchecked at {DateTime.Now}";ComboBox
ListBox
MenuItem
Slider
TextBox
Last updated
Was this helpful?

