dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.22k stars 5.87k forks source link

Update "how to call an event handler" article to be more general #20133

Open Youssef1313 opened 4 years ago

Youssef1313 commented 4 years ago

I also strongly recommend re-writing the sample to be more generic. it's currently tied to WinForms while it's supposed to explain a more general thing "Events".

Originally posted by @Youssef1313 in https://github.com/dotnet/docs/pull/20130


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Youssef1313 commented 4 years ago

I forgot to add Document Details section from the beginning. This needs rerun-labels label so the bot can apply the correct label(s).

BillWagner commented 4 years ago

/cc @KathleenDollard

I like this idea @Youssef1313

Would you like to take this one on?

Youssef1313 commented 4 years ago

I currently have no great ideas. But I'll certainly work on it if I got something in mind.

zspitz commented 2 years ago

I would suggest using an example with Timer.Elapsed as it is the quintessential event.