Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.QuizWindowName = ((TwitchChatBotGUI.MenuItems.Info)(target));
                return;

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

            #line 26 "..\..\..\MenuItems\Info.xaml"
                this.GitHubButton.Click += new System.Windows.RoutedEventHandler(this.GitHubButtonClick);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\MenuItems\Info.xaml"
                this.PayPalButton.Click += new System.Windows.RoutedEventHandler(this.PayPalButtonClick);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\MenuItems\Info.xaml"
                this.RateIt.Click += new System.Windows.RoutedEventHandler(this.RateItButtonClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.QuizWindowName = ((TwitchChatBotGUI.MenuItems.Info)(target));
     return;
     case 2:
     this.GitHubButton = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\..\MenuItems\Info.xaml"
     this.GitHubButton.Click += new System.Windows.RoutedEventHandler(this.GitHubButtonClick);
     
     #line default
     #line hidden
     return;
     case 3:
     this.PayPalButton = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\..\MenuItems\Info.xaml"
     this.PayPalButton.Click += new System.Windows.RoutedEventHandler(this.PayPalButtonClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this.RateIt = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\..\MenuItems\Info.xaml"
     this.RateIt.Click += new System.Windows.RoutedEventHandler(this.RateItButtonClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }