示例#1
0
        /// <summary>
        /// Show the buffer form (pass in the buffer array and the buffer's MovieType)
        /// </summary>
        private void mnuViewBuffer_Click(object sender, EventArgs e)
        {
            frmBuffer frm = new frmBuffer(ref FrameBuffer);

            frm.ShowDialog(this);
            frm.Dispose(ref FrameBuffer);

            // if the buffer array comes back empty, reset all the copy/paste options
            if (FrameBuffer.Input == null)
            {
                resetPasteControls();
            }
            else
            {
                enablePasteControls();
            }
        }
示例#2
0
        /// <summary>
        /// Show the buffer form (pass in the buffer array and the buffer's MovieType)
        /// </summary>
        private void mnuViewBuffer_Click(object sender, EventArgs e)
        {
            frmBuffer frm = new frmBuffer(ref FrameBuffer);
            frm.ShowDialog(this);
            frm.Dispose(ref FrameBuffer);

            // if the buffer array comes back empty, reset all the copy/paste options
            if (FrameBuffer.Input == null)
                resetPasteControls();
            else
                enablePasteControls();
        }