Пример #1
0
        /// <summary>
        /// Remove controls from criteria tab
        /// </summary>

        void ClearCriteriaTab()
        {
            if (Tabs.TabPages.Count == 0)
            {
                return;
            }

            CriteriaPanelPrototype.Clear();

            if (Tabs.SelectedTabPageIndex != 0)
            {
                Tabs.SelectedTabPageIndex = 0;                                                 // criteria tab is first
            }
        }