espio999_1-Push-Snap/Program.cs
using System;
using System.Threading;
using System.Windows.Forms;

namespace OnePushSnap
{
    internal static class Program
    {
        /// <summary>
        /// アプリケーションのメイン エントリ ポイントです。
        /// </summary>
        [STAThread]
        static void Main()
        {

            Mutex mtx = new Mutex(false, "one");

            /// Prevent application from multiplying
            if (mtx.WaitOne(0, false) == false)
            {
                return;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            /// Run application without window
            //Application.Run(new Form1());

            /// get single instance
            //new configuration_form();
            //configuration_form.getInstance();

            Application.Run(configuration_form.getInstance());
        }
    }
}
