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.comboBoxMeasuringUnits = ((PosControls.PushComboBox)(target));

            #line 27 "..\..\..\ItemIngredientAddControl.xaml"
                this.comboBoxMeasuringUnits.SelectedIndexChanged += new System.EventHandler(this.comboBoxMeasuringUnits_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.numberEntryControl = ((PosControls.NumberEntryControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        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 41 "..\..\..\RoomEditorControl.xaml"
                this.textBoxName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxName_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.comboBoxTicketType = ((PosControls.PushComboBox)(target));

            #line 42 "..\..\..\RoomEditorControl.xaml"
                this.comboBoxTicketType.SelectedIndexChanged += new System.EventHandler(this.comboBoxTicketType_SelectedIndexChanged);

            #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.lastColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.radioBoxNamedBrushes = ((PosControls.PushRadioButton)(target));
                return;

            case 5:
                this.comboBoxNamedBrushes = ((PosControls.PushComboBox)(target));
                return;

            case 6:
                this.radioBoxSpecifiedColor = ((PosControls.PushRadioButton)(target));
                return;

            case 7:
                this.textBoxRed = ((PosControls.CustomTextBox)(target));
                return;

            case 8:
                this.textBoxGreen = ((PosControls.CustomTextBox)(target));
                return;

            case 9:
                this.textBoxBlue = ((PosControls.CustomTextBox)(target));
                return;

            case 10:
                this.textBoxAlpha = ((PosControls.CustomTextBox)(target));
                return;

            case 11:
                this.borderSwatch = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.buttonSave = ((PosControls.TextBlockButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        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.textBoxFullName = ((PosControls.CustomTextBox)(target));

            #line 46 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxFullName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxFullName_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.textBoxShortName = ((PosControls.CustomTextBox)(target));

            #line 47 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxShortName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxShortName_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.textBoxInventoryAmount = ((PosControls.CustomTextBox)(target));

            #line 48 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxInventoryAmount.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxInventoryAmount_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.comboBoxMeasuringUnits = ((PosControls.PushComboBox)(target));

            #line 49 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.comboBoxMeasuringUnits.SelectedIndexChanged += new System.EventHandler(this.comboBoxMeasuringUnits_SelectedIndexChanged);

            #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.comboBoxCustomer = ((PosControls.PushComboBox)(target));

            #line 34 "..\..\..\LicenseDetailsControl.xaml"
                this.comboBoxCustomer.SelectedIndexChanged += new System.EventHandler(this.comboBoxCustomer_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.textBoxSerialNumber = ((PosControls.CustomTextBox)(target));

            #line 35 "..\..\..\LicenseDetailsControl.xaml"
                this.textBoxSerialNumber.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxSerialNumber_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.radioButtonIsValid = ((PosControls.PushRadioButton)(target));

            #line 37 "..\..\..\LicenseDetailsControl.xaml"
                this.radioButtonIsValid.SelectionGained += new System.EventHandler(this.radioButtonIsValid_SelectionGained);

            #line default
            #line hidden
                return;

            case 6:
                this.radioButtonIsNotValid = ((PosControls.PushRadioButton)(target));

            #line 38 "..\..\..\LicenseDetailsControl.xaml"
                this.radioButtonIsNotValid.SelectionGained += new System.EventHandler(this.radioButtonIsNotValid_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.gridControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.comboBoxOptionSet1 = ((PosControls.PushComboBox)(target));

            #line 22 "..\..\..\ItemEditorOptionSetControl.xaml"
                this.comboBoxOptionSet1.SelectedIndexChanged += new System.EventHandler(this.comboBoxOptionSet1_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.comboBoxOptionSet2 = ((PosControls.PushComboBox)(target));

            #line 23 "..\..\..\ItemEditorOptionSetControl.xaml"
                this.comboBoxOptionSet2.SelectedIndexChanged += new System.EventHandler(this.comboBoxOptionSet2_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.comboBoxOptionSet3 = ((PosControls.PushComboBox)(target));

            #line 24 "..\..\..\ItemEditorOptionSetControl.xaml"
                this.comboBoxOptionSet3.SelectedIndexChanged += new System.EventHandler(this.comboBoxOptionSet3_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.labelReadOnly = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#7
0
        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.gridDemo = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.comboBoxPrinterOutput = ((PosControls.PushComboBox)(target));

            #line 37 "..\..\..\DeviceChoiceControl.xaml"
                this.comboBoxPrinterOutput.SelectedIndexChanged += new System.EventHandler(this.comboBoxPrinterOutput_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.gridCashDrawer = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.gridScanner = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.gridCoinDispenser = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.gridBumpBar = ((System.Windows.Controls.Grid)(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.stackPanelGradientStops = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.borderGradientStops = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.listBoxGradientStopCollection = ((PosControls.DragScrollListBox)(target));
                return;

            case 6:
                this.buttonAdd = ((PosControls.TextBlockButton)(target));
                return;

            case 7:
                this.buttonEdit = ((PosControls.TextBlockButton)(target));
                return;

            case 8:
                this.buttonRemove = ((PosControls.TextBlockButton)(target));
                return;

            case 9:
                this.buttonMoveUp = ((PosControls.TextBlockButton)(target));
                return;

            case 10:
                this.buttonMoveDown = ((PosControls.TextBlockButton)(target));
                return;

            case 11:
                this.buttonSave = ((PosControls.TextBlockButton)(target));
                return;

            case 12:
                this.radioButtonLinearGradient = ((PosControls.PushRadioButton)(target));
                return;

            case 13:
                this.radioButtonRadialGradient = ((PosControls.PushRadioButton)(target));
                return;

            case 14:
                this.comboBoxSpreadMethod = ((PosControls.PushComboBox)(target));
                return;

            case 15:
                this.comboBoxColorInterpolationMode = ((PosControls.PushComboBox)(target));
                return;

            case 16:
                this.borderSwatch = ((System.Windows.Controls.Border)(target));
                return;

            case 17:
                this.stackPanelLinearParameters = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.textBoxLinearStartPointX = ((PosControls.CustomTextBox)(target));
                return;

            case 19:
                this.textBoxLinearStartPointY = ((PosControls.CustomTextBox)(target));
                return;

            case 20:
                this.textBoxLinearEndPointX = ((PosControls.CustomTextBox)(target));
                return;

            case 21:
                this.textBoxLinearEndPointY = ((PosControls.CustomTextBox)(target));
                return;

            case 22:
                this.textBoxLinearOpacity = ((PosControls.CustomTextBox)(target));
                return;

            case 23:
                this.stackPanelRadialParameters = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.textBoxOriginX = ((PosControls.CustomTextBox)(target));
                return;

            case 25:
                this.textBoxOriginY = ((PosControls.CustomTextBox)(target));
                return;

            case 26:
                this.textBoxCenterX = ((PosControls.CustomTextBox)(target));
                return;

            case 27:
                this.textBoxCenterY = ((PosControls.CustomTextBox)(target));
                return;

            case 28:
                this.textBoxRadiusX = ((PosControls.CustomTextBox)(target));
                return;

            case 29:
                this.textBoxRadiusY = ((PosControls.CustomTextBox)(target));
                return;

            case 30:
                this.textBoxRadientOpacity = ((PosControls.CustomTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#9
0
        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.gridPanel = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 22 "..\..\DateEditControl.xaml"
                this.textBoxMonth.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxMonth_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.textBoxDay = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\DateEditControl.xaml"
                this.textBoxDay.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxDay_TextChanged);

            #line default
            #line hidden

            #line 28 "..\..\DateEditControl.xaml"
                this.textBoxDay.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxDay_KeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.comboBoxYear = ((PosControls.PushComboBox)(target));
                return;

            case 7:
                this.dockPanel = ((System.Windows.Controls.DockPanel)(target));

            #line 32 "..\..\DateEditControl.xaml"
                this.dockPanel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.stackPanel_MouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.labelDate = ((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 41 "..\..\..\CouponEditorDetailsControl.xaml"
                this.textBoxName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxName_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.textBoxAmount = ((PosControls.CustomTextBox)(target));

            #line 42 "..\..\..\CouponEditorDetailsControl.xaml"
                this.textBoxAmount.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxAmount_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.radioButtonIsPercentage = ((PosControls.PushRadioButton)(target));

            #line 44 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonIsPercentage.SelectionGained += new System.EventHandler(this.radioButtonIsPercentage_SelectionGained);

            #line default
            #line hidden
                return;

            case 6:
                this.radioButtonIsNotPercentage = ((PosControls.PushRadioButton)(target));

            #line 45 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonIsNotPercentage.SelectionGained += new System.EventHandler(this.radioButtonIsPercentage_SelectionGained);

            #line default
            #line hidden
                return;

            case 7:
                this.radioButtonIsActive = ((PosControls.PushRadioButton)(target));

            #line 48 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonIsActive.SelectionGained += new System.EventHandler(this.radioButtonIsActive_SelectionGained);

            #line default
            #line hidden
                return;

            case 8:
                this.radioButtonIsNotActive = ((PosControls.PushRadioButton)(target));

            #line 49 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonIsNotActive.SelectionGained += new System.EventHandler(this.radioButtonIsActive_SelectionGained);

            #line default
            #line hidden
                return;

            case 9:
                this.comboBoxCouponExclusionSelection = ((PosControls.PushComboBox)(target));

            #line 51 "..\..\..\CouponEditorDetailsControl.xaml"
                this.comboBoxCouponExclusionSelection.SelectedIndexChanged += new System.EventHandler(this.comboBoxCouponExclusionSelection_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.radioButtonApplyToAll = ((PosControls.PushRadioButton)(target));

            #line 53 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonApplyToAll.SelectionGained += new System.EventHandler(this.radioButtonApplyToAll_SelectionGained);

            #line default
            #line hidden
                return;

            case 11:
                this.radioButtonIsNotApplyToAll = ((PosControls.PushRadioButton)(target));

            #line 54 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonIsNotApplyToAll.SelectionGained += new System.EventHandler(this.radioButtonApplyToAll_SelectionGained);

            #line default
            #line hidden
                return;

            case 12:
                this.radioButtonIsThirdParty = ((PosControls.PushRadioButton)(target));

            #line 57 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonIsThirdParty.SelectionGained += new System.EventHandler(this.radioButtonIsThirdParty_SelectionGained);

            #line default
            #line hidden
                return;

            case 13:
                this.radioButtonIsNotThirdParty = ((PosControls.PushRadioButton)(target));

            #line 58 "..\..\..\CouponEditorDetailsControl.xaml"
                this.radioButtonIsNotThirdParty.SelectionGained += new System.EventHandler(this.radioButtonIsThirdParty_SelectionGained);

            #line default
            #line hidden
                return;

            case 14:
                this.textBoxAmountLimit = ((PosControls.CustomTextBox)(target));

            #line 60 "..\..\..\CouponEditorDetailsControl.xaml"
                this.textBoxAmountLimit.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxAmountLimit_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.textBoxLimitPerTicket = ((PosControls.CustomTextBox)(target));

            #line 61 "..\..\..\CouponEditorDetailsControl.xaml"
                this.textBoxLimitPerTicket.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxLimitPerTicket_TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#11
0
        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.labelCostPerUnit = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.textBoxFullName = ((PosControls.CustomTextBox)(target));

            #line 35 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxFullName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxFullName_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.textBoxShortName = ((PosControls.CustomTextBox)(target));

            #line 36 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxShortName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxShortName_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.textBoxInventoryAmount = ((PosControls.CustomTextBox)(target));

            #line 38 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxInventoryAmount.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxInventoryAmount_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.buttonIncreaseInventory = ((PosControls.TextBlockButton)(target));

            #line 39 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.buttonIncreaseInventory.Click += new System.Windows.RoutedEventHandler(this.buttonIncreaseInventory_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.buttonDecreaseInventory = ((PosControls.TextBlockButton)(target));

            #line 40 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.buttonDecreaseInventory.Click += new System.Windows.RoutedEventHandler(this.buttonDecreaseInventory_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.comboBoxMeasuringUnits = ((PosControls.PushComboBox)(target));

            #line 42 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.comboBoxMeasuringUnits.SelectedIndexChanged += new System.EventHandler(this.comboBoxMeasuringUnits_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.textBoxCostPerUnit = ((PosControls.CustomTextBox)(target));

            #line 43 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxCostPerUnit.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxCostPerUnit_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.textBoxParAmount = ((PosControls.CustomTextBox)(target));

            #line 44 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxParAmount.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxParAmount_TextChanged);

            #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.listBox1 = ((PosControls.DragScrollListBox)(target));

            #line 75 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.comboBoxDay = ((PosControls.PushComboBox)(target));

            #line 76 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.comboBoxDay.SelectedIndexChanged += new System.EventHandler(this.PushComboBox_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.timePickerStart = ((PosControls.TimeEditControl)(target));

            #line 77 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.timePickerStart.TimeChanged += new System.EventHandler(this.timePickerStart_TimeChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.timePickerEnd = ((PosControls.TimeEditControl)(target));

            #line 78 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.timePickerEnd.TimeChanged += new System.EventHandler(this.timePickerEnd_TimeChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.textBoxPrice = ((PosControls.CustomTextBox)(target));

            #line 79 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxPrice.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPrice_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.textBoxDiscountMin = ((PosControls.CustomTextBox)(target));

            #line 80 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxDiscountMin.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDiscountMin_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.textBoxDiscountMax = ((PosControls.CustomTextBox)(target));

            #line 81 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxDiscountMax.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDiscountMax_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.textBoxDiscountPrice = ((PosControls.CustomTextBox)(target));

            #line 82 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxDiscountPrice.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDiscountPrice_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.buttonAdd = ((PosControls.PushButton)(target));

            #line 85 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.buttonAdd.Selected += new System.EventHandler(this.button_Selected);

            #line default
            #line hidden
                return;

            case 12:
                this.buttonRemove = ((PosControls.PushButton)(target));

            #line 86 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.buttonRemove.Selected += new System.EventHandler(this.button_Selected);

            #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.labelSpecifiedUse = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.labelAmount = ((System.Windows.Controls.Label)(target));
                return;

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

            case 6:
                this.textBoxName = ((PosControls.CustomTextBox)(target));

            #line 26 "..\..\..\ItemOptionEditorControl.xaml"
                this.textBoxName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxName_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.textBoxExtraCost = ((PosControls.CustomTextBox)(target));

            #line 27 "..\..\..\ItemOptionEditorControl.xaml"
                this.textBoxExtraCost.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxExtraCost_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.radioButtonUsesNothing = ((PosControls.PushRadioButton)(target));

            #line 29 "..\..\..\ItemOptionEditorControl.xaml"
                this.radioButtonUsesNothing.SelectionGained += new System.EventHandler(this.radioButtonUsesNothing_SelectionGained);

            #line default
            #line hidden
                return;

            case 9:
                this.radioButtonUsesIngredient = ((PosControls.PushRadioButton)(target));

            #line 30 "..\..\..\ItemOptionEditorControl.xaml"
                this.radioButtonUsesIngredient.SelectionGained += new System.EventHandler(this.radioButtonUsesIngredient_SelectionGained);

            #line default
            #line hidden
                return;

            case 10:
                this.radioButtonUsesItem = ((PosControls.PushRadioButton)(target));

            #line 31 "..\..\..\ItemOptionEditorControl.xaml"
                this.radioButtonUsesItem.SelectionGained += new System.EventHandler(this.radioButtonUsesItem_SelectionGained);

            #line default
            #line hidden
                return;

            case 11:
                this.comboBoxItemChoice = ((PosControls.PushComboBox)(target));

            #line 33 "..\..\..\ItemOptionEditorControl.xaml"
                this.comboBoxItemChoice.SelectedIndexChanged += new System.EventHandler(this.comboBoxItemChoice_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.comboBoxAddsIngredientChoice = ((PosControls.PushComboBox)(target));

            #line 34 "..\..\..\ItemOptionEditorControl.xaml"
                this.comboBoxAddsIngredientChoice.SelectedIndexChanged += new System.EventHandler(this.comboBoxAddsIngredientChoice_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.textBoxPortionAmount = ((PosControls.CustomTextBox)(target));

            #line 35 "..\..\..\ItemOptionEditorControl.xaml"
                this.textBoxPortionAmount.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPortionAmount_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.comboBoxMeasuringUnits = ((PosControls.PushComboBox)(target));

            #line 36 "..\..\..\ItemOptionEditorControl.xaml"
                this.comboBoxMeasuringUnits.SelectedIndexChanged += new System.EventHandler(this.comboBoxMeasuringUnits_SelectedIndexChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#15
0
        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.borderFields = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.labelDay = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 8:
                this.listBox1 = ((PosControls.DragScrollListBox)(target));

            #line 40 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.comboBoxDay = ((PosControls.PushComboBox)(target));

            #line 41 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.comboBoxDay.SelectedIndexChanged += new System.EventHandler(this.pushComboBoxDayOfWeek_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.timePickerStart = ((PosControls.TimeEditControl)(target));

            #line 42 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.timePickerStart.TimeChanged += new System.EventHandler(this.timePickerStart_TimeChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.timePickerEnd = ((PosControls.TimeEditControl)(target));

            #line 43 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.timePickerEnd.TimeChanged += new System.EventHandler(this.timePickerEnd_TimeChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.textBoxPrice = ((PosControls.CustomTextBox)(target));

            #line 44 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxPrice.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPrice_TextChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.textBoxDiscountMin = ((PosControls.CustomTextBox)(target));

            #line 45 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxDiscountMin.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDiscountMin_TextChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.textBoxDiscountMax = ((PosControls.CustomTextBox)(target));

            #line 46 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxDiscountMax.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDiscountMax_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.textBoxDiscountPrice = ((PosControls.CustomTextBox)(target));

            #line 47 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.textBoxDiscountPrice.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDiscountPrice_TextChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.buttonAdd = ((PosControls.TextBlockButton)(target));

            #line 50 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.buttonRemove = ((PosControls.TextBlockButton)(target));

            #line 51 "..\..\..\ItemEditorSpecialPricingControl.xaml"
                this.buttonRemove.Click += new System.Windows.RoutedEventHandler(this.buttonRemove_Click);

            #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.comboBoxCategory = ((PosControls.PushComboBox)(target));
                return;

            case 4:
                this.textBoxFullName = ((PosControls.CustomTextBox)(target));

            #line 83 "..\..\..\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 84 "..\..\..\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 85 "..\..\..\ItemEditorDetailsControl.xaml"
                this.textBoxPrice.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPrice_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.comboBoxPrintDestination = ((PosControls.PushComboBox)(target));

            #line 86 "..\..\..\ItemEditorDetailsControl.xaml"
                this.comboBoxPrintDestination.SelectedIndexChanged += new System.EventHandler(this.comboBoxPrintDestination_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.comboBoxTaxId = ((PosControls.PushComboBox)(target));

            #line 87 "..\..\..\ItemEditorDetailsControl.xaml"
                this.comboBoxTaxId.SelectedIndexChanged += new System.EventHandler(this.comboBoxTaxId_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.pushButtonIsReturnableYes = ((PosControls.PushRadioButton)(target));

            #line 89 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsReturnableYes.SelectionGained += new System.EventHandler(this.pushButtonIsReturnable_SelectionGained);

            #line default
            #line hidden
                return;

            case 10:
                this.pushButtonIsReturnableNo = ((PosControls.PushRadioButton)(target));

            #line 90 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsReturnableNo.SelectionGained += new System.EventHandler(this.pushButtonIsReturnable_SelectionGained);

            #line default
            #line hidden
                return;

            case 11:
                this.pushButtonIsTaxExemptableYes = ((PosControls.PushRadioButton)(target));

            #line 93 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsTaxExemptableYes.SelectionGained += new System.EventHandler(this.pushButtonIsTaxExemptable_SelectionGained);

            #line default
            #line hidden
                return;

            case 12:
                this.pushButtonIsTaxExemptableNo = ((PosControls.PushRadioButton)(target));

            #line 94 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsTaxExemptableNo.SelectionGained += new System.EventHandler(this.pushButtonIsTaxExemptable_SelectionGained);

            #line default
            #line hidden
                return;

            case 13:
                this.pushButtonIsFiredYes = ((PosControls.PushRadioButton)(target));

            #line 97 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsFiredYes.SelectionGained += new System.EventHandler(this.pushButtonIsFired_SelectionGained);

            #line default
            #line hidden
                return;

            case 14:
                this.pushButtonIsFiredNo = ((PosControls.PushRadioButton)(target));

            #line 98 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsFiredNo.SelectionGained += new System.EventHandler(this.pushButtonIsFired_SelectionGained);

            #line default
            #line hidden
                return;

            case 15:
                this.pushButtonIsForSaleYes = ((PosControls.PushRadioButton)(target));

            #line 101 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsForSaleYes.SelectionGained += new System.EventHandler(this.pushButtonIsForSale_SelectionGained);

            #line default
            #line hidden
                return;

            case 16:
                this.pushButtonIsForSaleNo = ((PosControls.PushRadioButton)(target));

            #line 102 "..\..\..\ItemEditorDetailsControl.xaml"
                this.pushButtonIsForSaleNo.SelectionGained += new System.EventHandler(this.pushButtonIsForSale_SelectionGained);

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