예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmdNewSetup = ((Insight.Views.MenuButton)(target));
                return;

            case 2:
                this.cmdViewSetups = ((Insight.Views.MenuButton)(target));
                return;

            case 3:
                this.cmdStats = ((Insight.Views.MenuButton)(target));
                return;

            case 4:
                this.cmdCompetitions = ((Insight.Views.MenuButton)(target));
                return;

            case 5:
                this.cmdBets = ((Insight.Views.MenuButton)(target));
                return;

            case 6:
                this.imgCompetitionIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.lstLeague = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.cmdLeftChevron = ((System.Windows.Controls.TextBlock)(target));

            #line 66 "..\..\MainWindow.xaml"
                this.cmdLeftChevron.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MoveLeft);

            #line default
            #line hidden
                return;

            case 9:
                this.txtCompetitionName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.cmdRightChevron = ((System.Windows.Controls.TextBlock)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.cmdRightChevron.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MoveRight);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmdNewSetup = ((Insight.Views.MenuButton)(target));
                return;

            case 2:
                this.cmdViewSetups = ((Insight.Views.MenuButton)(target));
                return;

            case 3:
                this.cmdOther = ((Insight.Views.MenuButton)(target));
                return;

            case 4:
                this.cmdOther2 = ((Insight.Views.MenuButton)(target));
                return;

            case 5:
                this.cmdOther3 = ((Insight.Views.MenuButton)(target));
                return;

            case 6:
                this.imgCompetitionIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.lstLeague = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.txtCompetitionName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.cmdLeftChevron = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.cmdRightChevron = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }