コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flipper2 = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 2:
                this.imagebox = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.bFCPColour = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 6:
                this.bFCPPrice = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flipper1 = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 2:
                this.search1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 4:

            #line 83 "..\..\..\UserWindow_Classes\CarCard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_to_Cart_click);

            #line default
            #line hidden
                return;

            case 5:
                this.Carid = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Person = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 2:
                this.Person_FullName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:

            #line 41 "..\..\..\View\Home.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveInfo);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\View\Home.xaml"
                this.Person_Name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Person_Name_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\View\Home.xaml"
                this.Person_Surname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Person_Surname_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.Person_Dia = ((De.TorstenMandelkow.MetroChart.RadialGaugeChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CauseTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.DescriptionTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.ActionTypeFlipper = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

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

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

            case 6:
                this.FixerStructureTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.StartDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.EndDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:

            #line 186 "..\..\..\..\Pages\Forms\NcFixFormPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfirmFixBtnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flipper2 = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 2:
                this.imagebox = ((System.Windows.Controls.Image)(target));
                return;

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

            case 4:
                this.available_quantity = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 6:

            #line 71 "..\..\..\..\..\UserWindow_Classes\CarParts\All Products\PartCard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_to_Cart_click);

            #line default
            #line hidden
                return;

            case 7:
                this.partid = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CardFlipper = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 2:
                this.UserBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 4:

            #line 74 "..\..\..\Pages\LoginPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Identify);

            #line default
            #line hidden
                return;

            case 5:

            #line 97 "..\..\..\Pages\LoginPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Navigate_To_Admin_Page);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Mainwin = ((Shopicon.View.MainWindow)(target));
                return;

            case 2:
                this.Menu = ((System.Windows.Controls.Frame)(target));
                return;

            case 3:
                this.AccountFlipper = ((MaterialDesignThemes.Wpf.Flipper)(target));

            #line 46 "..\..\..\View\MainWindow.xaml"
                this.AccountFlipper.IsFlippedChanged += new System.Windows.RoutedPropertyChangedEventHandler <bool>(this.Flipper_OnIsFlippedChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.Login = ((System.Windows.Controls.Frame)(target));
                return;

            case 5:
                this.Registration = ((System.Windows.Controls.Frame)(target));
                return;

            case 6:
                this.AccountMenu = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flipper2 = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 2:
                this.imagebox = ((System.Windows.Controls.Image)(target));
                return;

            case 3:

            #line 20 "..\..\..\..\..\UserWindow_Classes\CarParts\My Products\MypartCard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditImage_click);

            #line default
            #line hidden
                return;

            case 4:
                this.bFCPName = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 6:
                this.bFCPQuantity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.bFCPWarranty = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.bFCPPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:

            #line 78 "..\..\..\..\..\UserWindow_Classes\CarParts\My Products\MypartCard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Done_click);

            #line default
            #line hidden
                return;

            case 10:

            #line 79 "..\..\..\..\..\UserWindow_Classes\CarParts\My Products\MypartCard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_click);

            #line default
            #line hidden
                return;

            case 11:
                this.partid = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AddProduct = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.flipper1 = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 3:
                this.imagebox = ((System.Windows.Controls.Image)(target));
                return;

            case 4:

            #line 20 "..\..\..\..\UserWindow_Classes\Cars\Add_Car.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddImage_click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.Speed = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.TankCapacity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.ExColour = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.InColour = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.Warranty = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.Price = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.quantity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:

            #line 76 "..\..\..\..\UserWindow_Classes\Cars\Add_Car.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Product);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 2:
                this.BusinessTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 3:

            #line 64 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.CategoriestabItem1_Clicked);

            #line default
            #line hidden
                return;

            case 4:
                this.messageList = ((System.Windows.Controls.ListBox)(target));
                return;

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

            case 6:

            #line 106 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClientSendMessage);

            #line default
            #line hidden
                return;

            case 7:
                this.ConnctTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:
                this.Flipper1 = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 9:
                this.FlipperButton = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.Ip = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.Port = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.Name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.toglebutton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 160 "..\..\MainWindow.xaml"
                this.toglebutton.Checked += new System.Windows.RoutedEventHandler(this.SetConnection);

            #line default
            #line hidden
                return;

            case 14:

            #line 161 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Disconnection);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.caseTitleLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.FinaliseFlipper = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 3:
                this.FinaliseFlipperFrontBtn = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\..\..\Pages\Forms\NcFullDetailPage.xaml"
                this.FinaliseFlipperFrontBtn.Click += new System.Windows.RoutedEventHandler(this.ValidateFlipperClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 68 "..\..\..\..\Pages\Forms\NcFullDetailPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FinaliseNcFileFix);

            #line default
            #line hidden
                return;

            case 5:
                this.ValidateFlipper = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 6:
                this.ValidateFlipperFrontBtn = ((System.Windows.Controls.Button)(target));

            #line 88 "..\..\..\..\Pages\Forms\NcFullDetailPage.xaml"
                this.ValidateFlipperFrontBtn.Click += new System.Windows.RoutedEventHandler(this.ValidateFlipperClick);

            #line default
            #line hidden
                return;

            case 7:

            #line 103 "..\..\..\..\Pages\Forms\NcFullDetailPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ValidateNcFileFix);

            #line default
            #line hidden
                return;

            case 8:
                this.ResetFlipper = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 9:

            #line 123 "..\..\..\..\Pages\Forms\NcFullDetailPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetFlipperClick);

            #line default
            #line hidden
                return;

            case 10:

            #line 137 "..\..\..\..\Pages\Forms\NcFullDetailPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetNcFileFix);

            #line default
            #line hidden
                return;

            case 11:

            #line 158 "..\..\..\..\Pages\Forms\NcFullDetailPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PrintNcFile);

            #line default
            #line hidden
                return;

            case 12:
                this.userFullNameTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.structureTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.NcDescriptionTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.n_planTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.partial_setTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.sourceTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.creationDateTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.CauseTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.ActionDescriptionTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.ActionTypeTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.FixerNameTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.FixerFunctionTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.FixerStructureTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.StartDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.EndDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.PicContainer = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CloseMenu_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 2:
                this.CloseMenu_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.CloseMenu_BeginStoryboard2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.CloseMenu_BeginStoryboard3 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.CloseMenu_BeginStoryboard4 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 6:
                this.CloseMenu_BeginStoryboard5 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 7:
                this.CloseMenu_BeginStoryboard6 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 8:
                this.CloseMenu_BeginStoryboard7 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 9:
                this.CloseMenu_BeginStoryboard8 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 10:
                this.StackPanelMenu = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;

            case 12:
                this.listViewItem = ((System.Windows.Controls.ListViewItem)(target));
                return;

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

            #line 166 "..\..\Menu_Win.xaml"
                this.SearchAdult.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.listViewItem14 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 15:
                this.SearchDeliverMan = ((System.Windows.Controls.Button)(target));

            #line 182 "..\..\Menu_Win.xaml"
                this.SearchDeliverMan.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.listViewItem13 = ((System.Windows.Controls.ListViewItem)(target));
                return;

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

            #line 197 "..\..\Menu_Win.xaml"
                this.AddAdult.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.listViewItem1 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 19:
                this.AddDeliverMan = ((System.Windows.Controls.Button)(target));

            #line 212 "..\..\Menu_Win.xaml"
                this.AddDeliverMan.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.listViewItem2 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 21:
                this.AddDelivery = ((System.Windows.Controls.Button)(target));

            #line 226 "..\..\Menu_Win.xaml"
                this.AddDelivery.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.listViewItem3 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 23:
                this.TasksSchedule = ((System.Windows.Controls.Button)(target));

            #line 240 "..\..\Menu_Win.xaml"
                this.TasksSchedule.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.listViewItem4 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 25:
                this.TasksManager = ((System.Windows.Controls.Button)(target));

            #line 254 "..\..\Menu_Win.xaml"
                this.TasksManager.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.listViewItem12 = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 27:
                this.Graphs = ((System.Windows.Controls.Button)(target));

            #line 270 "..\..\Menu_Win.xaml"
                this.Graphs.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

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

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

            case 30:
                this.Flipper = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 31:
                this.btnLogIn = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.MyPasswordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 33:
                this.buttonOpenMenu = ((System.Windows.Controls.Button)(target));

            #line 354 "..\..\Menu_Win.xaml"
                this.buttonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.buttonOpenMenu_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.buttonCloseMenu = ((System.Windows.Controls.Button)(target));

            #line 357 "..\..\Menu_Win.xaml"
                this.buttonCloseMenu.Click += new System.Windows.RoutedEventHandler(this.buttonMenuClose_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.txtBlockTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.UC = ((System.Windows.Controls.Grid)(target));
                return;

            case 37:
                this.SP = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 38:
                this.GridForUC = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.firstImage = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.map = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 409 "..\..\Menu_Win.xaml"
                this.buttonClose.Click += new System.Windows.RoutedEventHandler(this.buttonClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.DialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            case 4:
                this.btnDialogDelete = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\..\UserControls\AdminDashboard.xaml"
                this.btnDialogDelete.Click += new System.Windows.RoutedEventHandler(this.btnDialogDelete_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnDialogOK = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.Map = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 7:
                this.flpChangeNamePicture = ((MaterialDesignThemes.Wpf.Flipper)(target));
                return;

            case 8:
                this.imgBtnDevanture = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.imgBtnDevantureBack = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.txtFlpChangeName = ((System.Windows.Controls.TextBox)(target));

            #line 119 "..\..\..\UserControls\AdminDashboard.xaml"
                this.txtFlpChangeName.LostFocus += new System.Windows.RoutedEventHandler(this.txtFlpChangeName_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\..\UserControls\AdminDashboard.xaml"
                this.btnChangePicture.Click += new System.Windows.RoutedEventHandler(this.btnChangePicture_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.txtChangeAddress = ((System.Windows.Controls.TextBox)(target));

            #line 168 "..\..\..\UserControls\AdminDashboard.xaml"
                this.txtChangeAddress.LostFocus += new System.Windows.RoutedEventHandler(this.txtChangeAddress_LostFocus);

            #line default
            #line hidden
                return;

            case 13:
                this.txtFlpChangePhone = ((System.Windows.Controls.TextBox)(target));

            #line 175 "..\..\..\UserControls\AdminDashboard.xaml"
                this.txtFlpChangePhone.LostFocus += new System.Windows.RoutedEventHandler(this.txtFlpChangePhone_LostFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.txtFlpWebsite = ((System.Windows.Controls.TextBox)(target));

            #line 179 "..\..\..\UserControls\AdminDashboard.xaml"
                this.txtFlpWebsite.LostFocus += new System.Windows.RoutedEventHandler(this.txtFlpWebsite_LostFocus);

            #line default
            #line hidden
                return;

            case 15:
                this.stkpOffer = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 16:
                this.ListViewIceCreams = ((System.Windows.Controls.ItemsControl)(target));
                return;

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

            #line 251 "..\..\..\UserControls\AdminDashboard.xaml"
                this.Disconnection.Click += new System.Windows.RoutedEventHandler(this.Disconnection_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.stkpAddIceCream = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 20:
                this.txtIceCream = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.txtTaste = ((System.Windows.Controls.TextBox)(target));

            #line 271 "..\..\..\UserControls\AdminDashboard.xaml"
                this.txtTaste.LostFocus += new System.Windows.RoutedEventHandler(this.txtTaste_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.btnAddPicture = ((System.Windows.Controls.Button)(target));

            #line 295 "..\..\..\UserControls\AdminDashboard.xaml"
                this.btnAddPicture.Click += new System.Windows.RoutedEventHandler(this.btnAddPicture_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.imgAddImageBkg = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.txtBtnAddPicture = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.pgbImage = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 26:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 320 "..\..\..\UserControls\AdminDashboard.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.pgbNutritionalInfos = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 28:
                this.stkpNutritionalInfos = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 29:
                this.txtEnergy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.txtSugar = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.txtFat = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }