/// <summary> /// Initializes a new instance of the <see cref="SlotMachineCollection"/> class. /// </summary> /// <param name="floorView">The floor view.</param> public SlotMachineCollection(CFloorView floorView) { _floorView = floorView; _dispatcher = floorView.Dispatcher; _canvas = floorView.pnlFloor; _slotMachines = new SortedDictionary<string, SlotMachinePair>(StringComparer.InvariantCultureIgnoreCase); _slotMachineGroups = new SortedDictionary<string, SlotMachineGroupPair>(StringComparer.InvariantCultureIgnoreCase); bool.TryParse(ConfigManager.Read("AllowDragging"), out _allowDragging); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BMC.Presentation.CFloorView)(target)); #line 2 "..\..\..\Views\CFloorView.xaml" this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded); #line default #line hidden #line 2 "..\..\..\Views\CFloorView.xaml" this.UserControl.Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.pnlBG = ((System.Windows.Controls.Border)(target)); return; case 4: this.pnlFloor = ((BMC.Presentation.Helper_classes.DragCanvas)(target)); return; case 5: this.spPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.chkCommsDown = ((System.Windows.Controls.CheckBox)(target)); return; case 7: this.chkGameDown = ((System.Windows.Controls.CheckBox)(target)); return; case 8: this.chkNotinPlay = ((System.Windows.Controls.CheckBox)(target)); return; case 9: this.chkGamePlay = ((System.Windows.Controls.CheckBox)(target)); return; case 10: this.chkCarded = ((System.Windows.Controls.CheckBox)(target)); return; case 11: this.chkEmpCarded = ((System.Windows.Controls.CheckBox)(target)); return; case 12: this.chkGMUConnectivity = ((System.Windows.Controls.CheckBox)(target)); return; case 13: this.chkForceFinalCollection = ((System.Windows.Controls.CheckBox)(target)); return; case 14: this.chkStackerRemovedContent = ((System.Windows.Controls.CheckBox)(target)); return; case 15: this.chkStackerRemoved = ((System.Windows.Controls.CheckBox)(target)); return; case 16: this.chk_Empty = ((System.Windows.Controls.CheckBox)(target)); return; case 17: this.chkVLNoMeters = ((System.Windows.Controls.CheckBox)(target)); return; case 18: this.chkVLTRemoved = ((System.Windows.Controls.CheckBox)(target)); return; case 19: this.FloatCollectionImage = ((System.Windows.Controls.Image)(target)); return; case 20: this.chkFloatUnDelared = ((System.Windows.Controls.CheckBox)(target)); return; case 21: this.UnclearedImageEvent = ((System.Windows.Controls.Image)(target)); return; case 22: this.chkUnclearedEvent = ((System.Windows.Controls.CheckBox)(target)); return; case 23: this.ClearedImageEvent = ((System.Windows.Controls.Image)(target)); return; case 24: this.chkClearedEvent = ((System.Windows.Controls.CheckBox)(target)); return; case 25: this.spAAMSOptions = ((System.Windows.Controls.StackPanel)(target)); return; case 26: this.chkSlotInstallationAAMSPending = ((System.Windows.Controls.CheckBox)(target)); return; case 27: this.chkGameInstallationAAMSPending = ((System.Windows.Controls.CheckBox)(target)); return; case 28: this.chkVLTunderMaintenance = ((System.Windows.Controls.CheckBox)(target)); return; case 29: this.lblHelp = ((System.Windows.Controls.Label)(target)); return; case 30: this.OptionsGrid = ((System.Windows.Controls.Grid)(target)); return; case 31: this.Border_Bottom = ((System.Windows.Controls.Border)(target)); return; case 32: this.chkEmpty = ((System.Windows.Controls.CheckBox)(target)); return; case 33: this.spSortOptions = ((System.Windows.Controls.StackPanel)(target)); return; case 34: this.lblOrderBy = ((System.Windows.Controls.TextBlock)(target)); return; case 35: this.chkSortPos = ((System.Windows.Controls.CheckBox)(target)); #line 387 "..\..\..\Views\CFloorView.xaml" this.chkSortPos.Checked += new System.Windows.RoutedEventHandler(this.chkSortPos_Checked); #line default #line hidden #line 387 "..\..\..\Views\CFloorView.xaml" this.chkSortPos.Unchecked += new System.Windows.RoutedEventHandler(this.chkSortPos_Unchecked); #line default #line hidden return; case 36: this.chkSortAsset = ((System.Windows.Controls.CheckBox)(target)); #line 388 "..\..\..\Views\CFloorView.xaml" this.chkSortAsset.Checked += new System.Windows.RoutedEventHandler(this.chkSortAsset_Checked); #line default #line hidden #line 388 "..\..\..\Views\CFloorView.xaml" this.chkSortAsset.Unchecked += new System.Windows.RoutedEventHandler(this.chkSortPos_Unchecked); #line default #line hidden return; case 37: this.txtLegend = ((System.Windows.Controls.TextBlock)(target)); #line 392 "..\..\..\Views\CFloorView.xaml" this.txtLegend.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.txtLegend_MouseDown); #line default #line hidden return; case 38: this.txtLegend_ = ((System.Windows.Controls.TextBlock)(target)); #line 394 "..\..\..\Views\CFloorView.xaml" this.txtLegend_.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.txtLegend__MouseDown); #line default #line hidden return; case 39: this.chkGroupBy = ((System.Windows.Controls.CheckBox)(target)); return; case 40: this.chkRePosition = ((System.Windows.Controls.CheckBox)(target)); #line 421 "..\..\..\Views\CFloorView.xaml" this.chkRePosition.Unchecked += new System.Windows.RoutedEventHandler(this.chkRePosition_Unchecked); #line default #line hidden #line 421 "..\..\..\Views\CFloorView.xaml" this.chkRePosition.Checked += new System.Windows.RoutedEventHandler(this.chkRePosition_Checked); #line default #line hidden return; } this._contentLoaded = true; }