Exemplo n.º 1
0
        // ********************************************************************************
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        /// <created>UPh,25.10.2015</created>
        /// <changed>UPh,25.10.2015</changed>
        // ********************************************************************************
        public bool EditTermBases()
        {
            Query.PauseRequests();
            Query.ResetIndex();

            bool bDataChanged = false;

            try
            {
                using (TermBaseSelectionForm form = new TermBaseSelectionForm(this))
                {
                    form.ShowDialog();
                    bDataChanged = form.DataChanged;
                }
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                Query.ResetIndex();
                Query.ResumeRequests();
                UpdateTermBases();
            }

            return(bDataChanged);
        }
Exemplo n.º 2
0
        // ********************************************************************************
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        /// <created>UPh,25.10.2015</created>
        /// <changed>UPh,25.10.2015</changed>
        // ********************************************************************************
        public bool EditTermBases()
        {
            Query.PauseRequests();
            Query.ResetIndex();

            bool bDataChanged = false;

            try
            {
                using (TermBaseSelectionForm form = new TermBaseSelectionForm(this))
                {
                    form.ShowDialog();
                    bDataChanged = form.DataChanged;
                }
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                Query.ResetIndex();
                Query.ResumeRequests();
                UpdateTermBases();
            }

            return bDataChanged;
        }