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

            case 2:
                this.textValue = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 9 "..\..\..\UpDown.xaml"
                this.cmdUp.Click += new System.Windows.RoutedEventHandler(this.cmdUp_Click);

            #line default
            #line hidden
                return;

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

            #line 10 "..\..\..\UpDown.xaml"
                this.cmdDown.Click += new System.Windows.RoutedEventHandler(this.cmdDown_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UpDown = ((PatientMonitor.NumericUpDown)(target));
     return;
     case 2:
     this.textValue = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.cmdUp = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\..\UpDown.xaml"
     this.cmdUp.Click += new System.Windows.RoutedEventHandler(this.cmdUp_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cmdDown = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\UpDown.xaml"
     this.cmdDown.Click += new System.Windows.RoutedEventHandler(this.cmdDown_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }