////////////////
        /// Get/Put AutoShow
        private void TestAutoShow()
        {
            int    hr;
            OABool autoShow1, autoShow2;

            // Read the current autoshow
            hr = m_ivw.get_AutoShow(out autoShow1);
            Marshal.ThrowExceptionForHR(hr);

            // reverse it and write it
            hr = m_ivw.put_AutoShow(~autoShow1);
            Marshal.ThrowExceptionForHR(hr);

            // Read the autoshow
            hr = m_ivw.get_AutoShow(out autoShow2);
            Marshal.ThrowExceptionForHR(hr);

            // Make sure the value we set is what we just read
            Debug.Assert(autoShow1 != autoShow2, "Put/Get AutoShow");

            // Try it the other way

            // Read the current autoshow
            hr = m_ivw.get_AutoShow(out autoShow1);
            Marshal.ThrowExceptionForHR(hr);

            // reverse it and write it
            hr = m_ivw.put_AutoShow(~autoShow1);
            Marshal.ThrowExceptionForHR(hr);

            // Read the autoshow
            hr = m_ivw.get_AutoShow(out autoShow2);
            Marshal.ThrowExceptionForHR(hr);

            // Make sure the value we set is what we just read
            Debug.Assert(autoShow1 != autoShow2, "Put/Get AutoShow");
        }