Click here to Skip to main content
15,896,063 members
Articles / Desktop Programming / WPF

Calcium: A modular application toolset leveraging PRISM – Part 1

Rate me:
Please Sign up or sign in to vote.
4.93/5 (70 votes)
1 Jun 2009BSD17 min read 251.9K   208  
Calcium provides much of what one needs to rapidly build a multifaceted and sophisticated modular application. Includes a host of modules and services, and an infrastructure that is ready to use in your next application.
#pragma checksum "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5A344B1F03B698E9DBB634B5CB6627F1"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3074
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using DanielVaughan.Calcium.Client;
using DanielVaughan.Calcium.Client.Gui.Controls;
using Microsoft.Practices.Composite.Presentation.Regions;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;


namespace DanielVaughan.Calcium.Client.Gui.Windows {
    
    
    /// <summary>
    /// DesktopShell
    /// </summary>
    public partial class DesktopShell : System.Windows.Window, System.Windows.Markup.IComponentConnector {
        
        
        #line 9 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Grid Grid_Root;
        
        #line default
        #line hidden
        
        
        #line 11 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.ColumnDefinition columnDefinition_Left;
        
        #line default
        #line hidden
        
        
        #line 12 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.ColumnDefinition columnDefinition_Center;
        
        #line default
        #line hidden
        
        
        #line 13 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.ColumnDefinition columnDefinition_Right;
        
        #line default
        #line hidden
        
        
        #line 17 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.RowDefinition rowDefinition_Banner;
        
        #line default
        #line hidden
        
        
        #line 18 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.RowDefinition rowDefinition_Menu;
        
        #line default
        #line hidden
        
        
        #line 19 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.RowDefinition rowDefinition_Content;
        
        #line default
        #line hidden
        
        
        #line 20 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.RowDefinition rowDefinition_OutputDisplay;
        
        #line default
        #line hidden
        
        
        #line 24 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Border border_Banner;
        
        #line default
        #line hidden
        
        
        #line 25 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Expander expander_Banner;
        
        #line default
        #line hidden
        
        
        #line 30 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal DanielVaughan.Calcium.Client.Gui.Controls.TitleBanner titleBanner;
        
        #line default
        #line hidden
        
        
        #line 35 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.ContentControl contentControl_Menu;
        
        #line default
        #line hidden
        
        
        #line 44 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Border border_Left;
        
        #line default
        #line hidden
        
        
        #line 45 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Expander expander_Left;
        
        #line default
        #line hidden
        
        
        #line 49 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.TabControl tabControl_Left;
        
        #line default
        #line hidden
        
        
        #line 57 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Border border_Workspace;
        
        #line default
        #line hidden
        
        
        #line 58 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.TabControl tabControl_Workspace;
        
        #line default
        #line hidden
        
        
        #line 66 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Border border_Right;
        
        #line default
        #line hidden
        
        
        #line 69 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Expander expander_Right;
        
        #line default
        #line hidden
        
        
        #line 73 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.TabControl tabControl_Right;
        
        #line default
        #line hidden
        
        
        #line 82 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Border border_Bottom;
        
        #line default
        #line hidden
        
        
        #line 84 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.Expander expander_Bottom;
        
        #line default
        #line hidden
        
        
        #line 89 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.TabControl tabControl_Bottom;
        
        #line default
        #line hidden
        
        
        #line 97 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.GridSplitter gridSplitter_Left;
        
        #line default
        #line hidden
        
        
        #line 101 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.GridSplitter gridSplitter_Bottom;
        
        #line default
        #line hidden
        
        
        #line 105 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
        internal System.Windows.Controls.GridSplitter gridSplitter_Right;
        
        #line default
        #line hidden
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/DanielVaughan.Calcium.DesktopClient;component/gui/windows/shell/desktopshell.xam" +
                    "l", System.UriKind.Relative);
            
            #line 1 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            System.Windows.Application.LoadComponent(this, resourceLocater);
            
            #line default
            #line hidden
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
            return System.Delegate.CreateDelegate(delegateType, this, handler);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.Grid_Root = ((System.Windows.Controls.Grid)(target));
            return;
            case 2:
            this.columnDefinition_Left = ((System.Windows.Controls.ColumnDefinition)(target));
            return;
            case 3:
            this.columnDefinition_Center = ((System.Windows.Controls.ColumnDefinition)(target));
            return;
            case 4:
            this.columnDefinition_Right = ((System.Windows.Controls.ColumnDefinition)(target));
            return;
            case 5:
            this.rowDefinition_Banner = ((System.Windows.Controls.RowDefinition)(target));
            return;
            case 6:
            this.rowDefinition_Menu = ((System.Windows.Controls.RowDefinition)(target));
            return;
            case 7:
            this.rowDefinition_Content = ((System.Windows.Controls.RowDefinition)(target));
            return;
            case 8:
            this.rowDefinition_OutputDisplay = ((System.Windows.Controls.RowDefinition)(target));
            return;
            case 9:
            this.border_Banner = ((System.Windows.Controls.Border)(target));
            return;
            case 10:
            this.expander_Banner = ((System.Windows.Controls.Expander)(target));
            
            #line 28 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Banner.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Banner_ExpandChanged);
            
            #line default
            #line hidden
            
            #line 29 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Banner.Collapsed += new System.Windows.RoutedEventHandler(this.Expander_Banner_ExpandChanged);
            
            #line default
            #line hidden
            return;
            case 11:
            this.titleBanner = ((DanielVaughan.Calcium.Client.Gui.Controls.TitleBanner)(target));
            return;
            case 12:
            this.contentControl_Menu = ((System.Windows.Controls.ContentControl)(target));
            return;
            case 13:
            this.border_Left = ((System.Windows.Controls.Border)(target));
            return;
            case 14:
            this.expander_Left = ((System.Windows.Controls.Expander)(target));
            
            #line 47 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Left.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Left_ExpandChanged);
            
            #line default
            #line hidden
            
            #line 48 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Left.Collapsed += new System.Windows.RoutedEventHandler(this.Expander_Left_ExpandChanged);
            
            #line default
            #line hidden
            return;
            case 15:
            this.tabControl_Left = ((System.Windows.Controls.TabControl)(target));
            return;
            case 16:
            this.border_Workspace = ((System.Windows.Controls.Border)(target));
            return;
            case 17:
            this.tabControl_Workspace = ((System.Windows.Controls.TabControl)(target));
            
            #line 61 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.tabControl_Workspace.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.workspaceTabCorntrol_SelectionChanged);
            
            #line default
            #line hidden
            return;
            case 18:
            this.border_Right = ((System.Windows.Controls.Border)(target));
            return;
            case 19:
            this.expander_Right = ((System.Windows.Controls.Expander)(target));
            
            #line 71 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Right.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Right_ExpandChanged);
            
            #line default
            #line hidden
            
            #line 72 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Right.Collapsed += new System.Windows.RoutedEventHandler(this.Expander_Right_ExpandChanged);
            
            #line default
            #line hidden
            return;
            case 20:
            this.tabControl_Right = ((System.Windows.Controls.TabControl)(target));
            return;
            case 21:
            this.border_Bottom = ((System.Windows.Controls.Border)(target));
            return;
            case 22:
            this.expander_Bottom = ((System.Windows.Controls.Expander)(target));
            
            #line 86 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Bottom.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Bottom_ExpandChanged);
            
            #line default
            #line hidden
            
            #line 87 "..\..\..\..\..\Gui\Windows\Shell\DesktopShell.xaml"
            this.expander_Bottom.Collapsed += new System.Windows.RoutedEventHandler(this.Expander_Bottom_ExpandChanged);
            
            #line default
            #line hidden
            return;
            case 23:
            this.tabControl_Bottom = ((System.Windows.Controls.TabControl)(target));
            return;
            case 24:
            this.gridSplitter_Left = ((System.Windows.Controls.GridSplitter)(target));
            return;
            case 25:
            this.gridSplitter_Bottom = ((System.Windows.Controls.GridSplitter)(target));
            return;
            case 26:
            this.gridSplitter_Right = ((System.Windows.Controls.GridSplitter)(target));
            return;
            }
            this._contentLoaded = true;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Engineer
Switzerland Switzerland
Daniel is a former senior engineer in Technology and Research at the Office of the CTO at Microsoft, working on next generation systems.

Previously Daniel was a nine-time Microsoft MVP and co-founder of Outcoder, a Swiss software and consulting company.

Daniel is the author of Windows Phone 8 Unleashed and Windows Phone 7.5 Unleashed, both published by SAMS.

Daniel is the developer behind several acclaimed mobile apps including Surfy Browser for Android and Windows Phone. Daniel is the creator of a number of popular open-source projects, most notably Codon.

Would you like Daniel to bring value to your organisation? Please contact

Blog | Twitter


Xamarin Experts
Windows 10 Experts

Comments and Discussions