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

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

            #line 18 "..\..\MainWindow.xaml"
                this.RssButton.Click += new System.Windows.RoutedEventHandler(this.RssButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.BusyIndicator = ((ReliableWPFApplication.UserControls.BusyIndicator)(target));
                return;

            case 4:
                this.CounterButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.CounterButton.Click += new System.Windows.RoutedEventHandler(this.CounterButton_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.RssText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\Login.xaml"
                this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LoginButton_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.BusyIndicator = ((ReliableWPFApplication.UserControls.BusyIndicator)(target));
                return;
            }
            this._contentLoaded = true;
        }