protected virtual void InvokeClosing(FormClosingEventArgs e) { ClosingEventHandler h = Closing; if (h != null) { h(this, e); } }
public SpeechBubble(SpeechHandler speechHandler) : this(speechHandler.Speaker) { speechHandler.Generate(this); Listeners = new List<Personnage>(speechHandler.Listeners); OnLaunching += new LaunchingEventHandler(SpeechBubble_OnLaunching); OnClosing += new ClosingEventHandler(SpeechBubble_OnClosing); }