예제 #1
0
        private void txtFromAlias_LostFocus(object sender, RoutedEventArgs e)
        {
            FromTabStackPanelControl fromTabSPCntrl = new FromTabStackPanelControl();
            DependencyObject         parent         = fromTabSPCntrl.GetRVC(this.cmbFromTable);

            if (parent != null)
            {
                ResultViewControl rvc = (ResultViewControl)parent;
                fromTabSPCntrl.UpdateAllControls(rvc);
                rvc.SelectTabCntrl.ColsToSelectAcc.LayoutChildren(true);
            }
        }
예제 #2
0
        private void cmbFromTable_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (this.cmbFromTable.SelectedIndex > -1)
            {
                FromTabStackPanelControl fromTabSPCntrl = new FromTabStackPanelControl();
                DependencyObject         parent         = fromTabSPCntrl.GetRVC(this.cmbFromTable);

                if (parent != null)
                {
                    ResultViewControl rvc = (ResultViewControl)parent;
                    fromTabSPCntrl.UpdateAllControls(rvc);
                    rvc.SelectTabCntrl._SelectedColCollection.Clear();
                }
                this.cmbFromTable.Style = ComboboxOriginalStyle;
                for (int i = 0; i < this.StackPanelFromTab.Children.Count; i++)
                {
                    FromTabStackPanelControl fs1 = (FromTabStackPanelControl)this.StackPanelFromTab.Children[i];
                    LoadFromTableColumnComboBox(fs1);
                }
            }
        }
예제 #3
0
        private void txtFromAlias_LostFocus(object sender, RoutedEventArgs e)
        {
            FromTabStackPanelControl fromTabSPCntrl = new FromTabStackPanelControl();
            DependencyObject parent = fromTabSPCntrl.GetRVC(this.cmbFromTable);

            if (parent != null)
            {
                ResultViewControl rvc = (ResultViewControl)parent;
                fromTabSPCntrl.UpdateAllControls(rvc);
                rvc.SelectTabCntrl.ColsToSelectAcc.LayoutChildren(true);
            }
        }
예제 #4
0
        private void cmbFromTable_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (this.cmbFromTable.SelectedIndex > -1)
            {
                FromTabStackPanelControl fromTabSPCntrl = new FromTabStackPanelControl();
                DependencyObject parent = fromTabSPCntrl.GetRVC(this.cmbFromTable);

                if (parent != null)
                {
                    ResultViewControl rvc = (ResultViewControl)parent;
                    fromTabSPCntrl.UpdateAllControls(rvc);
                    rvc.SelectTabCntrl._SelectedColCollection.Clear();
                }
                this.cmbFromTable.Style = ComboboxOriginalStyle;
                for (int i = 0; i < this.StackPanelFromTab.Children.Count; i++)
                {
                    FromTabStackPanelControl fs1 = (FromTabStackPanelControl)this.StackPanelFromTab.Children[i];
                    LoadFromTableColumnComboBox(fs1);
                }
            }
        }