mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-24 04:41:10 +00:00
ebb372bc27
Updated ZDoom_DECORATE.cfg (A_SetInventory).
29 lines
No EOL
752 B
C#
29 lines
No EOL
752 B
C#
using System;
|
|
using System.Reflection;
|
|
using System.Windows.Forms;
|
|
|
|
namespace mxd.GZDBUpdater
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
EmbeddedAssembly.Load("mxd.GZDBUpdater.SharpCompressStripped.dll", "SharpCompressStripped.dll");
|
|
AppDomain.CurrentDomain.AssemblyResolve += AssemblyResolve;
|
|
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
MainForm form = new MainForm();
|
|
if(!form.IsDisposed) Application.Run(form);
|
|
}
|
|
|
|
private static Assembly AssemblyResolve(object sender, ResolveEventArgs args)
|
|
{
|
|
return EmbeddedAssembly.Get(args.Name);
|
|
}
|
|
}
|
|
} |