1 // ================================================================================================
\r
3 // アプリケーション起動用クラスソース</summary>
\r
5 // <copyright file="Program.cs" company="honeplusのメモ帳">
\r
6 // Copyright (C) 2010 Honeplus. All rights reserved.</copyright>
\r
9 // ================================================================================================
\r
11 namespace Honememo.Wptscs
\r
14 using System.Windows.Forms;
\r
17 /// アプリケーション起動時に最初に呼ばれるクラスです。
\r
19 internal static class Program
\r
22 /// アプリケーションのメイン エントリ ポイントです。
\r
25 private static void Main()
\r
27 // 初回実行時は古いバージョンの設定があればバージョンアップ
\r
28 if (!Properties.Settings.Default.IsUpgraded)
\r
30 // 現バージョンを上書きしてしまうため一度だけ実施
\r
31 Properties.Settings.Default.Upgrade();
\r
32 Properties.Settings.Default.IsUpgraded = true;
\r
35 Application.EnableVisualStyles();
\r
36 Application.SetCompatibleTextRenderingDefault(false);
\r
37 Application.Run(new MainForm());
\r