Ejemplo n.º 1
0
        /// <summary>
        /// Note: currently called in the context of ListUpdateHelper, which suspends the clerk from reloading its list
        /// until it is disposed. So, don't do anything here (eg. Clerk.SelectedRecordChanged())
        /// that depends upon a list being loaded yet.
        /// </summary>
        protected override void SetupDataContext()
        {
            TriggerMessageBoxIfAppropriate();

            if (m_treebarAvailability != TreebarAvailability.NotMyBusiness)
            {
                Clerk.ActivateUI(m_treebarAvailability == TreebarAvailability.Required);                //nb optional would be a bug here
            }
            m_fakeFlid = Clerk.VirtualFlid;
        }