Beispiel #1
0
 /// <summary>
 /// With CultureInfo, logging and DI set up, we can Start the Dashboard
 /// </summary>
 private static void StartDashboard()
 {
     // Create the Dashboard
     Dashboard.Dashboard wnd = new Dashboard.Dashboard();
     // Show the Dashboard
     wnd.Show();
 }
Beispiel #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;
        }