Example #1
0
        protected virtual void OnActivate(ChordEventArgs e)
        {
            ChordsEventHandler handler = this.Activate;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        protected virtual void OnActivate(ChordEventArgs e)
        {
            ChordsEventHandler activate = this.Activate;

            if (activate == null)
            {
                return;
            }
            activate((object)this, e);
        }