ARCed.UI.DockPaneCaptionBase.WndProc C# (CSharp) Method

WndProc() private method

private WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void
        protected override void WndProc(ref Message m)
        {
            if (m.Msg == (int)Msgs.WM_LBUTTONDBLCLK)
            {
                if (DockHelper.IsDockStateAutoHide(this.DockPane.DockState))
                {
                    this.DockPane.DockPanel.ActiveAutoHideContent = null;
                    return;
                }

                if (this.DockPane.IsFloat)
                    this.DockPane.RestoreToPanel();
                else
                    this.DockPane.Float();
            }
            base.WndProc(ref m);
        }