Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((PosControls.TimeEditControl)(target));

            #line 8 "..\..\TimeEditControl.xaml"
                this.UserControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dockPanel_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\TimeEditControl.xaml"
                this.mainPane.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dockPanel_MouseDown);

            #line default
            #line hidden
                return;

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

            case 5:
                this.gridControl2 = ((System.Windows.Controls.Grid)(target));

            #line 18 "..\..\TimeEditControl.xaml"
                this.gridControl2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dockPanel_MouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.borderControl = ((System.Windows.Controls.Border)(target));

            #line 19 "..\..\TimeEditControl.xaml"
                this.borderControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dockPanel_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\TimeEditControl.xaml"
                this.labelTime.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dockPanel_MouseDown);

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

            case 2:
                this.Configuration = ((PointOfSale.ConfigurationManager)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 3:
                this.borderFields = ((System.Windows.Controls.Border)(target));
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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