NetIde.Shell.NiWindowPane.OnFrameShow C# (CSharp) Method

OnFrameShow() protected method

protected OnFrameShow ( NiWindowShowEventArgs e ) : void
e NiWindowShowEventArgs
return void
        protected virtual void OnFrameShow(NiWindowShowEventArgs e)
        {
            var ev = FrameShow;
            if (ev != null)
                ev(this, e);
        }

Usage Example

Example #1
0
            public void OnShow(NiWindowShow action)
            {
                try
                {
                    _window.OnFrameShow(new NiWindowShowEventArgs(action));

                    if (action == NiWindowShow.Close)
                    {
                        Dispose();
                    }
                }
                catch (Exception ex)
                {
                    Log.Warn("Failed to publish frame show event", ex);
                }
            }