Click here to Skip to main content
15,885,914 members
Articles / Desktop Programming / WPF

How to create a VS 2012 like application - Wide IDE Framework (v0.1)

Rate me:
Please Sign up or sign in to vote.
4.64/5 (25 votes)
2 Apr 2013LGPL38 min read 66K   9.5K   113  
Participatory IDE framework built using WPF, PRISM and other open source projects
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wide.Interfaces;
using Wide.Shell;
using Microsoft.Practices.Unity;
using Wide.Splash;

namespace VS2010TestApp
{
    class AppBootstrapper : WideBootstrapper
    {
        public AppBootstrapper(bool isMetro = true) : base(isMetro)
        {
        }

        protected override void InitializeModules()
        {
            //Register your splash view or else the default splash will load
            Container.RegisterType<ISplashView, AppSplash>();

            //Register your workspace here - if you have any
            Container.RegisterType<AbstractWorkspace, IconWorkspace>(new ContainerControlledLifetimeManager());

            // You can also override the logger service. Currently, NLog is used.
            // Since the config file is there in the output location, text files should be available in the Logs folder.

            //Initialize the original bootstrapper which will load modules from the probing path. Check app.config for probing path.
            base.InitializeModules();

            //Load the required stuff
            //NOTE: this should probably be done from other modules. This is used only for demo purpose.
            Loader loader = new Loader(Container);
        }
    }
}

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 GNU Lesser General Public License (LGPLv3)


Written By
Software Developer
United States United States
Hello! I'm a 26 year old, WPF/C# self-learned software developer, musician from India with a Master's degree in Computer science. I believe that every piece of software and information/knowledge is available for free for those who seek it.

My projects are available in my Webpage hosted on Github. I am eager to learn new things everyday, explore new technologies and solve problems.

Comments and Discussions