Beispiel #1
0
        /// <summary>
        /// Get File Count and init some value
        /// </summary>
        private void GetFileCountInfo()
        {
            int iret = -1;

            iret = NVSSDK.NetClient_NetFileGetFileCount(m_iLogonID, ref m_iTotalCount, ref m_iCurrentCount);
            if (iret < 0)
            {
                MessageBox.Show("NetClient_NetFileGetFileCount failed");
            }
            if (m_iTotalCount > 0)
            {
                m_iTotalPage = m_iTotalCount / (NVSSDK.MAX_PAGESIZE) + 1;
            }
        }