mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-11 17:57:19 +10:00
33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
using System;
|
|
using System.IO;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Manager
|
|
{
|
|
static class Program
|
|
{
|
|
static public readonly string g_appUserId = "WindowsModern.PracticalToolsProject!Manager";
|
|
static public readonly string g_appId = "Manager";
|
|
/// <summary>
|
|
/// 应用程序的主入口点。
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main (string [] args)
|
|
{
|
|
Directory.SetCurrentDirectory (AppDomain.CurrentDomain.BaseDirectory);
|
|
//System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo ("en-US");
|
|
//System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo ("en-US");
|
|
AppxPackage.PackageReader.AddApplicationItem ("SmallLogo");
|
|
AppxPackage.PackageReader.AddApplicationItem ("Square30x30Logo");
|
|
AppxPackage.PackageReader.AddApplicationItem ("Logo");
|
|
AppxPackage.PackageReader.AddApplicationItem ("Square44x44Logo");
|
|
DataUtils.BrowserEmulation.SetWebBrowserEmulation ();
|
|
Application.EnableVisualStyles ();
|
|
Application.SetCompatibleTextRenderingDefault (false);
|
|
Application.Run (new ManagerShell ());
|
|
}
|
|
}
|
|
}
|