Ejemplo n.º 1
0
        private void m_dataEntryForm_CurrentSliceChanged(object sender, EventArgs e)
        {
            if (!m_showDescendantInRoot)
            {
                return;
            }

            if (m_dataEntryForm.Descendant != null && Clerk.CurrentObject != m_dataEntryForm.Descendant)
            {
                // if the user has clicked on a different descendant's slice, update the currently
                // selected record (we want to keep the browse view in sync), but do not change the
                // focus
                Clerk.JumpToRecord(m_dataEntryForm.Descendant.Hvo, true);
            }
        }