Ejemplo n.º 1
0
        private void  一页NToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int next = m_sm.FirstResult + m_sm.MaxResult;

            if (next < m_sm.Count)
            {
                m_sm.FirstResult = next;
                m_sm.ReloadData();
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="e"></param>
        protected override void OnPositionChanged(EventArgs e)
        {
            if (!m_initialize)
            {
                m_searchManager.FirstResult = base.Position * m_searchManager.MaxResult;
                m_searchManager.ReloadData();
            }

            base.OnPositionChanged(e);
        }