Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((BMC.Presentation.TimerMessageBox)(target));
                return;

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

            case 3:
                this.bg = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.Stroke = ((System.Windows.Shapes.Path)(target));
                return;

            case 5:
                this.RoundedEdges = ((System.Windows.Shapes.Path)(target));
                return;

            case 6:
                this.BG = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.pnlHeader = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 9:
                this.pnlIcons = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.icnError = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.icnInformation = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 13:
                this.icnQuestion = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.MsgContent = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.pnlButtons = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 16:
                this.btnYes = ((System.Windows.Controls.Button)(target));

            #line 174 "..\..\..\UserControls\TimerMsgBox.xaml"
                this.btnYes.Click += new System.Windows.RoutedEventHandler(this.btnYes_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btnNo = ((System.Windows.Controls.Button)(target));

            #line 175 "..\..\..\UserControls\TimerMsgBox.xaml"
                this.btnNo.Click += new System.Windows.RoutedEventHandler(this.btnNo_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((BMC.Presentation.TimerMessageBox)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.bg = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.Stroke = ((System.Windows.Shapes.Path)(target));
     return;
     case 5:
     this.RoundedEdges = ((System.Windows.Shapes.Path)(target));
     return;
     case 6:
     this.BG = ((System.Windows.Shapes.Path)(target));
     return;
     case 7:
     this.pnlHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.tbHeader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.pnlIcons = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.icnError = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.icnInformation = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.icnWarning = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.icnQuestion = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.MsgContent = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.pnlButtons = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 16:
     this.btnYes = ((System.Windows.Controls.Button)(target));
     
     #line 174 "..\..\..\UserControls\TimerMsgBox.xaml"
     this.btnYes.Click += new System.Windows.RoutedEventHandler(this.btnYes_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnNo = ((System.Windows.Controls.Button)(target));
     
     #line 175 "..\..\..\UserControls\TimerMsgBox.xaml"
     this.btnNo.Click += new System.Windows.RoutedEventHandler(this.btnNo_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }