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

            case 2:
                this.GroupBG = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 3:

            #line 9 "..\..\..\UserControls\CKeyboard.xaml"
                ((System.Windows.Controls.Canvas)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseDown);

            #line default
            #line hidden
                return;

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

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

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

            case 7:
                this.Path_2 = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.Keys = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.pnlAlphabets = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.btnSpace = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.pnlNumbers = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.chkCaps = ((System.Windows.Controls.CheckBox)(target));

            #line 64 "..\..\..\UserControls\CKeyboard.xaml"
                this.chkCaps.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 64 "..\..\..\UserControls\CKeyboard.xaml"
                this.chkCaps.Unchecked += new System.Windows.RoutedEventHandler(this.chkCaps_Unchecked);

            #line default
            #line hidden
                return;

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

            case 14:
                this.chkShift = ((System.Windows.Controls.CheckBox)(target));

            #line 67 "..\..\..\UserControls\CKeyboard.xaml"
                this.chkShift.Checked += new System.Windows.RoutedEventHandler(this.chkShift_Checked);

            #line default
            #line hidden

            #line 67 "..\..\..\UserControls\CKeyboard.xaml"
                this.chkShift.Unchecked += new System.Windows.RoutedEventHandler(this.chkShift_Unchecked);

            #line default
            #line hidden
                return;

            case 15:

            #line 68 "..\..\..\UserControls\CKeyboard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BackSpace_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\UserControls\CKeyboard.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\UserControls\CKeyboard.xaml"
                this.btnEnter.Click += new System.Windows.RoutedEventHandler(this.Enter_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnSC = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\..\UserControls\CKeyboard.xaml"
                this.btnSC.Click += new System.Windows.RoutedEventHandler(this.btnSC_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.pnlSpl = ((System.Windows.Controls.Border)(target));
                return;

            case 20:
                this.pnlSymbols = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((BMC.Presentation.CKeyboard)(target));
     return;
     case 2:
     this.GroupBG = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 3:
     
     #line 9 "..\..\..\UserControls\CKeyboard.xaml"
     ((System.Windows.Controls.Canvas)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Path = ((System.Windows.Shapes.Path)(target));
     return;
     case 5:
     this.Path_0 = ((System.Windows.Shapes.Path)(target));
     return;
     case 6:
     this.Path_1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 7:
     this.Path_2 = ((System.Windows.Shapes.Path)(target));
     return;
     case 8:
     this.Keys = ((System.Windows.Controls.Canvas)(target));
     return;
     case 9:
     this.pnlAlphabets = ((System.Windows.Controls.Canvas)(target));
     return;
     case 10:
     this.btnSpace = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.pnlNumbers = ((System.Windows.Controls.Canvas)(target));
     return;
     case 12:
     this.chkCaps = ((System.Windows.Controls.CheckBox)(target));
     
     #line 64 "..\..\..\UserControls\CKeyboard.xaml"
     this.chkCaps.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);
     
     #line default
     #line hidden
     
     #line 64 "..\..\..\UserControls\CKeyboard.xaml"
     this.chkCaps.Unchecked += new System.Windows.RoutedEventHandler(this.chkCaps_Unchecked);
     
     #line default
     #line hidden
     return;
     case 13:
     this.txtDisplay = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.chkShift = ((System.Windows.Controls.CheckBox)(target));
     
     #line 67 "..\..\..\UserControls\CKeyboard.xaml"
     this.chkShift.Checked += new System.Windows.RoutedEventHandler(this.chkShift_Checked);
     
     #line default
     #line hidden
     
     #line 67 "..\..\..\UserControls\CKeyboard.xaml"
     this.chkShift.Unchecked += new System.Windows.RoutedEventHandler(this.chkShift_Unchecked);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 68 "..\..\..\UserControls\CKeyboard.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BackSpace_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 69 "..\..\..\UserControls\CKeyboard.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnEnter = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\..\UserControls\CKeyboard.xaml"
     this.btnEnter.Click += new System.Windows.RoutedEventHandler(this.Enter_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnSC = ((System.Windows.Controls.Button)(target));
     
     #line 71 "..\..\..\UserControls\CKeyboard.xaml"
     this.btnSC.Click += new System.Windows.RoutedEventHandler(this.btnSC_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.pnlSpl = ((System.Windows.Controls.Border)(target));
     return;
     case 20:
     this.pnlSymbols = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }