2021-11-22 15:11:24 +00:00
|
|
|
using Aml.Engine.CAEX;
|
|
|
|
using Aml.Engine.CAEX.Extensions;
|
2021-11-12 22:48:07 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
namespace WinFormsApp1
|
|
|
|
{
|
|
|
|
static class Program
|
|
|
|
{
|
2021-11-22 15:11:24 +00:00
|
|
|
public static Boolean expertMode = true;
|
|
|
|
public static CAEXDocument caexDocument;
|
|
|
|
public static String filepath = string.Empty;
|
|
|
|
public static String filetype = null;
|
|
|
|
public static Boolean unsavedChanges = false;
|
|
|
|
|
2021-11-12 22:48:07 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The main entry point for the application.
|
|
|
|
/// </summary>
|
|
|
|
[STAThread]
|
|
|
|
static void Main()
|
|
|
|
{
|
|
|
|
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
2021-11-22 15:11:24 +00:00
|
|
|
|
|
|
|
Form1 form = new Form1();
|
|
|
|
form.switchMode(false);
|
|
|
|
Application.Run(form);
|
2021-11-12 22:48:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|