PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/V2.2/trunk/Quickstarts/Commanding/Desktop/Commanding/App.xaml.cs

#
C# | 39 lines | 18 code | 2 blank | 19 comment | 0 complexity | 7b2795f8477106f84b665084c73f608d MD5 | raw file
 1//===================================================================================
 2// Microsoft patterns & practices
 3// Composite Application Guidance for Windows Presentation Foundation and Silverlight
 4//===================================================================================
 5// Copyright (c) Microsoft Corporation.  All rights reserved.
 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
 7// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
 8// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 9// FITNESS FOR A PARTICULAR PURPOSE.
10//===================================================================================
11// The example companies, organizations, products, domain names,
12// e-mail addresses, logos, people, places, and events depicted
13// herein are fictitious.  No association with any real company,
14// organization, product, domain name, email address, logo, person,
15// places, or events is intended or should be inferred.
16//===================================================================================
17using System;
18using System.Collections.Generic;
19using System.Configuration;
20using System.Data;
21using System.Linq;
22using System.Windows;
23
24namespace Commanding
25{
26    /// <summary>
27    /// Interaction logic for App.xaml
28    /// </summary>
29    public partial class App : Application
30    {
31        protected override void OnStartup(StartupEventArgs e)
32        {
33            base.OnStartup(e);
34
35            CommandingBootstrapper bootstrapper = new CommandingBootstrapper();
36            bootstrapper.Run();
37        }
38    }
39}