Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.roundDurationTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.roundDurationTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.SaveButton = ((CustomButton.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.PlayButton = ((CustomButton.Button)(target));

            #line 20 "..\..\..\Views\MainWindow.xaml"
                this.PlayButton.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.PlayButton_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 3:
                this.OptionsButton = ((CustomButton.Button)(target));

            #line 25 "..\..\..\Views\MainWindow.xaml"
                this.OptionsButton.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OptionsButton_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 4:
                this.ExitButton = ((CustomButton.Button)(target));
                return;

            case 5:
                this.host = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:

            #line 45 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }