added samples
[windows-sources.git] / sdk / samples / WPFSamples / FragmentProvider / csharp / program.cs
blobe3f2149cb11a2e080db21b93c33516d92f8ed8cb
1 /*************************************************************************************************
3 * File: Program.cs
5 * Description: Entry point for an application that supports UIAutomation in a custom control.
6 *
7 * See ProviderForm.cs for a full description of this sample.
8 *
9 *
10 * This file is part of the Microsoft Windows SDK Code Samples.
12 * Copyright (C) Microsoft Corporation. All rights reserved.
14 * This source code is intended only as a supplement to Microsoft
15 * Development Tools and/or on-line documentation. See these other
16 * materials for detailed information regarding Microsoft code samples.
18 * THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
19 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
21 * PARTICULAR PURPOSE.
23 *************************************************************************************************/
25 using System;
26 using System.Collections.Generic;
27 using System.Windows.Forms;
29 namespace CustomControls
31 static class Program
33 /// <summary>
34 /// The main entry point for the application.
35 /// </summary>
36 [STAThread]
37 static void Main()
39 Application.EnableVisualStyles();
40 Application.Run(new SampleApplicationForm());