Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._Selector = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 2:
                this._ItemsContains = ((System.Windows.Controls.Grid)(target));

            #line 17 "..\..\..\Controls\Selector.xaml"
                this._ItemsContains.Loaded += new System.Windows.RoutedEventHandler(this._ItemsContains_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._UserPanel = ((TecCargo_Faktura.WindowsView.UserPanel)(target));
                return;

            case 2:
                this.ScrollViewBox = ((System.Windows.Controls.ScrollViewer)(target));

            #line 31 "..\..\..\WindowsView\UserPanel.xaml"
                this.ScrollViewBox.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollViewBox_ScrollChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.Grid_Viewbox = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.Address_Afsender = ((TecCargo_Faktura.Controls.Address)(target));
                return;

            case 5:
                this.Address_Modtager = ((TecCargo_Faktura.Controls.Address)(target));
                return;

            case 6:
                this.Address_Modtager2 = ((TecCargo_Faktura.Controls.Address)(target));
                return;

            case 7:
                this.MyTextbox_Generelt_Reference = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 8:
                this.MyTextbox_Generelt_Fragtmand = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 9:
                this.DateTimePicker_Generelt_Rute_1 = ((TecCargo_Faktura.Controls.DateTimePicker)(target));
                return;

            case 10:
                this.MyTextbox_Generelt_Rute_1 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 11:
                this.DateTimePicker_Generelt_Rute_2 = ((TecCargo_Faktura.Controls.DateTimePicker)(target));
                return;

            case 12:
                this.MyTextbox_Generelt_Rute_2 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 13:
                this.Selector_Generelt_Forsikringstype = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 14:
                this.CheckBoxButton_Byttepaller = ((TecCargo_Faktura.Controls.CheckBoxButton)(target));
                return;

            case 15:
                this.MyTextbox_Byttepaller_1 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 16:
                this.MyTextbox_Byttepaller_2 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 17:
                this.MyTextbox_Byttepaller_3 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 18:
                this.CheckBoxButton_Efterkrav = ((TecCargo_Faktura.Controls.CheckBoxButton)(target));
                return;

            case 19:
                this.MyTextbox_Efterkrav_1 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 20:
                this.MyTextbox_Efterkrav_2 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 21:
                this.MyTextbox_Efterkrav_3 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 22:
                this.MyTextbox_Efterkrav_4 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 23:
                this.Selector_Transport1 = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 24:
                this.Selector_Transport2 = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 25:
                this.Selector_Transport3 = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 26:
                this.PakkeControl_Transport = ((TecCargo_Faktura.Controls.PakkeControl)(target));
                return;

            case 27:
                this.MyTextBlock_Notifications = ((TecCargo_Faktura.Controls.MyTextBlock)(target));
                return;

            case 28:
                this.Grid_CheckStatusContainer = ((System.Windows.Controls.Grid)(target));

            #line 187 "..\..\..\WindowsView\UserPanel.xaml"
                this.Grid_CheckStatusContainer.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Grid_StatusCheck_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 29:

            #line 194 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Grid)(target)).IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Grid_PDFView_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.MyDocumentViewer_PDFViewer = ((TecCargo_Faktura.Controls.MyDocumentViewer)(target));
                return;

            case 31:
                this.DateTimePicker_Afslut_Leveringsdato = ((TecCargo_Faktura.Controls.DateTimePicker)(target));
                return;

            case 32:
                this.MyTextbox_Afslut_Rabat = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 33:
                this.MyTextbox_Afslut_Kilometer = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 34:
                this.MyTextbox_Afslut_Tidsforbrug_1 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 35:
                this.MyTextbox_Afslut_Tidsforbrug_2 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 36:
                this.MyTextbox_Afslut_Tidsforbrug_3 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 37:
                this.MyTextbox_Afslut_Tidsforbrug_4 = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 38:
                this.MyTextBlock_Afslut_Kommentar = ((TecCargo_Faktura.Controls.MyTextBlock)(target));
                return;

            case 39:
                this.Address_Faktura = ((TecCargo_Faktura.Controls.Address)(target));
                return;

            case 40:
                this.Gebyr_Ekstra = ((TecCargo_Faktura.Controls.Gebyr)(target));
                return;

            case 41:
                this.Button_GridViewBack = ((System.Windows.Controls.Button)(target));

            #line 318 "..\..\..\WindowsView\UserPanel.xaml"
                this.Button_GridViewBack.Click += new System.Windows.RoutedEventHandler(this.Button_ViewSelectorChangeView_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.Button_GridViewNext = ((System.Windows.Controls.Button)(target));

            #line 333 "..\..\..\WindowsView\UserPanel.xaml"
                this.Button_GridViewNext.Click += new System.Windows.RoutedEventHandler(this.Button_ViewSelectorChangeView_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.Prislist_faktura = ((TecCargo_Faktura.Controls.PrisList)(target));
                return;

            case 44:
                this.Image_ButtomStatusFragt = ((System.Windows.Controls.Image)(target));
                return;

            case 45:
                this.Image_ButtomStatusFaktura = ((System.Windows.Controls.Image)(target));
                return;

            case 46:

            #line 418 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolsbarButton_Filer_Click);

            #line default
            #line hidden
                return;

            case 47:

            #line 419 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonAdmin_Startmenu_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.Button_Save = ((System.Windows.Controls.Button)(target));

            #line 428 "..\..\..\WindowsView\UserPanel.xaml"
                this.Button_Save.Click += new System.Windows.RoutedEventHandler(this.toolbarButton_save_Click);

            #line default
            #line hidden
                return;

            case 49:

            #line 432 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.toolbarButton_PDF_Click);

            #line default
            #line hidden
                return;

            case 50:

            #line 436 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.toolbarButton_new_Click);

            #line default
            #line hidden
                return;

            case 51:

            #line 449 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolBarButton_Test);

            #line default
            #line hidden
                return;

            case 52:

            #line 453 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolBarButton_Test);

            #line default
            #line hidden
                return;

            case 53:

            #line 457 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolBarButton_Test);

            #line default
            #line hidden
                return;

            case 54:
                this.Slider_Zoom = ((System.Windows.Controls.Slider)(target));

            #line 470 "..\..\..\WindowsView\UserPanel.xaml"
                this.Slider_Zoom.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged);

            #line default
            #line hidden
                return;

            case 55:

            #line 482 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolBarButton_ChangeOptions_Click);

            #line default
            #line hidden
                return;

            case 56:

            #line 486 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolBarButton_ChangeOptions_Click);

            #line default
            #line hidden
                return;

            case 57:

            #line 490 "..\..\..\WindowsView\UserPanel.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolBarButton_ChangeOptions_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.Line_ViewSelector_FragtFirstH = ((System.Windows.Shapes.Line)(target));
                return;

            case 59:
                this.TextBlock_ViewSelector_Fragt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 60:
                this.Line_ViewSelector_FragtLastH = ((System.Windows.Shapes.Line)(target));
                return;

            case 61:
                this.Line_ViewSelector_FakturaFirstH = ((System.Windows.Shapes.Line)(target));
                return;

            case 62:
                this.TextBlock_ViewSelector_Faktura = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.Line_ViewSelector_FakturaLastH = ((System.Windows.Shapes.Line)(target));
                return;

            case 64:
                this.Border_ViewSelectorBox = ((System.Windows.Controls.Border)(target));
                return;

            case 65:
                this.Button_ViewSelectorBack = ((System.Windows.Controls.Button)(target));

            #line 557 "..\..\..\WindowsView\UserPanel.xaml"
                this.Button_ViewSelectorBack.Click += new System.Windows.RoutedEventHandler(this.Button_ViewSelectorChangeView_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.Border_ViewSelector = ((System.Windows.Controls.Border)(target));
                return;

            case 67:
                this.Grid_ViewSelectorContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 68:
                this.Button_ViewSelectorNext = ((System.Windows.Controls.Button)(target));

            #line 582 "..\..\..\WindowsView\UserPanel.xaml"
                this.Button_ViewSelectorNext.Click += new System.Windows.RoutedEventHandler(this.Button_ViewSelectorChangeView_Click);

            #line default
            #line hidden
                return;

            case 69:
                this.ToolsbarMenu_Filer = ((System.Windows.Controls.ListBox)(target));
                return;

            case 70:
                this.toolbarButtonListSave = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 71:
                this.toolbarList_PDF = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 72:
                this.ButtonTool_CloseFragtbrev = ((System.Windows.Controls.Button)(target));
                return;

            case 73:
                this.ButtonTool_CloseFragtbrevComment = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._PakkeControl = ((TecCargo_Faktura.Controls.PakkeControl)(target));

            #line 11 "..\..\..\Controls\PakkeControl.xaml"
                this._PakkeControl.Loaded += new System.Windows.RoutedEventHandler(this._PakkeControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\Controls\PakkeControl.xaml"
                this._PakkeControl.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this._PakkeControl_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Grid_editItem1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this._hiddenId = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this._mrkNumb = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 5:
                this._indhold = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 6:
                this._antal = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 7:
                this._weight = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 8:
                this._volume = ((TecCargo_Faktura.Controls.MyTextbox)(target));
                return;

            case 9:
                this._artType = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 10:
                this._transportType = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 11:
                this._AddButton = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\Controls\PakkeControl.xaml"
                this._AddButton.Click += new System.Windows.RoutedEventHandler(this._AddButton_click);

            #line default
            #line hidden
                return;

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

            case 13:
                this._CancelButton = ((System.Windows.Controls.Button)(target));

            #line 92 "..\..\..\Controls\PakkeControl.xaml"
                this._CancelButton.Click += new System.Windows.RoutedEventHandler(this._CancelButton_click);

            #line default
            #line hidden
                return;

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

            case 15:
                this._ScrollViewer_Packet = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:
                this._ItemsContains = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this._Button_Arrow_Back = ((System.Windows.Controls.Button)(target));

            #line 136 "..\..\..\Controls\PakkeControl.xaml"
                this._Button_Arrow_Back.Click += new System.Windows.RoutedEventHandler(this.Button_ChangeEditArrow_Click);

            #line default
            #line hidden
                return;

            case 18:
                this._Button_Arrow_Next = ((System.Windows.Controls.Button)(target));

            #line 151 "..\..\..\Controls\PakkeControl.xaml"
                this._Button_Arrow_Next.Click += new System.Windows.RoutedEventHandler(this.Button_ChangeEditArrow_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.grid_faktura = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.Selector_Faktura_Takst = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 21:
                this.Selector_Faktura_Beregn = ((TecCargo_Faktura.Controls.Selector)(target));
                return;

            case 22:
                this.StackPanel_PacketPrice = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 23:
                this.TextBlock_PacketPrice = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this._NextButton = ((System.Windows.Controls.Button)(target));

            #line 201 "..\..\..\Controls\PakkeControl.xaml"
                this._NextButton.Click += new System.Windows.RoutedEventHandler(this._NextButton_click);

            #line default
            #line hidden
                return;

            case 25:
                this._NextButtonText = ((System.Windows.Controls.Label)(target));
                return;

            case 26:

            #line 212 "..\..\..\Controls\PakkeControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this._CancelButton_click);

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