29 lines
743 B
C#
29 lines
743 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace NaverSearcher
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
//SetEnvironmentVariable
|
|
string _guid = Properties.Settings.Default.GUID;
|
|
|
|
if (_guid == string.Empty || _guid == null)
|
|
{
|
|
Properties.Settings.Default.GUID = Guid.NewGuid().ToString();
|
|
Properties.Settings.Default.Save();
|
|
}
|
|
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new Form1());
|
|
}
|
|
}
|
|
}
|