in C # what is an event? Does this look like an ActionScript Event ? Is it different? In what?
An event in C # is a way for a class to provide notifications to clients of this class when some interesting thing happens to the object. Most familiar use of events is graphical user interfaces; Typically, classes representing controls in an interface have events that are notified when the user does something to the control (for example, click a button).
, , # http://msdn.microsoft.com/en-us/library/aa645739%28VS.71%29.aspx
# - , -
- , , - . , , , , . .
: http://www.codeproject.com/KB/cs/csevents01.aspx
" # - , - . - , , , , , - (, ).
: http://msdn.microsoft.com/en-us/library/aa645739(VS.71).aspx
, ActionScript.
Event , EventArgs
MSDN - .
Short version: events are a conceptual subtlety that simplifies the implementation of the notification callback / subscription model.
An event is a programming construct in accordance with which a class or object, in order to be specific, reports (notifies) a specific state change to a list of signed objects in multicast mode.
Source: https://habr.com/ru/post/1747252/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1747247/passing-a-hostname-of-over-255-characters-to-getaddrinfo-causes-a-getaddrinfo-failed-memory-allocation-failure-why&usg=ALkJrhjTDTNifpUkoLMxeHFEJxD46jRQmwMySQL text box issues - phpHow to determine the remote pause (in headphones) compared to an incoming call - objective-cquestion regarding rails framework code - ruby | fooobar.comJson return invokes file save dialog in asp.net mvc - jsonEvents in C # - Definition and Example - c #Как метаданные maven buildNumber становятся непоследовательными для нескольких агентов сборки? - maven-2TortoiseSvn Merge, за которым следует Create Patch, не включает новые файлы - mergeFriendly URLs in Google App Engine - pythonC # .net change label text - c #All Articles