Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Notification = ((NudgeToaser.NotificationWindow)(target));
                return;

            case 2:

            #line 10 "..\..\NotificationWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.YesButtonClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 11 "..\..\NotificationWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NoButtonClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }