예제 #1
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));
                return;

            case 4:
                this.listBoxOptions = ((PosControls.DragScrollListBox)(target));
                return;

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

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

            case 7:
                this.buttonDelete = ((PosControls.TextBlockButton)(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 35 "..\..\..\SeatingEditorControl.xaml"
                this.textBoxName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxName_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\SeatingEditorControl.xaml"
                this.textBoxCapacity.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxCapacity_TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
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.textBoxStartingAmount = ((PosControls.CustomTextBox)(target));

            #line 17 "..\..\..\RegisterDrawerStartControl.xaml"
                this.textBoxStartingAmount.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxStartingAmount_TextChanged);

            #line default
            #line hidden
                return;

            case 4:

            #line 18 "..\..\..\RegisterDrawerStartControl.xaml"
                ((PosControls.TextBlockButton)(target)).Click += new System.Windows.RoutedEventHandler(this.TextBlockButton_Click);

            #line default
            #line hidden
                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.textBoxDescription = ((PosControls.CustomTextBox)(target));

            #line 34 "..\..\..\TaxEditorControl.xaml"
                this.textBoxDescription.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDescription_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\TaxEditorControl.xaml"
                this.textBoxPercentage.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPercentage_TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
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.solidColorBrushEditor = ((PosControls.SolidColorBrushEditorControl)(target));
                return;

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

            case 5:
                this.buttonSave = ((PosControls.TextBlockButton)(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 = ((PointOfSale.ConfigurationManager)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\RegistryInfomationControl.xaml"
                this.textBoxDatabaseConnectionString.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxDatabaseConnectionString_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.buttonSave = ((PosControls.PushButton)(target));

            #line 45 "..\..\..\RegistryInfomationControl.xaml"
                this.buttonSave.Selected += new System.EventHandler(this.buttonSave_Selected);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #8
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.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;
        }
예제 #11
0
        protected static object TextCoerceValue(DependencyObject depObject, object value)
        {
            CustomTextBox myClass  = (CustomTextBox)depObject;
            string        newValue = (string)value;

            if ((newValue != null) && (myClass.MaxLength > 0) &&
                (newValue.Length > myClass.MaxLength))
            {
                return(newValue.Substring(0, myClass.MaxLength));
            }
            return(value);
        }
        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.ConfigurationManagerCore)(target));
                return;

            case 3:
                this.dataSourceTextBox = ((PosControls.CustomTextBox)(target));
                return;

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

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

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

            case 7:
                this.buttonUpdate = ((PosControls.PushButton)(target));

            #line 52 "..\..\..\UserSettingsEditorControl.xaml"
                this.buttonUpdate.Selected += new System.EventHandler(this.Update_Selected);

            #line default
            #line hidden
                return;

            case 8:
                this.buttonExit = ((PosControls.PushButton)(target));

            #line 53 "..\..\..\UserSettingsEditorControl.xaml"
                this.buttonExit.Selected += new System.EventHandler(this.Exit_Selected);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #13
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.textBoxStartingAmount = ((PosControls.CustomTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #14
0
        protected static void TextValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CustomTextBox myClass  = (CustomTextBox)d;
            string        newValue = (string)e.NewValue;
            string        oldValue = (string)e.OldValue;

            if (myClass.TextMaskCharacter != null)
            {
                myClass.textBlock.Text = "";
                for (int i = 0; i < newValue.Length; i++)
                {
                    myClass.textBlock.Text += myClass.TextMaskCharacter;
                }
            }
            else
            {
                myClass.textBlock.Text = newValue;
            }
            if (myClass.PromptType == CustomTextBoxType.PhoneNumber)
            {
                myClass.SetPhoneNumber(newValue);
            }
            if (myClass.UseContextMenuEditing)
            {
                myClass.UpdateCaret();
            }
            myClass.changeCount++;

            if ((myClass.PromptType == CustomTextBoxType.PhoneNumber) &&
                (myClass.borderControl.ContextMenu != null) &&
                (newValue.Length == 10) && myClass.CaretIndex >= 9)
            {
                myClass.borderControl.ContextMenu.IsOpen = false;
            }

            myClass.OnTextValueChanged(oldValue, newValue);
        }
        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.textBoxGuestName = ((PosControls.CustomTextBox)(target));

            #line 37 "..\..\..\PartyEditControl.xaml"
                this.textBoxGuestName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxGuestName_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.listBoxGuests = ((PosControls.DragScrollListBox)(target));

            #line 38 "..\..\..\PartyEditControl.xaml"
                this.listBoxGuests.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxGuests_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\PartyEditControl.xaml"
                this.textBoxHostName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxHostName_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\PartyEditControl.xaml"
                this.textBoxPartySize.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPartySize_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\PartyEditControl.xaml"
                this.textBoxNotes.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxNotes_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\PartyEditControl.xaml"
                this.buttonDelete.Click += new System.Windows.RoutedEventHandler(this.buttonDelete_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 = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:
                this.rowDefPhone = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.rowDefName = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.rowDefStreet = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 6:
                this.rowDefStreet2 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 7:
                this.rowDefZip = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 8:
                this.rowDefCityState = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 9:
                this.labelSelectSeating = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.labelPhoneNumber = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.labelName = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.labelStreet = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.labelStreet2 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.labelZip = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.labelCityState = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.phoneNumberEditControl = ((PosControls.CustomTextBox)(target));

            #line 38 "..\..\..\SeatingPersonInformationControl.xaml"
                this.phoneNumberEditControl.TextChanged += new System.Windows.RoutedEventHandler(this.phoneNumberEditControl_TextChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.textBoxCustomerName = ((PosControls.CustomTextBox)(target));

            #line 39 "..\..\..\SeatingPersonInformationControl.xaml"
                this.textBoxCustomerName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxCustomerName_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\SeatingPersonInformationControl.xaml"
                this.textBoxStreetAddress.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxStreetAddress_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\SeatingPersonInformationControl.xaml"
                this.textBoxStreetAddress2.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxStreetAddress2_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\SeatingPersonInformationControl.xaml"
                this.textBoxZip.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxZip_TextChanged);

            #line default
            #line hidden
                return;

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

            case 22:
                this.buttonStartTicket = ((PosControls.TextBlockButton)(target));

            #line 44 "..\..\..\SeatingPersonInformationControl.xaml"
                this.buttonStartTicket.Click += new System.Windows.RoutedEventHandler(this.buttonStartTicket_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 = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:

            #line 13 "..\..\..\GeneralSettingsUpdateControl.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.dragScrollViewer = ((PosControls.DragScrollViewer)(target));
                return;

            case 5:
                this.flowDocumentScroll = ((System.Windows.Controls.FlowDocumentScrollViewer)(target));
                return;

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

            #line 43 "..\..\..\GeneralSettingsUpdateControl.xaml"
                this.buttonVersionCheck.Click += new System.Windows.RoutedEventHandler(this.buttonVersionCheck_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\GeneralSettingsUpdateControl.xaml"
                this.buttonUpdate.Click += new System.Windows.RoutedEventHandler(this.buttonUpdate_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 54 "..\..\..\GeneralSettingsUpdateControl.xaml"
                this.radioButtonAutoUpdateIsEnabled.SelectionGained += new System.EventHandler(this.radioButtonAutoUpdateIsEnabled_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\GeneralSettingsUpdateControl.xaml"
                this.radioButtonAutoUpdateIsNotEnabled.SelectionGained += new System.EventHandler(this.radioButtonAutoUpdateIsNotEnabled_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\GeneralSettingsUpdateControl.xaml"
                this.textBoxServer.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxServer_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\GeneralSettingsUpdateControl.xaml"
                this.textBoxPort.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPort_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\GeneralSettingsUpdateControl.xaml"
                this.buttonSave.Click += new System.Windows.RoutedEventHandler(this.buttonSave_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 = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:
                this.textBoxBusinessName = ((PosControls.CustomTextBox)(target));

            #line 39 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxBusinessName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxBusinessName_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxContactsName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxContactsName_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxAddress.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxAddress_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxCity.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxCity_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxState.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxState_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxZip.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxZip_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxPhone1.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPhone1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\CustomerDetailsControl.xaml"
                this.textBoxPhone2.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxPhone2_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.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;
        }
예제 #21
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 38 "..\..\..\EmployeeJobEditorControl.xaml"
                this.textBoxName.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxName_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\EmployeeJobEditorControl.xaml"
                this.buttonTipsYes.SelectionGained += new System.EventHandler(this.buttonTips_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\EmployeeJobEditorControl.xaml"
                this.buttonTipsNo.SelectionGained += new System.EventHandler(this.buttonTips_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\EmployeeJobEditorControl.xaml"
                this.buttonDeliveriesYes.SelectionGained += new System.EventHandler(this.buttonDeliveries_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\EmployeeJobEditorControl.xaml"
                this.buttonDeliveriesNo.SelectionGained += new System.EventHandler(this.buttonDeliveries_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\EmployeeJobEditorControl.xaml"
                this.buttonIsEnabledYes.SelectionGained += new System.EventHandler(this.buttonIsEnabled_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\EmployeeJobEditorControl.xaml"
                this.buttonIsEnabledNo.SelectionGained += new System.EventHandler(this.buttonIsEnabled_SelectionGained);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #22
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;
        }
예제 #23
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 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;
        }
예제 #24
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.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;
        }
예제 #25
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.radioButtonIsUsingSeating = ((PosControls.PushRadioButton)(target));

            #line 49 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonIsUsingSeating.SelectionGained += new System.EventHandler(this.radioButtonIsUsingSeating_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonIsNotUsingSeating.SelectionGained += new System.EventHandler(this.radioButtonIsNotUsingSeating_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonIsForceVoidWaste.SelectionGained += new System.EventHandler(this.radioButtonIsForceVoidWaste_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonIsNotForceVoidWaste.SelectionGained += new System.EventHandler(this.radioButtonIsNotForceVoidWaste_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonIsKeyboardRestricted.SelectionGained += new System.EventHandler(this.radioButtonIsKeyboardRestricted_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonIsNotKeyboardRestricted.SelectionGained += new System.EventHandler(this.radioButtonIsNotKeyboardRestricted_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonYesAutoLogoutEnabled.SelectionGained += new System.EventHandler(this.radioButtonYesAutoLogoutEnabled_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonNoAutoLogoutEnabled.SelectionGained += new System.EventHandler(this.radioButtonNoAutoLogoutEnabled_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.textBoxAutoLogoutTimeout.CommitEdit += new System.EventHandler(this.textBoxAutoLogoutTimeout_CommitEdit);

            #line default
            #line hidden
                return;

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

            #line 89 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonYesDisableAutoLogoutInOrderEntry.SelectionGained += new System.EventHandler(this.radioButtonYesDisableAutoLogoutInOrderEntry_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 90 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonNoDisableAutoLogoutInOrderEntry.SelectionGained += new System.EventHandler(this.radioButtonNoDisableAutoLogoutinOrderEntry_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonYesDisableAutoLogoutForDialogWindows.SelectionGained += new System.EventHandler(this.radioButtonYesDisableAutoLogoutForDialogWindows_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonNoDisableAutoLogoutForDialogWindows.SelectionGained += new System.EventHandler(this.radioButtonNoDisableAutoLogoutForDialogWindows_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonYesDisableAutoLogoutForPasswordChanges.SelectionGained += new System.EventHandler(this.radioButtonYesDisableAutoLogoutForPasswordChanges_SelectionGained);

            #line default
            #line hidden
                return;

            case 17:
                this.radioButtonNoDisableAutoLogoutForPasswordChanges = ((PosControls.PushRadioButton)(target));

            #line 98 "..\..\..\GeneralSettingsStoreSettingsControl.xaml"
                this.radioButtonNoDisableAutoLogoutForPasswordChanges.SelectionGained += new System.EventHandler(this.radioButtonNoDisableAutoLogoutForPasswordChanges_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.textBoxName = ((PosControls.CustomTextBox)(target));

            #line 42 "..\..\..\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 43 "..\..\..\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 44 "..\..\..\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 45 "..\..\..\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 46 "..\..\..\ItemOptionSetEditorControl.xaml"
                this.textBoxExtraCost.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxExtraCost_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\ItemOptionSetEditorControl.xaml"
                this.radioButtonIsPizzaStyle.SelectionGained += new System.EventHandler(this.radioButtonPizzaStyle_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\ItemOptionSetEditorControl.xaml"
                this.radioButtonIsNotPizzaStyle.SelectionGained += new System.EventHandler(this.radioButtonPizzaStyle_SelectionChanged);

            #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.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;
        }
예제 #28
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.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 = ((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;
        }
예제 #30
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.gridControl = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

            case 8:
                this.labelSeating = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.labelEmployee = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.labelCreatedDate = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.labelFutureDate = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.labelReadyDate = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.labelClosedDate = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 61 "..\..\..\OrderEntryTicketDetailsControl.xaml"
                this.textBoxManagerComments.CommitEdit += new System.EventHandler(this.textBoxManagerComments_CommitEdit);

            #line default
            #line hidden
                return;

            case 15:
                this.buttonOpen = ((PosControls.TextBlockButton)(target));
                return;

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

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

            case 18:
                this.buttonUnCancel = ((PosControls.TextBlockButton)(target));
                return;

            case 19:
                this.buttonPartyEdit = ((PosControls.TextBlockButton)(target));
                return;

            case 20:
                this.buttonChangeSeating = ((PosControls.TextBlockButton)(target));
                return;

            case 21:
                this.buttonChangeEmployee = ((PosControls.TextBlockButton)(target));
                return;

            case 22:
                this.buttonFutureTime = ((PosControls.TextBlockButton)(target));
                return;

            case 23:
                this.buttonTaxExemption = ((PosControls.TextBlockButton)(target));
                return;

            case 24:
                this.buttonCashOut = ((PosControls.TextBlockButton)(target));
                return;

            case 25:
                this.buttonCancel = ((PosControls.TextBlockButton)(target));
                return;

            case 26:
                this.buttonRefund = ((PosControls.TextBlockButton)(target));
                return;

            case 27:
                this.buttonVoid = ((PosControls.TextBlockButton)(target));
                return;

            case 28:
                this.buttonMap = ((PosControls.TextBlockButton)(target));

            #line 79 "..\..\..\OrderEntryTicketDetailsControl.xaml"
                this.buttonMap.Click += new System.Windows.RoutedEventHandler(this.buttonMap_Click);

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