System.Windows.Forms.ToolBarButton.GetPushedState C# (CSharp) 메소드

GetPushedState() 개인적인 메소드

private GetPushedState ( ) : bool
리턴 bool
        private bool GetPushedState()
        {
            if ((int)parent.SendMessage(NativeMethods.TB_ISBUTTONCHECKED, FindButtonIndex(), 0) != 0) {
                pushed = true;
            }
            else {
                pushed = false;
            }

            return pushed;
        }