2010-12-18 18:23:09 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
using ArducopterConfigurator.PresentationModels;
|
|
|
|
|
|
|
|
|
|
namespace ArducopterConfigurator
|
|
|
|
|
{
|
|
|
|
|
static class Program
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The main entry point for the application.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[STAThread]
|
|
|
|
|
static void Main()
|
|
|
|
|
{
|
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
|
|
2010-12-23 11:59:00 -04:00
|
|
|
|
//var session = new CommsSession();
|
|
|
|
|
var session = new FakeCommsSession();
|
|
|
|
|
|
2010-12-18 18:23:09 -04:00
|
|
|
|
var mainVm = new MainVm(session);
|
2010-12-23 11:59:00 -04:00
|
|
|
|
|
2010-12-18 18:23:09 -04:00
|
|
|
|
|
|
|
|
|
Application.Run(new mainForm(mainVm));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|