Esempio n. 1
0
 public void InitilizeButtonChoices(DialogButtons buttons)
 {
     Buttons = buttons;
     if ((buttons == DialogButtons.Ok) || (buttons == DialogButtons.OkCancel))
     {
         TextBlockButton buttonOk =
             SetButton(new TextBlockButton(), "buttonOk", "Ok");
         buttonOk.Click += buttonOk_Selected;
         stackPanel.Children.Add(buttonOk);
     }
     if (buttons == DialogButtons.OkCancel)
     {
         TextBlockButton buttonCancel =
             SetButton(new TextBlockButton(), "buttonCancel", "Cancel");
         buttonCancel.Click += buttonCancel_Selected;
         stackPanel.Children.Add(buttonCancel);
     }
     if (buttons == DialogButtons.YesNo)
     {
         TextBlockButton buttonYes =
             SetButton(new TextBlockButton(), "buttonYes", "Yes");
         buttonYes.Click += buttonYes_Selected;
         stackPanel.Children.Add(buttonYes);
     }
     if (buttons == DialogButtons.YesNo)
     {
         TextBlockButton buttonNo =
             SetButton(new TextBlockButton(), "buttonNo", "No");
         buttonNo.Click += buttonCancel_Selected;
         stackPanel.Children.Add(buttonNo);
     }
     stackPanel.UpdateLayout();
 }
Esempio n. 2
0
 private void SetTab(TextBlockButton buttonTab, double buttonWidth,
                     FrameworkElement tab, string tabTitle, int index)
 {
     if (tabTitle == null)
     {
         buttonTab.Visibility = Visibility.Collapsed;
         buttonTab.Content    = "";
         return;
     }
     buttonTab.Width      = buttonWidth;
     buttonTab.Visibility = Visibility.Visible;
     buttonTab.Content    = tabTitle;
     if (index == 1)
     {
         dockPanel1.Children.Add(tab);
     }
     if (index == 2)
     {
         dockPanel2.Children.Add(tab);
     }
     if (index == 3)
     {
         dockPanel3.Children.Add(tab);
     }
     if (index == 4)
     {
         dockPanel4.Children.Add(tab);
     }
     if (index == 5)
     {
         dockPanel5.Children.Add(tab);
     }
 }
Esempio n. 3
0
 private TextBlockButton SetButton(TextBlockButton button, string name, string text)
 {
     button.Name       = name;
     button.Margin     = new Thickness(5, 5, 5, 5);
     button.Width      = 70;
     button.Height     = 64;
     button.Text       = text;
     button.Visibility = System.Windows.Visibility.Visible;
     button.IsEnabled  = true;
     return(button);
 }
Esempio n. 4
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     textBoxValue.Focus();
     if (sender == buttonEnter)
     {
         OnEnterButtonPressed();
         return;
     }
     else if ((sender == buttonClear) || (sender == buttonClearCompact))
     {
         ClearText();
     }
     else if (sender == buttonCancel)
     {
         OnCancelButtonPressed();
     }
     else if (sender == buttonBackspace)
     {
         if (compactModeOwner != null)
         {
             int index = compactModeOwner.CaretIndex;
             if (index <= 0)
             {
                 return;
             }
             textBoxValue.Text = textBoxValue.Text.Remove(index - 1, 1);
             textBoxValue.Select(index - 1, 0);
         }
         else
         {
             int index = textBoxValue.CaretIndex;
             if (index <= 0)
             {
                 return;
             }
             textBoxValue.Text = textBoxValue.Text.Remove(index - 1, 1);
             textBoxValue.Select(index, 0);
         }
     }
     else
     {
         TextBlockButton button = (TextBlockButton)sender;
         EnterValue(button.Text);
     }
     CheckForInsertDisable();
     DoCaretUpdateNeededEvent();
 }
Esempio n. 5
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            TextBlockButton pushButtonSender = (TextBlockButton)sender;

            if (pushButtonSender.Text.Equals("Earlier"))
            {
                currentYear = Convert.ToInt32(Buttons[1].Text) - 10;
                InitializeButtons();
            }
            else if (pushButtonSender.Text.Equals("Later"))
            {
                currentYear = Convert.ToInt32(Buttons[10].Text) + 1;
                InitializeButtons();
            }
            else
            {
                SelectedYear = Convert.ToInt32(pushButtonSender.Text);
            }
        }
        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.buttonAdd = ((PosControls.TextBlockButton)(target));

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

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\ItemOptionMaintenanceControl.xaml"
                this.buttonDelete.Click += new System.Windows.RoutedEventHandler(this.buttonDelete_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\ItemOptionMaintenanceControl.xaml"
                this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\ItemOptionMaintenanceControl.xaml"
                this.listBoxOptions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxOptions_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.editorControl = ((TemPOS.ItemOptionEditorControl)(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.buttonReopen = ((PosControls.TextBlockButton)(target));

            #line 18 "..\..\..\CancelMadeUnmadeControl.xaml"
                this.buttonReopen.Click += new System.Windows.RoutedEventHandler(this.buttonReopen_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonMade = ((PosControls.TextBlockButton)(target));

            #line 19 "..\..\..\CancelMadeUnmadeControl.xaml"
                this.buttonMade.Click += new System.Windows.RoutedEventHandler(this.buttonMade_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\CancelMadeUnmadeControl.xaml"
                this.buttonUnmade.Click += new System.Windows.RoutedEventHandler(this.buttonUnmade_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\CancelMadeUnmadeControl.xaml"
                this.buttonVoid.Click += new System.Windows.RoutedEventHandler(this.buttonVoid_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\CancelMadeUnmadeControl.xaml"
                this.buttonDontCancel.Click += new System.Windows.RoutedEventHandler(this.buttonDontCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\CancelMadeUnmadeControl.xaml"
                this.buttonDontRefund.Click += new System.Windows.RoutedEventHandler(this.buttonDontCancel_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.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;
        }
Esempio n. 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.labelCostPerUnit = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 32 "..\..\..\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 33 "..\..\..\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 35 "..\..\..\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 36 "..\..\..\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 37 "..\..\..\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 39 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.comboBoxMeasuringUnits.SelectedIndexChanged += new System.EventHandler(this.comboBoxMeasuringUnits_SelectedIndexChanged);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\IngredientEditorDetailsControl.xaml"
                this.textBoxCostPerUnit.TextChanged += new System.Windows.RoutedEventHandler(this.textBoxCostPerUnit_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.buttonAdd = ((PosControls.TextBlockButton)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\EmployeeJobMaintenanceControl.xaml"
                this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.groupBoxList = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.groupBoxProperties = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 9:
                this.editorControl = ((PointOfSale.EmployeeJobEditorControl)(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.listBoxAllJobs = ((PosControls.DragScrollListBox)(target));

            #line 30 "..\..\..\EmployeeJobSelectionControl.xaml"
                this.listBoxAllJobs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxAllJobs_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\EmployeeJobSelectionControl.xaml"
                this.listBoxSelectedJobs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxSelectedJobs_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\EmployeeJobSelectionControl.xaml"
                this.buttonEditPayRate.Click += new System.Windows.RoutedEventHandler(this.buttonEditPayRate_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 12
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.buttonLockWorkstation = ((PosControls.TextBlockButton)(target));

            #line 18 "..\..\..\ExitControl.xaml"
                this.buttonLockWorkstation.Click += new System.Windows.RoutedEventHandler(this.buttonLockWorkstation_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonLogoff = ((PosControls.TextBlockButton)(target));

            #line 19 "..\..\..\ExitControl.xaml"
                this.buttonLogoff.Click += new System.Windows.RoutedEventHandler(this.buttonLogoff_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\ExitControl.xaml"
                this.buttonShutdown.Click += new System.Windows.RoutedEventHandler(this.buttonShutdown_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\ExitControl.xaml"
                this.buttonRestart.Click += new System.Windows.RoutedEventHandler(this.buttonRestart_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\ExitControl.xaml"
                this.buttonHibernate.Click += new System.Windows.RoutedEventHandler(this.buttonHibernate_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\ExitControl.xaml"
                this.buttonSuspend.Click += new System.Windows.RoutedEventHandler(this.buttonSuspend_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\ExitControl.xaml"
                this.buttonRestartProgram.Click += new System.Windows.RoutedEventHandler(this.buttonRestartProgram_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\ExitControl.xaml"
                this.buttonExitAll.Click += new System.Windows.RoutedEventHandler(this.buttonExitAll_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\ExitControl.xaml"
                this.buttonExitProgram.Click += new System.Windows.RoutedEventHandler(this.buttonExitProgram_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.gridControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.button10 = ((PosControls.TextBlockButton)(target));
                return;

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

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

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

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

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

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

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

            case 12:
                this.button30 = ((PosControls.TextBlockButton)(target));
                return;

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

            case 14:
                this.button32 = ((PosControls.TextBlockButton)(target));
                return;

            case 15:
                this.button33 = ((PosControls.TextBlockButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 14
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.listBox = ((PosControls.DragScrollListBox)(target));

            #line 30 "..\..\..\ItemEditorIngredientsControl.xaml"
                this.listBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\ItemEditorIngredientsControl.xaml"
                this.listBoxItemIngredients.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxItemIngredients_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\ItemEditorIngredientsControl.xaml"
                this.buttonAmount.Click += new System.Windows.RoutedEventHandler(this.buttonAmount_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 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.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 51 "..\..\..\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 69 "..\..\..\OrderEntryTicketDetailsControl.xaml"
                this.buttonMap.Click += new System.Windows.RoutedEventHandler(this.buttonMap_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 16
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));

            #line 11 "..\..\NumberEntryControl.xaml"
                this.gridControl.Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\NumberEntryControl.xaml"
                this.textBoxValue.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxValue_TextChanged);

            #line default
            #line hidden

            #line 21 "..\..\NumberEntryControl.xaml"
                this.textBoxValue.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxValue_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 12:
                this.button6 = ((PosControls.TextBlockButton)(target));
                return;

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

            case 14:
                this.button1 = ((PosControls.TextBlockButton)(target));
                return;

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

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

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

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

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

            case 20:
                this.buttonEnter = ((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.labelAmountDueLabel = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

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

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

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

            case 11:
                this.numberEntryControl = ((PosControls.NumberEntryControl)(target));
                return;

            case 12:
                this.buttonCash = ((PosControls.TextBlockButton)(target));

            #line 45 "..\..\..\TicketCashoutPaymentControl.xaml"
                this.buttonCash.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\TicketCashoutPaymentControl.xaml"
                this.buttonCheck.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.buttonCreditCard = ((PosControls.TextBlockButton)(target));

            #line 47 "..\..\..\TicketCashoutPaymentControl.xaml"
                this.buttonCreditCard.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\TicketCashoutPaymentControl.xaml"
                this.buttonGiftCard.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 18
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.row1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.buttonExit = ((PosControls.TextBlockButton)(target));

            #line 35 "..\..\..\SystemSettingsEditorControl.xaml"
                this.buttonExit.Click += new System.Windows.RoutedEventHandler(this.buttonExit_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.labelBroadcastServer = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 50 "..\..\..\GeneralSettingsGeneralPreferencesControl.xaml"
                this.radioButtonIsEnabled.SelectionGained += new System.EventHandler(this.radioButtonIsEnabled_SelectionGained);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\GeneralSettingsGeneralPreferencesControl.xaml"
                this.radioButtonIsNotEnabled.SelectionGained += new System.EventHandler(this.radioButtonIsNotEnabled_SelectionGained);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 53 "..\..\..\GeneralSettingsGeneralPreferencesControl.xaml"
                this.textBoxPort.ContextMenuClosing += new System.Windows.Controls.ContextMenuEventHandler(this.textBoxPort_ContextMenuClosing);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\GeneralSettingsGeneralPreferencesControl.xaml"
                this.buttonTest.Click += new System.Windows.RoutedEventHandler(this.buttonTest_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 20
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.listboxSourceTicket = ((PosControls.DragScrollListBox)(target));

            #line 24 "..\..\..\PartyManagementControl.xaml"
                this.listboxSourceTicket.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listboxSourceTicket_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\PartyManagementControl.xaml"
                this.receiptTape.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.receiptTape_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\PartyManagementControl.xaml"
                this.listBoxDestinationTicket.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxDestinationTicket_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\PartyManagementControl.xaml"
                this.buttonAddTicket.Click += new System.Windows.RoutedEventHandler(this.buttonAddTicket_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\PartyManagementControl.xaml"
                this.buttonRemoveTicket.Click += new System.Windows.RoutedEventHandler(this.buttonRemoveTicket_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\PartyManagementControl.xaml"
                this.buttonChangeSeating.Click += new System.Windows.RoutedEventHandler(this.buttonChangeSeating_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\PartyManagementControl.xaml"
                this.buttonEditParty.Click += new System.Windows.RoutedEventHandler(this.buttonEditParty_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\PartyManagementControl.xaml"
                this.buttonSelectAll.Click += new System.Windows.RoutedEventHandler(this.buttonSelectAll_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\PartyManagementControl.xaml"
                this.buttonUnselect.Click += new System.Windows.RoutedEventHandler(this.buttonUnselect_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.buttonSingleTicket = ((PosControls.TextBlockButton)(target));

            #line 40 "..\..\..\PartyManagementControl.xaml"
                this.buttonSingleTicket.Click += new System.Windows.RoutedEventHandler(this.buttonSingleTicket_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 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.mainContentBorder = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\LicenseSetupControl.xaml"
                this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.listBox = ((PosControls.DragScrollListBox)(target));

            #line 34 "..\..\..\LicenseSetupControl.xaml"
                this.listBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.editorControl = ((TemposClientAdministration.LicenseDetailsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 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.buttonChangeOccasion = ((PosControls.TextBlockButton)(target));
                return;

            case 4:
                this.buttonCoupon = ((PosControls.TextBlockButton)(target));
                return;

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

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

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

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

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

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

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

            case 12:
                this.buttonEarlyCancelTicket = ((PosControls.TextBlockButton)(target));
                return;

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

            case 14:
                this.buttonProcessReturns = ((PosControls.TextBlockButton)(target));
                return;

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

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

            case 17:
                this.buttonPlaceOrder = ((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.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;
        }
        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.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.Row0_Col0_Button = ((PosControls.TextBlockButton)(target));

            #line 28 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col6_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col7_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Row0_Col8_Button = ((PosControls.TextBlockButton)(target));

            #line 36 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col8_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col9_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Row0_Col10_Button = ((PosControls.TextBlockButton)(target));

            #line 38 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col10_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row0_Col11_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 45 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col6_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col7_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col8_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col9_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col10_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row1_Col11_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.Row2_Col0_Button = ((PosControls.TextBlockButton)(target));

            #line 62 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.Row2_Col1_Button = ((PosControls.TextBlockButton)(target));

            #line 63 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.Row2_Col2_Button = ((PosControls.TextBlockButton)(target));

            #line 64 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.Row2_Col3_Button = ((PosControls.TextBlockButton)(target));

            #line 65 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.Row2_Col4_Button = ((PosControls.TextBlockButton)(target));

            #line 66 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.Row2_Col5_Button = ((PosControls.TextBlockButton)(target));

            #line 67 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.Row2_Col6_Button = ((PosControls.TextBlockButton)(target));

            #line 68 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col6_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.Row2_Col7_Button = ((PosControls.TextBlockButton)(target));

            #line 69 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col7_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.Row2_Col8_Button = ((PosControls.TextBlockButton)(target));

            #line 70 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col8_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.Row2_Col9_Button = ((PosControls.TextBlockButton)(target));

            #line 71 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col9_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.Row2_Col10_Button = ((PosControls.TextBlockButton)(target));

            #line 72 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col10_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.Row2_Col11_Button = ((PosControls.TextBlockButton)(target));

            #line 73 "..\..\..\OrderEntryPizzaItemControl.xaml"
                this.Row2_Col11_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 25
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            TextBlockButton pushButtonSender = (TextBlockButton)sender;

            SelectedMonth = (Month)Convert.ToInt32(pushButtonSender.Tag);
        }
        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.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.Row0_Col0_Button = ((PosControls.TextBlockButton)(target));

            #line 21 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col6_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col7_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Row0_Col8_Button = ((PosControls.TextBlockButton)(target));

            #line 29 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col8_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col9_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Row0_Col10_Button = ((PosControls.TextBlockButton)(target));

            #line 31 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col10_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row0_Col11_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 35 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col6_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col7_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col8_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col9_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col10_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\OrderEntryCategorySelectionControl.xaml"
                this.Row1_Col11_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

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

            case 3:
                this.Row0_Col0_Button = ((PosControls.TextBlockButton)(target));

            #line 15 "..\..\..\SeatingDineInControl.xaml"
                this.Row0_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Row0_Col1_Button = ((PosControls.TextBlockButton)(target));

            #line 16 "..\..\..\SeatingDineInControl.xaml"
                this.Row0_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\SeatingDineInControl.xaml"
                this.Row0_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\SeatingDineInControl.xaml"
                this.Row0_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\SeatingDineInControl.xaml"
                this.Row0_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\SeatingDineInControl.xaml"
                this.Row0_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\SeatingDineInControl.xaml"
                this.Row1_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\SeatingDineInControl.xaml"
                this.Row1_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\SeatingDineInControl.xaml"
                this.Row1_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Row1_Col3_Button = ((PosControls.TextBlockButton)(target));

            #line 29 "..\..\..\SeatingDineInControl.xaml"
                this.Row1_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\SeatingDineInControl.xaml"
                this.Row1_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Row1_Col5_Button = ((PosControls.TextBlockButton)(target));

            #line 31 "..\..\..\SeatingDineInControl.xaml"
                this.Row1_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\SeatingDineInControl.xaml"
                this.Row2_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\SeatingDineInControl.xaml"
                this.Row2_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\SeatingDineInControl.xaml"
                this.Row2_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\SeatingDineInControl.xaml"
                this.Row2_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\SeatingDineInControl.xaml"
                this.Row2_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\SeatingDineInControl.xaml"
                this.Row2_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\SeatingDineInControl.xaml"
                this.Row3_Col0_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\SeatingDineInControl.xaml"
                this.Row3_Col1_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\SeatingDineInControl.xaml"
                this.Row3_Col2_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\SeatingDineInControl.xaml"
                this.Row3_Col3_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\SeatingDineInControl.xaml"
                this.Row3_Col4_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\SeatingDineInControl.xaml"
                this.Row3_Col5_Button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\ChangePasswordControl.xaml"
                ((TemPOS.ChangePasswordControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ChangePasswordControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

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

            #line 29 "..\..\..\ChangePasswordControl.xaml"
                this.textOldPassword.TextChanged += new System.Windows.RoutedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\ChangePasswordControl.xaml"
                this.textNewPassword1.TextChanged += new System.Windows.RoutedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\ChangePasswordControl.xaml"
                this.textNewPassword2.TextChanged += new System.Windows.RoutedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\ChangePasswordControl.xaml"
                this.buttonControl.Click += new System.Windows.RoutedEventHandler(this.TextBlockButton_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;
        }
Esempio n. 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.listBoxStartRange = ((PosControls.DragScrollListBox)(target));

            #line 29 "..\..\..\DayOfOperationRangeSelectionControl.xaml"
                this.listBoxStartRange.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxStartRange_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\DayOfOperationRangeSelectionControl.xaml"
                this.listBoxEndRange.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxEndRange_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\DayOfOperationRangeSelectionControl.xaml"
                this.buttonSelectSpecified.Click += new System.Windows.RoutedEventHandler(this.buttonSelectSpecified_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\DayOfOperationRangeSelectionControl.xaml"
                this.buttonAllThisYear.Click += new System.Windows.RoutedEventHandler(this.buttonAllThisYear_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\DayOfOperationRangeSelectionControl.xaml"
                this.buttonAll.Click += new System.Windows.RoutedEventHandler(this.buttonAll_Click);

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