RemoteView
Inheritance: System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 27 "..\..\..\MainWindow.xaml"
     ((MetroDemo.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);
     
     #line default
     #line hidden
     
     #line 28 "..\..\..\MainWindow.xaml"
     ((MetroDemo.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 82 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 102 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog);
     
     #line default
     #line hidden
     return;
     case 4:
     this.MyGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.OptionsFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 7:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroTabControl)(target));
     
     #line 190 "..\..\..\MainWindow.xaml"
     this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.TabStart = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 9:
     this.lblStart = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.TabProducts = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 11:
     this.lblProducts = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.TabDownload = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 13:
     this.lblDownload = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.TabUpdates = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 15:
     this.lblUpdate = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.TabOptions = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 17:
     this.lblOptions = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.GenerateTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 19:
     this.lblGenerate = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.LocalTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 21:
     this.lblLocal = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.RemoteTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 23:
     this.lblRemote = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.TabAbout = ((MahApps.Metro.Controls.MetroTabItem)(target));
     
     #line 304 "..\..\..\MainWindow.xaml"
     this.TabAbout.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UIElement_OnIsEnabledChanged);
     
     #line default
     #line hidden
     return;
     case 25:
     this.lblAbout = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.MainWindowTabs = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 27:
     this.StartView = ((MetroDemo.ExampleViews.StartView)(target));
     return;
     case 28:
     this.ProductView = ((MetroDemo.ExampleViews.ProductView)(target));
     return;
     case 29:
     this.DownloadView = ((MetroDemo.ExampleViews.DownloadView)(target));
     return;
     case 30:
     this.UpdateView = ((MetroDemo.ExampleViews.UpdateView)(target));
     return;
     case 31:
     this.DisplayView = ((MetroDemo.ExampleViews.DisplayView)(target));
     return;
     case 32:
     this.GenerateView = ((MetroDemo.ExampleViews.GenerateView)(target));
     return;
     case 33:
     this.LocalView = ((MetroDemo.ExampleViews.LocalView)(target));
     return;
     case 34:
     this.RemoteView = ((MetroDemo.ExampleViews.RemoteView)(target));
     return;
     case 35:
     this.AboutView = ((MetroDemo.ExampleViews.AboutView)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 27 "..\..\..\MainWindow.xaml"
                ((MetroDemo.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden

            #line 28 "..\..\..\MainWindow.xaml"
                ((MetroDemo.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 82 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog);

            #line default
            #line hidden
                return;

            case 3:

            #line 102 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog);

            #line default
            #line hidden
                return;

            case 4:
                this.MyGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.OptionsFlyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 7:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroTabControl)(target));

            #line 190 "..\..\..\MainWindow.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.TabStart = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 9:
                this.lblStart = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.TabProducts = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 11:
                this.lblProducts = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.TabDownload = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 13:
                this.lblDownload = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.TabUpdates = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 15:
                this.lblUpdate = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.TabOptions = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 17:
                this.lblOptions = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.GenerateTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 19:
                this.lblGenerate = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.LocalTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 21:
                this.lblLocal = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.RemoteTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 23:
                this.lblRemote = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.TabAbout = ((MahApps.Metro.Controls.MetroTabItem)(target));

            #line 304 "..\..\..\MainWindow.xaml"
                this.TabAbout.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UIElement_OnIsEnabledChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.lblAbout = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.MainWindowTabs = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 27:
                this.StartView = ((MetroDemo.ExampleViews.StartView)(target));
                return;

            case 28:
                this.ProductView = ((MetroDemo.ExampleViews.ProductView)(target));
                return;

            case 29:
                this.DownloadView = ((MetroDemo.ExampleViews.DownloadView)(target));
                return;

            case 30:
                this.UpdateView = ((MetroDemo.ExampleViews.UpdateView)(target));
                return;

            case 31:
                this.DisplayView = ((MetroDemo.ExampleViews.DisplayView)(target));
                return;

            case 32:
                this.GenerateView = ((MetroDemo.ExampleViews.GenerateView)(target));
                return;

            case 33:
                this.LocalView = ((MetroDemo.ExampleViews.LocalView)(target));
                return;

            case 34:
                this.RemoteView = ((MetroDemo.ExampleViews.RemoteView)(target));
                return;

            case 35:
                this.AboutView = ((MetroDemo.ExampleViews.AboutView)(target));
                return;
            }
            this._contentLoaded = true;
        }