protected virtual void OnFlash(FlashEventArgs e)
        {
            EventHandler <FlashEventArgs> handler = Flash;

            if (handler != null)
            {
                handler(this, e);
            }
        }
        //
        // PRIVATE
        //
        private void FlashElement_Flash(object sender, FlashEventArgs e)
        {
            Model model = (Model)base.Container;

            if (model.InvokeRequired)
            {
                model.Invoke(new EventHandler <FlashEventArgs>(this.FlashElement_Flash), new object[] { sender, e });
            }
            else
            {
                this.m_flash = e.Flash;
                this.Invalidate();
            }
        }
 //
 // PRIVATE
 //
 private void FlashElement_Flash(object sender, FlashEventArgs e) {
     Model model = (Model)base.Container;
     if (model.InvokeRequired) {
         model.Invoke(new EventHandler<FlashEventArgs>(this.FlashElement_Flash), new object[] { sender, e });
     }
     else {
         this.m_flash = e.Flash;
         this.Invalidate();
     }
 }
 protected virtual void OnFlash(FlashEventArgs e) {
     EventHandler<FlashEventArgs> handler = Flash;
     if (handler != null) {
         handler(this, e);
     }
 }