forked from stevencohn/OneMore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
35 lines (27 loc) · 910 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//************************************************************************************************
// Copyright © 2021 Steven M. Cohn. All Rights Reserved.
//************************************************************************************************
#pragma warning disable S2223 // Non-constant static fields should not be visible
namespace OneMoreCalendar
{
using River.OneMoreAddIn;
using System;
using System.Windows.Forms;
internal static class Program
{
public static CalendarForm MainForm;
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Logger.SetApplication("OneMoreCalendar");
Logger.Current.WriteLine("Starting OneMoreCalendar");
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
MainForm = new CalendarForm();
Application.Run(MainForm);
}
}
}