Пример #1
0
        void UpdateKey()
        {
            UpdateSliderControls(this);

            object pFrameRes, pFrameBG;

            m_pKey.KeyFrameGet(out pFrameRes, out pFrameBG);
            if (pFrameBG != null)
            {
                System.Runtime.InteropServices.Marshal.ReleaseComObject(pFrameBG);
            }
            if (pFrameRes != null)
            {
                UpdatePicture(pFrameRes);
            }
        }