ImageGlass.ImageBox.OnGridDisplayModeChanged C# (CSharp) Method

OnGridDisplayModeChanged() protected method

Raises the GridDisplayModeChanged event.
protected OnGridDisplayModeChanged ( EventArgs e ) : void
e System.EventArgs /// The instance containing the event data. ///
return void
        protected virtual void OnGridDisplayModeChanged(EventArgs e)
        {
            EventHandler handler;

            InitializeGridTile();
            Invalidate();

            handler = GridDisplayModeChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
ImageBox