void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainPane = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.Configuration = ((PosControls.ConfigurationManager)(target)); return; case 3: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 4: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 5: this.stackPanelPromptAmount = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.checkBoxEnabled = ((PosControls.PushCheckBox)(target)); #line 24 "..\..\..\IngredientEditorPreparationControl.xaml" this.checkBoxEnabled.SelectionChanged += new System.EventHandler(this.checkBoxEnabled_SelectionChanged); #line default #line hidden return; case 7: this.listBoxAvailableIngredients = ((PosControls.DragScrollListBox)(target)); #line 27 "..\..\..\IngredientEditorPreparationControl.xaml" this.listBoxAvailableIngredients.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox_SelectionChanged); #line default #line hidden return; case 8: this.listBoxItemIngredients = ((PosControls.DragScrollListBox)(target)); #line 28 "..\..\..\IngredientEditorPreparationControl.xaml" this.listBoxItemIngredients.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxItemIngredients_SelectionChanged); #line default #line hidden return; case 9: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 10: this.buttonYield = ((PosControls.CustomTextBox)(target)); #line 31 "..\..\..\IngredientEditorPreparationControl.xaml" this.buttonYield.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.buttonYield_PreviewMouseDown); #line default #line hidden return; case 11: this.labelUnits = ((System.Windows.Controls.Label)(target)); return; case 12: this.buttonAdd = ((PosControls.TextBlockButton)(target)); #line 34 "..\..\..\IngredientEditorPreparationControl.xaml" this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click); #line default #line hidden return; case 13: this.buttonAmount = ((PosControls.TextBlockButton)(target)); #line 36 "..\..\..\IngredientEditorPreparationControl.xaml" this.buttonAmount.Click += new System.Windows.RoutedEventHandler(this.buttonAmount_Click); #line default #line hidden return; case 14: this.buttonRemove = ((PosControls.TextBlockButton)(target)); #line 37 "..\..\..\IngredientEditorPreparationControl.xaml" this.buttonRemove.Click += new System.Windows.RoutedEventHandler(this.buttonRemove_Click); #line default #line hidden return; case 15: this.labelReadOnly = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainPane = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.Configuration = ((PosControls.ConfigurationManager)(target)); return; case 3: this.textBoxName = ((PosControls.CustomTextBox)(target)); #line 40 "..\..\..\DiscountEditorControl.xaml" this.textBoxName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxName_TextChanged); #line default #line hidden return; case 4: this.stackPanelPromptAmount = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.checkBoxPrompt = ((PosControls.PushCheckBox)(target)); #line 42 "..\..\..\DiscountEditorControl.xaml" this.checkBoxPrompt.SelectionChanged += new System.EventHandler(this.checkBoxPrompt_SelectionChanged); #line default #line hidden return; case 6: this.textBoxAmount = ((PosControls.CustomTextBox)(target)); #line 45 "..\..\..\DiscountEditorControl.xaml" this.textBoxAmount.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxAmount_TextChanged); #line default #line hidden return; case 7: this.radioButtonIsPercentage = ((PosControls.PushRadioButton)(target)); #line 47 "..\..\..\DiscountEditorControl.xaml" this.radioButtonIsPercentage.SelectionGained += new System.EventHandler(this.radioButtonIsPercentage_SelectionGained); #line default #line hidden return; case 8: this.radioButtonIsNotPercentage = ((PosControls.PushRadioButton)(target)); #line 48 "..\..\..\DiscountEditorControl.xaml" this.radioButtonIsNotPercentage.SelectionGained += new System.EventHandler(this.radioButtonIsPercentage_SelectionGained); #line default #line hidden return; case 9: this.radioButtonEntireTicket = ((PosControls.PushRadioButton)(target)); #line 51 "..\..\..\DiscountEditorControl.xaml" this.radioButtonEntireTicket.SelectionGained += new System.EventHandler(this.radioButtonApplyTo_SelectionGained); #line default #line hidden return; case 10: this.radioButtonOnTicketItem = ((PosControls.PushRadioButton)(target)); #line 52 "..\..\..\DiscountEditorControl.xaml" this.radioButtonOnTicketItem.SelectionGained += new System.EventHandler(this.radioButtonApplyTo_SelectionGained); #line default #line hidden return; case 11: this.radioButtonRequiresManager = ((PosControls.PushRadioButton)(target)); #line 55 "..\..\..\DiscountEditorControl.xaml" this.radioButtonRequiresManager.SelectionGained += new System.EventHandler(this.radioButtonRequiresManager_SelectionGained); #line default #line hidden return; case 12: this.radioButtonNoManagerRequired = ((PosControls.PushRadioButton)(target)); #line 56 "..\..\..\DiscountEditorControl.xaml" this.radioButtonNoManagerRequired.SelectionGained += new System.EventHandler(this.radioButtonRequiresManager_SelectionGained); #line default #line hidden return; case 13: this.radioButtonIsActive = ((PosControls.PushRadioButton)(target)); #line 59 "..\..\..\DiscountEditorControl.xaml" this.radioButtonIsActive.SelectionGained += new System.EventHandler(this.radioButtonIsActive_SelectionGained); #line default #line hidden return; case 14: this.radioButtonIsNotActive = ((PosControls.PushRadioButton)(target)); #line 60 "..\..\..\DiscountEditorControl.xaml" this.radioButtonIsNotActive.SelectionGained += new System.EventHandler(this.radioButtonIsActive_SelectionGained); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainPane = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.Configuration = ((PosControls.ConfigurationManager)(target)); return; case 3: this.comboBoxCategory = ((PosControls.PushComboBox)(target)); #line 49 "..\..\..\ItemEditorDetailsControl.xaml" this.comboBoxCategory.SelectedIndexChanged += new System.EventHandler(this.comboBoxCategory_SelectedIndexChanged); #line default #line hidden return; case 4: this.textBoxFullName = ((PosControls.CustomTextBox)(target)); #line 50 "..\..\..\ItemEditorDetailsControl.xaml" this.textBoxFullName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxFullName_TextChanged); #line default #line hidden return; case 5: this.textBoxPosName = ((PosControls.CustomTextBox)(target)); #line 51 "..\..\..\ItemEditorDetailsControl.xaml" this.textBoxPosName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPosName_TextChanged); #line default #line hidden return; case 6: this.textBoxPrice = ((PosControls.CustomTextBox)(target)); #line 52 "..\..\..\ItemEditorDetailsControl.xaml" this.textBoxPrice.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPrice_TextChanged); #line default #line hidden return; case 7: this.checkBoxPrintDestinationJournal = ((PosControls.PushCheckBox)(target)); #line 60 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationJournal.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationJournal_SelectionChanged); #line default #line hidden return; case 8: this.checkBoxPrintDestinationReceipt = ((PosControls.PushCheckBox)(target)); #line 64 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationReceipt.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationReceipt_SelectionChanged); #line default #line hidden return; case 9: this.checkBoxPrintDestinationKitchen1 = ((PosControls.PushCheckBox)(target)); #line 75 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationKitchen1.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationKitchen1_SelectionChanged); #line default #line hidden return; case 10: this.checkBoxPrintDestinationKitchen2 = ((PosControls.PushCheckBox)(target)); #line 79 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationKitchen2.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationKitchen2_SelectionChanged); #line default #line hidden return; case 11: this.checkBoxPrintDestinationKitchen3 = ((PosControls.PushCheckBox)(target)); #line 83 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationKitchen3.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationKitchen3_SelectionChanged); #line default #line hidden return; case 12: this.checkBoxPrintDestinationBar1 = ((PosControls.PushCheckBox)(target)); #line 94 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationBar1.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationBar1_SelectionChanged); #line default #line hidden return; case 13: this.checkBoxPrintDestinationBar2 = ((PosControls.PushCheckBox)(target)); #line 98 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationBar2.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationBar2_SelectionChanged); #line default #line hidden return; case 14: this.checkBoxPrintDestinationBar3 = ((PosControls.PushCheckBox)(target)); #line 102 "..\..\..\ItemEditorDetailsControl.xaml" this.checkBoxPrintDestinationBar3.SelectionChanged += new System.EventHandler(this.checkBoxPrintDestinationBar3_SelectionChanged); #line default #line hidden return; case 15: this.comboBoxTaxId = ((PosControls.PushComboBox)(target)); #line 106 "..\..\..\ItemEditorDetailsControl.xaml" this.comboBoxTaxId.SelectedIndexChanged += new System.EventHandler(this.comboBoxTaxId_SelectedIndexChanged); #line default #line hidden return; case 16: this.pushButtonIsReturnableYes = ((PosControls.PushRadioButton)(target)); #line 108 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsReturnableYes.SelectionGained += new System.EventHandler(this.pushButtonIsReturnable_SelectionGained); #line default #line hidden return; case 17: this.pushButtonIsReturnableNo = ((PosControls.PushRadioButton)(target)); #line 109 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsReturnableNo.SelectionGained += new System.EventHandler(this.pushButtonIsReturnable_SelectionGained); #line default #line hidden return; case 18: this.pushButtonIsFiredYes = ((PosControls.PushRadioButton)(target)); #line 112 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsFiredYes.SelectionGained += new System.EventHandler(this.pushButtonIsFired_SelectionGained); #line default #line hidden return; case 19: this.pushButtonIsFiredNo = ((PosControls.PushRadioButton)(target)); #line 113 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsFiredNo.SelectionGained += new System.EventHandler(this.pushButtonIsFired_SelectionGained); #line default #line hidden return; case 20: this.pushButtonIsTaxExemptableYes = ((PosControls.PushRadioButton)(target)); #line 116 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsTaxExemptableYes.SelectionGained += new System.EventHandler(this.pushButtonIsTaxExemptable_SelectionGained); #line default #line hidden return; case 21: this.pushButtonIsTaxExemptableNo = ((PosControls.PushRadioButton)(target)); #line 117 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsTaxExemptableNo.SelectionGained += new System.EventHandler(this.pushButtonIsTaxExemptable_SelectionGained); #line default #line hidden return; case 22: this.pushButtonIsForSaleYes = ((PosControls.PushRadioButton)(target)); #line 120 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsForSaleYes.SelectionGained += new System.EventHandler(this.pushButtonIsForSale_SelectionGained); #line default #line hidden return; case 23: this.pushButtonIsForSaleNo = ((PosControls.PushRadioButton)(target)); #line 121 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsForSaleNo.SelectionGained += new System.EventHandler(this.pushButtonIsForSale_SelectionGained); #line default #line hidden return; case 24: this.pushButtonIsOutOfStockYes = ((PosControls.PushRadioButton)(target)); #line 124 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsOutOfStockYes.SelectionGained += new System.EventHandler(this.pushButtonIsOutOfStock_SelectionGained); #line default #line hidden return; case 25: this.pushButtonIsOutOfStockNo = ((PosControls.PushRadioButton)(target)); #line 125 "..\..\..\ItemEditorDetailsControl.xaml" this.pushButtonIsOutOfStockNo.SelectionGained += new System.EventHandler(this.pushButtonIsOutOfStock_SelectionGained); #line default #line hidden return; case 26: this.radioButtonIsGrouping = ((PosControls.PushRadioButton)(target)); #line 128 "..\..\..\ItemEditorDetailsControl.xaml" this.radioButtonIsGrouping.SelectionGained += new System.EventHandler(this.radioButtonIsGrouping_SelectionGained); #line default #line hidden return; case 27: this.radioButtonIsNotGrouping = ((PosControls.PushRadioButton)(target)); #line 129 "..\..\..\ItemEditorDetailsControl.xaml" this.radioButtonIsNotGrouping.SelectionGained += new System.EventHandler(this.radioButtonIsGrouping_SelectionGained); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainPane = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.Configuration = ((PointOfSale.ConfigurationManager)(target)); return; case 3: this.textBoxName = ((PosControls.CustomTextBox)(target)); #line 69 "..\..\..\ItemOptionSetEditorControl.xaml" this.textBoxName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxName_TextChanged); #line default #line hidden return; case 4: this.textBoxMin = ((PosControls.CustomTextBox)(target)); #line 70 "..\..\..\ItemOptionSetEditorControl.xaml" this.textBoxMin.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxMin_TextChanged); #line default #line hidden return; case 5: this.textBoxFree = ((PosControls.CustomTextBox)(target)); #line 71 "..\..\..\ItemOptionSetEditorControl.xaml" this.textBoxFree.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxFree_TextChanged); #line default #line hidden return; case 6: this.textBoxMax = ((PosControls.CustomTextBox)(target)); #line 72 "..\..\..\ItemOptionSetEditorControl.xaml" this.textBoxMax.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxMax_TextChanged); #line default #line hidden return; case 7: this.textBoxExtraCost = ((PosControls.CustomTextBox)(target)); #line 73 "..\..\..\ItemOptionSetEditorControl.xaml" this.textBoxExtraCost.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxExtraCost_TextChanged); #line default #line hidden return; case 8: this.checkBoxPizzaStyle = ((PosControls.PushCheckBox)(target)); #line 74 "..\..\..\ItemOptionSetEditorControl.xaml" this.checkBoxPizzaStyle.SelectionChanged += new System.EventHandler(this.checkBoxPizzaStyle_SelectionChanged); #line default #line hidden return; case 9: this.buttonEdit = ((PosControls.PushButton)(target)); #line 75 "..\..\..\ItemOptionSetEditorControl.xaml" this.buttonEdit.Selected += new System.EventHandler(this.buttonEdit_Selected); #line default #line hidden return; } this._contentLoaded = true; }