File name
Commit message
Commit date
File name
Commit message
Commit date
using DevExpress.Skins;
using PublicLib;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO.MemoryMappedFiles;
using System.Linq;
using System.Windows.Forms;
namespace HM_WORK
{
static class Program
{
/// <summary>
/// 해당 응용 프로그램의 주 진입점입니다.
/// </summary>
[STAThread]
static void Main()
{
string uniqFileID = Properties.Settings.Default.APP_UNIQ_KEY;
try
{
ConstClass._DEBUG_MODE = System.Diagnostics.Debugger.IsAttached;
if (!ConstClass._DEBUG_MODE)
{
using (MemoryMappedFile memoryMappedFile = MemoryMappedFile.OpenExisting(uniqFileID))
{
return;
}
}
}
catch
{
}
DevExpress.UserSkins.BonusSkins.Register();
SkinManager.EnableFormSkins();
float def_size = 10f;
ConstClass._DEBUG_MODE = System.Diagnostics.Debugger.IsAttached;
DevExpress.XtraEditors.WindowsFormsSettings.DefaultFont = new Font("굴림체", def_size);
DevExpress.Utils.AppearanceDefault.Control.Font = new Font("굴림체", def_size);
DevExpress.Utils.AppearanceDefault.Window.Font = new Font("굴림체", def_size);
DevExpress.Utils.AppearanceDefault.Empty.Font = new Font("굴림체", def_size);
DevExpress.Utils.AppearanceObject.DefaultFont = new Font("굴림체", def_size);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new WorkManager());
}
}
}