protected virtual void RaiseFilePainted(PainterEventArgs e)
        {
            EventHandler <PainterEventArgs> handler = FilePainted;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 protected virtual void RaiseFilePainted(PainterEventArgs e)
 {
     EventHandler<PainterEventArgs> handler = FilePainted;
     if (handler != null) handler(this, e);
 }