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

            case 2:
                this.Ok = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\Views\ReaderRate.xaml"
                this.Ok.Click += new System.Windows.RoutedEventHandler(this.Ok_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.ratings1 = ((DailyNews.StarRatingsControl.RatingsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\Views\frmViewNews - Copy.xaml"
                ((DailyNews.Views.frmViewNews)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\Views\frmViewNews - Copy.xaml"
                ((DailyNews.Views.frmViewNews)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.TitleBar = ((System.Windows.Controls.Grid)(target));

            #line 47 "..\..\..\Views\frmViewNews - Copy.xaml"
                this.TitleBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\Views\frmViewNews - Copy.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.Resources = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.Date = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.Image = ((System.Windows.Controls.Border)(target));
                return;

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

            case 9:
                this.ratings1 = ((DailyNews.StarRatingsControl.RatingsControl)(target));
                return;

            case 10:
                this.borderVideo = ((System.Windows.Controls.Border)(target));
                return;

            case 11:
                this.mask = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.ControlBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.AdminNavigationBarUser = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.NewsNumberBar = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.tbkCurrentNewsNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.tbkTotalNewsNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.AdminNavigationBar = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }