void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((BMC.Presentation.ValueCalcComp)(target));
     
     #line 6 "..\..\..\UserControls\ValueCalcComp.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 3:
     this.pnlDisplayArea = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.txtDisplay = ((System.Windows.Controls.TextBox)(target));
     
     #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
     this.txtDisplay.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.txtDisplay_PreviewMouseDown);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
     this.txtDisplay.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtDisplay_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
     this.txtDisplay.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtDisplay_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
     this.txtDisplay.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDisplay_TextChanged);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
     this.txtDisplay.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtDisplay_KeyDown);
     
     #line default
     #line hidden
     return;
     case 5:
     this.pnlNumbers = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 6:
     this.btnClear = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\..\UserControls\ValueCalcComp.xaml"
     this.btnClear.Click += new System.Windows.RoutedEventHandler(this.Clear_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((BMC.Presentation.ValueCalcComp)(target));

            #line 6 "..\..\..\UserControls\ValueCalcComp.xaml"
                this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.txtDisplay = ((System.Windows.Controls.TextBox)(target));

            #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
                this.txtDisplay.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.txtDisplay_PreviewMouseDown);

            #line default
            #line hidden

            #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
                this.txtDisplay.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtDisplay_PreviewKeyDown);

            #line default
            #line hidden

            #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
                this.txtDisplay.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtDisplay_PreviewTextInput);

            #line default
            #line hidden

            #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
                this.txtDisplay.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDisplay_TextChanged);

            #line default
            #line hidden

            #line 9 "..\..\..\UserControls\ValueCalcComp.xaml"
                this.txtDisplay.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtDisplay_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.pnlNumbers = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 6:
                this.btnClear = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\..\UserControls\ValueCalcComp.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.Clear_Click);

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