Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.SourceDataFoldersSelector = ((Sobiens.Connectors.Studio.UI.Controls.ServerObjectExplorer)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((Sobiens.Connectors.Studio.UI.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                ((Sobiens.Connectors.Studio.UI.MainWindow)(target)).Initialized += new System.EventHandler(this.Window_Initialized);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.OpenMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.OpenMenuItem.Click += new System.Windows.RoutedEventHandler(this.OpenMenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.SaveMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.SaveMenuItem.Click += new System.Windows.RoutedEventHandler(this.SaveMenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ScheduledJobsMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.ScheduledJobsMenuItem.Click += new System.Windows.RoutedEventHandler(this.ScheduledJobsMenuItem_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.SyncDataMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.SyncDataMenuItem.Click += new System.Windows.RoutedEventHandler(this.SyncDataMenuItem_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ExitMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.ExitMenuItem.Click += new System.Windows.RoutedEventHandler(this.ExitMenuItem_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.HelpMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.HelpMenuItem.Click += new System.Windows.RoutedEventHandler(this.HelpMenuItem_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.queryDesignerToolbar = ((Sobiens.Connectors.Studio.UI.Controls.QueryDesignerToolbar)(target));
                return;

            case 9:
                this.serverObjectExplorer = ((Sobiens.Connectors.Studio.UI.Controls.ServerObjectExplorer)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.serverObjectExplorer.After_Select += new Sobiens.Connectors.Studio.UI.Controls.FoldersTreeViewControlAfter_Select(this.serverObjectExplorer_After_Select);

            #line default
            #line hidden
                return;

            case 10:
                this.queriesPanel = ((Sobiens.Connectors.Studio.UI.Controls.QueriesPanel)(target));
                return;

            case 11:
                this.StartBackgrounProcessButton = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.StartBackgrounProcessButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }