protected virtual void InvokeClosing(FormClosingEventArgs e)
        {
            ClosingEventHandler h = Closing;

            if (h != null)
            {
                h(this, e);
            }
        }
예제 #2
0
        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);
        }