C#: Consuming and Creating Events

Опубликовано: 11 Июль 2026
на канале: Edward Tanguay
97
4

When programming in Silverlight, WPF, Console Applications and classic ASP.NET, you'll often need to respond to an event such as a mouse click or mouseover. Luckily, Visual Studio makes it easy. In this lesson, you'll learn how to respond to Button and TextBlock mouse clicks in both XAML and code-behind. You'll also see how to create an event in a custom class and respond to it.