Ejemplo n.º 1
0
        private void LoadFromTableColumnComboBox(FromTabStackPanelControlMore fs)
        {
            MainWindow mainWindow = (MainWindow)GetTopLevelControl(this.cmbFromTabJoinType);

            FromTabControl   fromTabCntrl = new FromTabControl();
            DependencyObject parent1      = this.GetRVCFromTab(this.cmbFromTabFromColumns);

            if (parent1 != null)
            {
                fromTabCntrl = (FromTabControl)parent1;
            }

            if (this.cmbFromTabJoinType.SelectedIndex != -1)
            {
                if (mainWindow.listOfTable != null & mainWindow.listOfTable.Count > 0)
                {
                    fs.cmbFromTabFromColumns.Text        = "";
                    fs.cmbFromTabFromColumns.ItemsSource = Common.ConvertColumsToStringList(mainWindow.listOfTable[fromTabCntrl.cmbFromTable.SelectedIndex].columns);
                    if (this.cmbFromTabJoinTable.SelectedIndex != -1)
                    {
                        fs.cmbFromTabJoinColumns.ItemsSource = Common.ConvertColumsToStringList(mainWindow.listOfTable[this.cmbFromTabJoinTable.SelectedIndex].columns);
                    }
                }
            }
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\MainWindow.xaml"
     ((FastDB.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\MainWindow.xaml"
     ((FastDB.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 17 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);
     
     #line default
     #line hidden
     
     #line 17 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 18 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);
     
     #line default
     #line hidden
     
     #line 18 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 19 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);
     
     #line default
     #line hidden
     
     #line 19 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 20 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);
     
     #line default
     #line hidden
     
     #line 20 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);
     
     #line default
     #line hidden
     return;
     case 6:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.DockPaenlMain = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 8:
     this.MainMenuStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.MainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 10:
     this.menuItemNew = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 11:
     this.menuItemOpen = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 12:
     this.menuItemSave = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 13:
     this.menuItemSaveAs = ((System.Windows.Controls.MenuItem)(target));
     
     #line 78 "..\..\..\MainWindow.xaml"
     this.menuItemSaveAs.Click += new System.Windows.RoutedEventHandler(this.menuItemSaveAs_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.menuItemImportScript = ((System.Windows.Controls.MenuItem)(target));
     
     #line 81 "..\..\..\MainWindow.xaml"
     this.menuItemImportScript.Click += new System.Windows.RoutedEventHandler(this.menuItemImportScript_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.menuItemExit = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 16:
     this.menuItemExportToPDF = ((System.Windows.Controls.MenuItem)(target));
     
     #line 90 "..\..\..\MainWindow.xaml"
     this.menuItemExportToPDF.Click += new System.Windows.RoutedEventHandler(this.menuItemExportToPDF_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.menuItemExportToExcel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 91 "..\..\..\MainWindow.xaml"
     this.menuItemExportToExcel.Click += new System.Windows.RoutedEventHandler(this.menuItemExportToExcel_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.menuItemViewHelp = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 19:
     this.menuItemAbout = ((System.Windows.Controls.MenuItem)(target));
     
     #line 103 "..\..\..\MainWindow.xaml"
     this.menuItemAbout.Click += new System.Windows.RoutedEventHandler(this.menuItemAbout_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.MainTreeViewDocPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 21:
     this.TreeViewHideStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 22:
     this.BtnHideTreView = ((System.Windows.Controls.Button)(target));
     
     #line 121 "..\..\..\MainWindow.xaml"
     this.BtnHideTreView.Click += new System.Windows.RoutedEventHandler(this.BtnHideTreView_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.TreeViewDocPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 24:
     this.BtnPin = ((System.Windows.Controls.Button)(target));
     
     #line 154 "..\..\..\MainWindow.xaml"
     this.BtnPin.Click += new System.Windows.RoutedEventHandler(this.BtnPin_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.TreeViewMask = ((System.Windows.Controls.Border)(target));
     return;
     case 26:
     this.MainTreeView = ((System.Windows.Controls.TreeView)(target));
     
     #line 179 "..\..\..\MainWindow.xaml"
     this.MainTreeView.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.MainTreeView_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 27:
     this.adornedControl = ((FastDB.Control.AdornedControl)(target));
     return;
     case 28:
     this.DocPanelCustomQuery = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 29:
     this.CustomQueryTxTBlk = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 30:
     this.reSizeButton = ((System.Windows.Controls.Button)(target));
     
     #line 267 "..\..\..\MainWindow.xaml"
     this.reSizeButton.Click += new System.Windows.RoutedEventHandler(this.reSizeButton_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.BtnPinCustomQueryWindow = ((System.Windows.Controls.Button)(target));
     
     #line 304 "..\..\..\MainWindow.xaml"
     this.BtnPinCustomQueryWindow.Click += new System.Windows.RoutedEventHandler(this.BtnPinCustomQueryWindow_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.DockCustomQueryWindow = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 33:
     this.tabControlCustomQuery = ((System.Windows.Controls.TabControl)(target));
     
     #line 328 "..\..\..\MainWindow.xaml"
     this.tabControlCustomQuery.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControlCustomQuery_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 34:
     this.FromTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 35:
     this.FromTabUC = ((FastDB.Control.FromTabControl)(target));
     return;
     case 36:
     this.WhereTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 37:
     this.WhereTabUC = ((FastDB.Control.WhereTabControl)(target));
     return;
     case 38:
     this.SelectTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 39:
     this.SelectTabUC = ((FastDB.Control.SelectTabControl)(target));
     return;
     case 40:
     this.TabulationTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 41:
     this.TabulationTabUC = ((FastDB.Control.TabulationTabControl)(target));
     return;
     case 42:
     this.CrossTabulationTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 43:
     this.CrossTabulationTabUC = ((FastDB.Control.CrossTabulationTabControl)(target));
     return;
     case 44:
     this.ActionsTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 45:
     this.lblActionTabErrorMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 46:
     this.txtQuery = ((System.Windows.Controls.TextBox)(target));
     return;
     case 47:
     this.btnRunQuery = ((System.Windows.Controls.Button)(target));
     
     #line 349 "..\..\..\MainWindow.xaml"
     this.btnRunQuery.Click += new System.Windows.RoutedEventHandler(this.btnRunQuery_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     
     #line 368 "..\..\..\MainWindow.xaml"
     this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 49:
     this.Logo = ((System.Windows.Controls.Image)(target));
     return;
     case 50:
     this.LogoTxt = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ShortCutsToolBar = ((System.Windows.Controls.ToolBar)(target));
     
     #line 99 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ShortCutsToolBar.Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ExecuteQueryBtn = ((System.Windows.Controls.Button)(target));
     
     #line 101 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ExecuteQueryBtn.Click += new System.Windows.RoutedEventHandler(this.RunQueryBtn_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.StopExecutionBtn = ((System.Windows.Controls.Button)(target));
     
     #line 104 "..\..\..\..\Control\ResultViewControl.xaml"
     this.StopExecutionBtn.Click += new System.Windows.RoutedEventHandler(this.StopExecutionBtn_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SaveQueryBtn = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\..\..\Control\ResultViewControl.xaml"
     this.SaveQueryBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryBtn_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.SaveQueryAsBtn = ((System.Windows.Controls.Button)(target));
     
     #line 110 "..\..\..\..\Control\ResultViewControl.xaml"
     this.SaveQueryAsBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryAsBtn_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ExportToExcel = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ExportToExcel.Click += new System.Windows.RoutedEventHandler(this.ExportToExcel_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ExportToFolder = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\..\..\Control\ResultViewControl.xaml"
     this.ExportToFolder.Click += new System.Windows.RoutedEventHandler(this.SaveXML_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.RVCTAbControl = ((System.Windows.Controls.TabControl)(target));
     
     #line 122 "..\..\..\..\Control\ResultViewControl.xaml"
     this.RVCTAbControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RVCTAbControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.QueryTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 10:
     this.CustomQueryAccordion = ((System.Windows.Controls.Accordion)(target));
     
     #line 133 "..\..\..\..\Control\ResultViewControl.xaml"
     this.CustomQueryAccordion.SelectedItemsChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(this.CustomQueryAccordion_SelectedItemsChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.FromAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 12:
     this.FromAccItemDummyGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.FromTabCntrl = ((FastDB.Control.FromTabControl)(target));
     return;
     case 14:
     this.SelectAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 15:
     this.SelectGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.SelectTabCntrl = ((FastDB.Control.SelectTabControl)(target));
     return;
     case 17:
     this.WhereAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 18:
     this.WhereGrid = ((System.Windows.Controls.Grid)(target));
     
     #line 168 "..\..\..\..\Control\ResultViewControl.xaml"
     this.WhereGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WhereGrid_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.WhereTabCntrl = ((FastDB.Control.WhereTabControl)(target));
     return;
     case 20:
     this.TabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 21:
     this.TabulationTabCntrl = ((FastDB.Control.TabulationTabControl)(target));
     return;
     case 22:
     this.CrossTabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
     return;
     case 23:
     this.CrossTabulationTabCntrl = ((FastDB.Control.CrossTabulationTabControl)(target));
     return;
     case 24:
     this.ResultTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 25:
     this.StackPanelResultViewControl = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 26:
     this.XmlQueryTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 27:
     this.lblXmlQueryTabErrorMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.XmlQueryTabTxt = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.XmlSQLTab = ((FastDB.CloseableTabItem)(target));
     return;
     case 30:
     this.lblXmlSQLTabErrorMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.chkSQL = ((System.Windows.Controls.CheckBox)(target));
     
     #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
     this.chkSQL.Checked += new System.Windows.RoutedEventHandler(this.OnChecked_chkSSQL);
     
     #line default
     #line hidden
     
     #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
     this.chkSQL.Unchecked += new System.Windows.RoutedEventHandler(this.OnUnChecked_chkSSQL);
     
     #line default
     #line hidden
     return;
     case 32:
     this.XmlSQLTabTxt = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\MainWindow.xaml"
                ((FastDB.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 8 "..\..\..\MainWindow.xaml"
                ((FastDB.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:

            #line 17 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);

            #line default
            #line hidden

            #line 17 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);

            #line default
            #line hidden
                return;

            case 3:

            #line 18 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);

            #line default
            #line hidden

            #line 18 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);

            #line default
            #line hidden
                return;

            case 4:

            #line 19 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);

            #line default
            #line hidden

            #line 19 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);

            #line default
            #line hidden
                return;

            case 5:

            #line 20 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MenuCmdExecuted);

            #line default
            #line hidden

            #line 20 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.MenuCmdCanExecute);

            #line default
            #line hidden
                return;

            case 6:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.DockPaenlMain = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 8:
                this.MainMenuStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.MainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 10:
                this.menuItemNew = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.menuItemOpen = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.menuItemSave = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.menuItemSaveAs = ((System.Windows.Controls.MenuItem)(target));

            #line 78 "..\..\..\MainWindow.xaml"
                this.menuItemSaveAs.Click += new System.Windows.RoutedEventHandler(this.menuItemSaveAs_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.menuItemImportScript = ((System.Windows.Controls.MenuItem)(target));

            #line 81 "..\..\..\MainWindow.xaml"
                this.menuItemImportScript.Click += new System.Windows.RoutedEventHandler(this.menuItemImportScript_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.menuItemExit = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 16:
                this.menuItemExportToPDF = ((System.Windows.Controls.MenuItem)(target));

            #line 90 "..\..\..\MainWindow.xaml"
                this.menuItemExportToPDF.Click += new System.Windows.RoutedEventHandler(this.menuItemExportToPDF_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.menuItemExportToExcel = ((System.Windows.Controls.MenuItem)(target));

            #line 91 "..\..\..\MainWindow.xaml"
                this.menuItemExportToExcel.Click += new System.Windows.RoutedEventHandler(this.menuItemExportToExcel_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.menuItemViewHelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.menuItemAbout = ((System.Windows.Controls.MenuItem)(target));

            #line 103 "..\..\..\MainWindow.xaml"
                this.menuItemAbout.Click += new System.Windows.RoutedEventHandler(this.menuItemAbout_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.MainTreeViewDocPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 21:
                this.TreeViewHideStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 22:
                this.BtnHideTreView = ((System.Windows.Controls.Button)(target));

            #line 121 "..\..\..\MainWindow.xaml"
                this.BtnHideTreView.Click += new System.Windows.RoutedEventHandler(this.BtnHideTreView_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.TreeViewDocPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 24:
                this.BtnPin = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\..\MainWindow.xaml"
                this.BtnPin.Click += new System.Windows.RoutedEventHandler(this.BtnPin_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.TreeViewMask = ((System.Windows.Controls.Border)(target));
                return;

            case 26:
                this.MainTreeView = ((System.Windows.Controls.TreeView)(target));

            #line 179 "..\..\..\MainWindow.xaml"
                this.MainTreeView.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.MainTreeView_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.adornedControl = ((FastDB.Control.AdornedControl)(target));
                return;

            case 28:
                this.DocPanelCustomQuery = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 29:
                this.CustomQueryTxTBlk = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.reSizeButton = ((System.Windows.Controls.Button)(target));

            #line 267 "..\..\..\MainWindow.xaml"
                this.reSizeButton.Click += new System.Windows.RoutedEventHandler(this.reSizeButton_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.BtnPinCustomQueryWindow = ((System.Windows.Controls.Button)(target));

            #line 304 "..\..\..\MainWindow.xaml"
                this.BtnPinCustomQueryWindow.Click += new System.Windows.RoutedEventHandler(this.BtnPinCustomQueryWindow_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.DockCustomQueryWindow = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 33:
                this.tabControlCustomQuery = ((System.Windows.Controls.TabControl)(target));

            #line 328 "..\..\..\MainWindow.xaml"
                this.tabControlCustomQuery.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControlCustomQuery_SelectionChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.FromTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 35:
                this.FromTabUC = ((FastDB.Control.FromTabControl)(target));
                return;

            case 36:
                this.WhereTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 37:
                this.WhereTabUC = ((FastDB.Control.WhereTabControl)(target));
                return;

            case 38:
                this.SelectTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 39:
                this.SelectTabUC = ((FastDB.Control.SelectTabControl)(target));
                return;

            case 40:
                this.TabulationTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.TabulationTabUC = ((FastDB.Control.TabulationTabControl)(target));
                return;

            case 42:
                this.CrossTabulationTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 43:
                this.CrossTabulationTabUC = ((FastDB.Control.CrossTabulationTabControl)(target));
                return;

            case 44:
                this.ActionsTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 45:
                this.lblActionTabErrorMessage = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.txtQuery = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.btnRunQuery = ((System.Windows.Controls.Button)(target));

            #line 349 "..\..\..\MainWindow.xaml"
                this.btnRunQuery.Click += new System.Windows.RoutedEventHandler(this.btnRunQuery_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));

            #line 368 "..\..\..\MainWindow.xaml"
                this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.Logo = ((System.Windows.Controls.Image)(target));
                return;

            case 50:
                this.LogoTxt = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ShortCutsToolBar = ((System.Windows.Controls.ToolBar)(target));

            #line 99 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ShortCutsToolBar.Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ExecuteQueryBtn = ((System.Windows.Controls.Button)(target));

            #line 101 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ExecuteQueryBtn.Click += new System.Windows.RoutedEventHandler(this.RunQueryBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.StopExecutionBtn = ((System.Windows.Controls.Button)(target));

            #line 104 "..\..\..\..\Control\ResultViewControl.xaml"
                this.StopExecutionBtn.Click += new System.Windows.RoutedEventHandler(this.StopExecutionBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.SaveQueryBtn = ((System.Windows.Controls.Button)(target));

            #line 107 "..\..\..\..\Control\ResultViewControl.xaml"
                this.SaveQueryBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.SaveQueryAsBtn = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\..\Control\ResultViewControl.xaml"
                this.SaveQueryAsBtn.Click += new System.Windows.RoutedEventHandler(this.SaveQueryAsBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ExportToExcel = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ExportToExcel.Click += new System.Windows.RoutedEventHandler(this.ExportToExcel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.ExportToFolder = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\..\..\Control\ResultViewControl.xaml"
                this.ExportToFolder.Click += new System.Windows.RoutedEventHandler(this.SaveXML_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.RVCTAbControl = ((System.Windows.Controls.TabControl)(target));

            #line 122 "..\..\..\..\Control\ResultViewControl.xaml"
                this.RVCTAbControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RVCTAbControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.QueryTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 10:
                this.CustomQueryAccordion = ((System.Windows.Controls.Accordion)(target));

            #line 133 "..\..\..\..\Control\ResultViewControl.xaml"
                this.CustomQueryAccordion.SelectedItemsChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(this.CustomQueryAccordion_SelectedItemsChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.FromAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 12:
                this.FromAccItemDummyGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.FromTabCntrl = ((FastDB.Control.FromTabControl)(target));
                return;

            case 14:
                this.SelectAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 15:
                this.SelectGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.SelectTabCntrl = ((FastDB.Control.SelectTabControl)(target));
                return;

            case 17:
                this.WhereAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 18:
                this.WhereGrid = ((System.Windows.Controls.Grid)(target));

            #line 168 "..\..\..\..\Control\ResultViewControl.xaml"
                this.WhereGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WhereGrid_SizeChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.WhereTabCntrl = ((FastDB.Control.WhereTabControl)(target));
                return;

            case 20:
                this.TabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 21:
                this.TabulationTabCntrl = ((FastDB.Control.TabulationTabControl)(target));
                return;

            case 22:
                this.CrossTabulationAccordionItem = ((System.Windows.Controls.AccordionItem)(target));
                return;

            case 23:
                this.CrossTabulationTabCntrl = ((FastDB.Control.CrossTabulationTabControl)(target));
                return;

            case 24:
                this.ResultTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 25:
                this.StackPanelResultViewControl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 26:
                this.XmlQueryTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 27:
                this.lblXmlQueryTabErrorMessage = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.XmlQueryTabTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.XmlSQLTab = ((FastDB.CloseableTabItem)(target));
                return;

            case 30:
                this.lblXmlSQLTabErrorMessage = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.chkSQL = ((System.Windows.Controls.CheckBox)(target));

            #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
                this.chkSQL.Checked += new System.Windows.RoutedEventHandler(this.OnChecked_chkSSQL);

            #line default
            #line hidden

            #line 229 "..\..\..\..\Control\ResultViewControl.xaml"
                this.chkSQL.Unchecked += new System.Windows.RoutedEventHandler(this.OnUnChecked_chkSSQL);

            #line default
            #line hidden
                return;

            case 32:
                this.XmlSQLTabTxt = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void LoadFromTableColumnComboBox(FromTabStackPanelControlMore fs)
        {
            MainWindow mainWindow = (MainWindow)GetTopLevelControl(this.cmbFromTabJoinType);

            FromTabControl fromTabCntrl = new FromTabControl();
            DependencyObject parent1 = this.GetRVCFromTab(this.cmbFromTabFromColumns);

            if (parent1 != null)
            {
                fromTabCntrl = (FromTabControl)parent1;
            }

            if (this.cmbFromTabJoinType.SelectedIndex != -1)
            {
                if (mainWindow.listOfTable != null & mainWindow.listOfTable.Count > 0)
                {
                    fs.cmbFromTabFromColumns.Text = "";
                    fs.cmbFromTabFromColumns.ItemsSource = Common.ConvertColumsToStringList(mainWindow.listOfTable[fromTabCntrl.cmbFromTable.SelectedIndex].columns);
                    if (this.cmbFromTabJoinTable.SelectedIndex != -1)
                    {
                        fs.cmbFromTabJoinColumns.ItemsSource = Common.ConvertColumsToStringList(mainWindow.listOfTable[this.cmbFromTabJoinTable.SelectedIndex].columns);
                    }
                }
            }
        }