void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Bu = ((ToggleSwitch.ToggleButton)(target));
                return;

            case 2:
                this.Light = ((System.Windows.Shapes.Ellipse)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 81 "..\..\..\Pages\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.playWelocoming);

            #line default
            #line hidden
                return;

            case 2:
                this.menuGrid = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 4:
                this.Menu = ((System.Windows.Controls.Image)(target));

            #line 91 "..\..\..\Pages\MainWindow.xaml"
                this.Menu.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainMenu);

            #line default
            #line hidden
                return;

            case 5:
                this.mainStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.mainMenu = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 8:
                this.b2 = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.b3 = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.b4 = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.b5 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.Bu = ((ToggleSwitch.ToggleButton)(target));
                return;

            case 13:
                this.styleBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.mainFrame = ((System.Windows.Controls.Frame)(target));

            #line 200 "..\..\..\Pages\MainWindow.xaml"
                this.mainFrame.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(this.Load);

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