void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyTitleBar = ((WPF.DashboardStarter.UserControls.Titlebar)(target));
                return;

            case 2:
                this.CompanyButton = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 5:
                this.LoggedInUser = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.LogoutIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.AboutButton = ((System.Windows.Controls.Button)(target));
                return;

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

            case 10:
                this.MinimizeButton = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.MinimizeIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.MaximizeButton = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.MaximizeIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.CloseButton = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.ExitIcon = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMainWindow = ((WPF.DashboardStarter.Dashboard.Dashboard)(target));
                return;

            case 2:
                this.Titlebar = ((WPF.DashboardStarter.UserControls.Titlebar)(target));
                return;

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

            case 4:
                this.OuterDrawer = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 7:
                this.Arrow = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.BtnSettings = ((System.Windows.Controls.Button)(target));
                return;

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

            case 10:
                this.AnimatedRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

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

            case 12:
                this.Burger = ((System.Windows.Controls.Image)(target));
                return;

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

            case 14:
                this.LaunchIcon = ((System.Windows.Controls.Image)(target));
                return;

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

            case 16:
                this.MsgIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.OuterDrawerHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 18:
                this.InnerDrawer = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.InnerDrawerHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 20:
                this.DashboardHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 21:
                this.Spinner = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 22:
                this.Popup = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.PopupHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMainWindow = ((WPF.DashboardStarter.Dashboard.Dashboard)(target));
                return;

            case 2:
                this.Titlebar = ((WPF.DashboardStarter.UserControls.Titlebar)(target));
                return;

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

            case 4:
                this.Sidebar = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 7:
                this.Arrow = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.BtnSettings = ((System.Windows.Controls.Button)(target));

            #line 159 "..\..\..\..\Dashboard\Dashboard.xaml"
                this.BtnSettings.Click += new System.Windows.RoutedEventHandler(this.BtnSettings_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.AnimatedRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

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

            #line 196 "..\..\..\..\Dashboard\Dashboard.xaml"
                this.BtnMenu.Click += new System.Windows.RoutedEventHandler(this.BtnMenu_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Burger = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 217 "..\..\..\..\Dashboard\Dashboard.xaml"
                this.BtnLaunch.Click += new System.Windows.RoutedEventHandler(this.BtnLaunch_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.LaunchIcon = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 238 "..\..\..\..\Dashboard\Dashboard.xaml"
                this.BtnTest.Click += new System.Windows.RoutedEventHandler(this.BtnTest_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.TestIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.OuterDrawerHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 18:
                this.SecondSidebar = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.InnerDrawerHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 20:
                this.DashboardHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 21:
                this.Spinner = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 22:
                this.Popup = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.PopupHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;
            }
            this._contentLoaded = true;
        }