using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Diagnostics;

namespace TheNovel
{
	static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main ()
		{
			if ( Process.GetProcessesByName ( "TheNovel" ).Length > 1 )
			{
				MessageBox.Show ( "한번에 두 개 이상 실행시킬 수 없습니다.", "The Novel" );
				return;
			}

			Application.EnableVisualStyles ();
			Application.SetCompatibleTextRenderingDefault ( false );
			Application.Run ( new Main () );
		}
	}
}
