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

            #line 7 "..\..\PositionDetailsWind.xaml"
                this.Window.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Drag_Event);

            #line default
            #line hidden

            #line 7 "..\..\PositionDetailsWind.xaml"
                this.Window.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseUp);

            #line default
            #line hidden
                return;

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

            case 3:
                this.ucPosDetailsComp = ((BMC.Presentation.PositionDetailsComp)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((BMC.Presentation.PositionDetailsComp)(target));
     return;
     case 2:
     this.OnLoaded1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.pnlLayoutRoot = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 4:
     this.pnlHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.lblPosition = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.lblGame = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.lblAsset = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.btnExit = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\..\UserControls\PositionDetailsComp.xaml"
     this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btn_Exit);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ucSlotMachine = ((BMC.Presentation.SlotMachine)(target));
     return;
     case 10:
     this.pnlHandpay = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.Path_105 = ((System.Windows.Shapes.Path)(target));
     return;
     case 12:
     this.Path_106 = ((System.Windows.Shapes.Path)(target));
     return;
     case 13:
     this.Path_107 = ((System.Windows.Shapes.Path)(target));
     return;
     case 14:
     this.btnHandPayProcess = ((System.Windows.Controls.Button)(target));
     
     #line 68 "..\..\..\UserControls\PositionDetailsComp.xaml"
     this.btnHandPayProcess.Click += new System.Windows.RoutedEventHandler(this.btnHandPayProcess_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.Path_109 = ((System.Windows.Shapes.Path)(target));
     return;
     case 16:
     this.Path_110 = ((System.Windows.Shapes.Path)(target));
     return;
     case 17:
     this.Path_111 = ((System.Windows.Shapes.Path)(target));
     return;
     case 18:
     this.lblDate = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.lblTime = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.lblHandPayType = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.lblHandPayValue = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.pnlPlayerClub = ((System.Windows.Controls.Canvas)(target));
     return;
     case 23:
     this.Path_1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 24:
     this.Path_3 = ((System.Windows.Shapes.Path)(target));
     return;
     case 25:
     this.Path_4 = ((System.Windows.Shapes.Path)(target));
     return;
     case 26:
     this.Path_5 = ((System.Windows.Shapes.Path)(target));
     return;
     case 27:
     this.Path_6 = ((System.Windows.Shapes.Path)(target));
     return;
     case 28:
     this.Path_7 = ((System.Windows.Shapes.Path)(target));
     return;
     case 29:
     this.lblPlayerName = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.lblPlayerAccount = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.lblPlayerStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.lblPlayerTimeOfPlay = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.pnlActionButtons = ((System.Windows.Controls.Primitives.UniformGrid)(target));
     return;
     case 34:
     this.btnMeterLife = ((System.Windows.Controls.Button)(target));
     
     #line 154 "..\..\..\UserControls\PositionDetailsComp.xaml"
     this.btnMeterLife.Click += new System.Windows.RoutedEventHandler(this.btnMeterLife_Click);
     
     #line default
     #line hidden
     return;
     case 35:
     this.btnServiceRequest = ((System.Windows.Controls.Button)(target));
     
     #line 155 "..\..\..\UserControls\PositionDetailsComp.xaml"
     this.btnServiceRequest.Click += new System.Windows.RoutedEventHandler(this.btnServiceRequest_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     
     #line 156 "..\..\..\UserControls\PositionDetailsComp.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.btnEnrol = ((System.Windows.Controls.Button)(target));
     
     #line 159 "..\..\..\UserControls\PositionDetailsComp.xaml"
     this.btnEnrol.Click += new System.Windows.RoutedEventHandler(this.btnEnrol_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.PositionDetailsWind)(target));
     
     #line 7 "..\..\PositionDetailsWind.xaml"
     this.Window.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Drag_Event);
     
     #line default
     #line hidden
     
     #line 7 "..\..\PositionDetailsWind.xaml"
     this.Window.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.ucPosDetailsComp = ((BMC.Presentation.PositionDetailsComp)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((BMC.Presentation.PositionDetailsComp)(target));
                return;

            case 2:
                this.OnLoaded1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.pnlLayoutRoot = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            case 5:
                this.lblPosition = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lblGame = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lblAsset = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.btnExit = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\..\UserControls\PositionDetailsComp.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btn_Exit);

            #line default
            #line hidden
                return;

            case 9:
                this.ucSlotMachine = ((BMC.Presentation.SlotMachine)(target));
                return;

            case 10:
                this.pnlHandpay = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

            case 14:
                this.btnHandPayProcess = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\UserControls\PositionDetailsComp.xaml"
                this.btnHandPayProcess.Click += new System.Windows.RoutedEventHandler(this.btnHandPayProcess_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 18:
                this.lblDate = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lblTime = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblHandPayType = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lblHandPayValue = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.pnlPlayerClub = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

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

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

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

            case 29:
                this.lblPlayerName = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.lblPlayerAccount = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.lblPlayerStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.lblPlayerTimeOfPlay = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.pnlActionButtons = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;

            case 34:
                this.btnMeterLife = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\..\UserControls\PositionDetailsComp.xaml"
                this.btnMeterLife.Click += new System.Windows.RoutedEventHandler(this.btnMeterLife_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.btnServiceRequest = ((System.Windows.Controls.Button)(target));

            #line 155 "..\..\..\UserControls\PositionDetailsComp.xaml"
                this.btnServiceRequest.Click += new System.Windows.RoutedEventHandler(this.btnServiceRequest_Click);

            #line default
            #line hidden
                return;

            case 36:

            #line 156 "..\..\..\UserControls\PositionDetailsComp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.btnEnrol = ((System.Windows.Controls.Button)(target));

            #line 159 "..\..\..\UserControls\PositionDetailsComp.xaml"
                this.btnEnrol.Click += new System.Windows.RoutedEventHandler(this.btnEnrol_Click);

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