Files
ntfysh-windows/ntfysh_client/Program.cs
Alexander Horner 012eeaa65f Enable .NET Core system aware DPI mode
Fix Exit button in window menu
Cleanup
2022-12-06 23:25:07 +00:00

26 lines
712 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ntfysh_client
{
static class Program
{
private static readonly NotificationListener NotificationListener = new NotificationListener();
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1(NotificationListener));
}
}
}