OSDN Git Service

#27833 難易度計算マンの実装
authorchnmr0 <chnmr0@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Wed, 17 Feb 2016 13:57:13 +0000 (13:57 +0000)
committerchnmr0 <chnmr0@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Wed, 17 Feb 2016 13:57:13 +0000 (13:57 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@915 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXCreatorプロジェクト/DTXCreatorプロジェクト.csproj
DTXCreatorプロジェクト/Properties/Resources.Designer.cs
DTXCreatorプロジェクト/Properties/Resources.ja-JP.resx
DTXCreatorプロジェクト/Properties/Resources.resx
DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.Designer.cs
DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.cs
DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.ja-JP.resx
DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.resx
DTXCreatorプロジェクト/コード/05.譜面/C譜面管理.cs
DTXCreatorプロジェクト/コード/05.譜面/C難易度自動計算マン.cs [new file with mode: 0644]

index d8b775a..8811585 100644 (file)
     </Compile>\r
     <Compile Include="コード\05.譜面\C譜面管理.cs" />\r
     <Compile Include="コード\05.譜面\C選択モード管理.cs" />\r
+    <Compile Include="コード\05.譜面\C難易度自動計算マン.cs" />\r
     <Compile Include="コード\06.汎用\Cファイル選択・パス変換.cs" />\r
     <Compile Include="コード\06.汎用\Cメッセージポップアップ.cs">\r
       <SubType>Form</SubType>\r
index 93b01b2..13008e6 100644 (file)
@@ -1,10 +1,10 @@
 //------------------------------------------------------------------------------\r
 // <auto-generated>\r
-//     このコードはツールによって生成されました。\r
-//     ランタイム バージョン:4.0.30319.42000\r
+//     This code was generated by a tool.\r
+//     Runtime Version:4.0.30319.42000\r
 //\r
-//     このファイルへの変更は、以下の状況下で不正な動作の原因になったり、\r
-//     コードが再生成されるときに損失したりします。\r
+//     Changes to this file may cause incorrect behavior and will be lost if\r
+//     the code is regenerated.\r
 // </auto-generated>\r
 //------------------------------------------------------------------------------\r
 \r
@@ -13,12 +13,12 @@ namespace DTXCreator.Properties {
     \r
     \r
     /// <summary>\r
-    ///   ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。\r
+    ///   A strongly-typed resource class, for looking up localized strings, etc.\r
     /// </summary>\r
-    // このクラスは StronglyTypedResourceBuilder クラスが ResGen\r
-    // または Visual Studio のようなツールを使用して自動生成されました。\r
-    // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に\r
-    // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。\r
+    // This class was auto-generated by the StronglyTypedResourceBuilder\r
+    // class via a tool like ResGen or Visual Studio.\r
+    // To add or remove a member, edit your .ResX file then rerun ResGen\r
+    // with the /str option, or rebuild your VS project.\r
     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]\r
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]\r
@@ -33,7 +33,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。\r
+        ///   Returns the cached ResourceManager instance used by this class.\r
         /// </summary>\r
         [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]\r
         internal static global::System.Resources.ResourceManager ResourceManager {\r
@@ -47,8 +47,8 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、\r
-        ///   現在のスレッドの CurrentUICulture プロパティをオーバーライドします。\r
+        ///   Overrides the current thread's CurrentUICulture property for all\r
+        ///   resource lookups using this strongly typed resource class.\r
         /// </summary>\r
         [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]\r
         internal static global::System.Globalization.CultureInfo Culture {\r
@@ -61,7 +61,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap BGMのみ再生 {\r
             get {\r
@@ -71,7 +71,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   031 に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to 031.\r
         /// </summary>\r
         internal static string DTXC_VERSION {\r
             get {\r
@@ -80,7 +80,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   (アイコン) に類似した型 System.Drawing.Icon のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Icon similar to (Icon).\r
         /// </summary>\r
         internal static System.Drawing.Icon dtxcreator {\r
             get {\r
@@ -90,7 +90,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap Redo {\r
             get {\r
@@ -100,7 +100,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Specify a BPM value. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Specify a BPM value..\r
         /// </summary>\r
         internal static string strBPM選択ダイアログの説明文 {\r
             get {\r
@@ -109,7 +109,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   It is not DTX file. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to It is not DTX file..\r
         /// </summary>\r
         internal static string strDTXファイルではありませんMSG {\r
             get {\r
@@ -118,7 +118,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Open a DTX file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Open a DTX file.\r
         /// </summary>\r
         internal static string strDTXファイル選択ダイアログのタイトル {\r
             get {\r
@@ -127,7 +127,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   DTX file (*.dtx;*.gda;*.g2d;*.bms;*.bme)|*.dtx;*.gda;*.g2d;*.bms;*.bme|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to DTX file (*.dtx;*.gda;*.g2d;*.bms;*.bme)|*.dtx;*.gda;*.g2d;*.bms;*.bme|All files(*.*)|*.*.\r
         /// </summary>\r
         internal static string strDTXファイル選択ダイアログのフィルタ {\r
             get {\r
@@ -136,7 +136,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Error に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Error.\r
         /// </summary>\r
         internal static string strエラーダイアログのタイトル {\r
             get {\r
@@ -145,7 +145,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Failed to load DTXCreator.config. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Failed to load DTXCreator.config..\r
         /// </summary>\r
         internal static string strコンフィグ読み込み失敗エラーMSG {\r
             get {\r
@@ -154,7 +154,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select a sound file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select a sound file.\r
         /// </summary>\r
         internal static string strサウンドファイル選択ダイアログのタイトル {\r
             get {\r
@@ -163,7 +163,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Sound files(*.wav;*.ogg;*.mp3;*.xa)|*.wav;*.ogg;*.mp3;*.xa|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Sound files(*.wav;*.ogg;*.mp3;*.xa)|*.wav;*.ogg;*.mp3;*.xa|All files(*.*)|*.*.\r
         /// </summary>\r
         internal static string strサウンドファイル選択ダイアログのフィルタ {\r
             get {\r
@@ -172,7 +172,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Wait a moment... に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Wait a moment....\r
         /// </summary>\r
         internal static string strしばらくお待ち下さいMSG {\r
             get {\r
@@ -181,7 +181,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select a loading image file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select a loading image file.\r
         /// </summary>\r
         internal static string strステージ画像ファイル選択ダイアログのタイトル {\r
             get {\r
@@ -190,7 +190,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Illegal chip number  に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Illegal chip number .\r
         /// </summary>\r
         internal static string strチップ番号に誤りがありますMSG {\r
             get {\r
@@ -199,7 +199,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   New に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to New.\r
         /// </summary>\r
         internal static string strデフォルトウィンドウタイトル {\r
             get {\r
@@ -208,7 +208,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Specified file is not found. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Specified file is not found..\r
         /// </summary>\r
         internal static string strファイルが存在しませんMSG {\r
             get {\r
@@ -217,7 +217,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select a preview image file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select a preview image file.\r
         /// </summary>\r
         internal static string strプレビュー画像ファイル選択ダイアログのタイトル {\r
             get {\r
@@ -226,7 +226,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select a preview sound file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select a preview sound file.\r
         /// </summary>\r
         internal static string strプレビュー音ファイル選択ダイアログのタイトル {\r
             get {\r
@@ -235,7 +235,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Failed to boot. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Failed to boot..\r
         /// </summary>\r
         internal static string strプロセスの起動に失敗しましたMSG {\r
             get {\r
@@ -244,7 +244,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Saving... に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Saving....\r
         /// </summary>\r
         internal static string str保存中ですMSG {\r
             get {\r
@@ -253,7 +253,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///    chip(s) are selected. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to  chip(s) are selected..\r
         /// </summary>\r
         internal static string str個のチップが選択されましたMSG {\r
             get {\r
@@ -262,7 +262,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///    chip(s) are replaced. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to  chip(s) are replaced..\r
         /// </summary>\r
         internal static string str個のチップを置換しましたMSG {\r
             get {\r
@@ -271,7 +271,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Initializing... に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Initializing....\r
         /// </summary>\r
         internal static string str初期化中ですMSG {\r
             get {\r
@@ -280,7 +280,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select a Movie file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select a Movie file.\r
         /// </summary>\r
         internal static string str動画ファイル選択ダイアログのタイトル {\r
             get {\r
@@ -289,7 +289,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Movie files (*.avi, *.mp4, *.mpg,*.wmv)|*.avi; *.mp4; *.mpg; *.wmv|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Movie files (*.avi, *.mp4, *.mpg,*.wmv)|*.avi; *.mp4; *.mpg; *.wmv|All files(*.*)|*.*.\r
         /// </summary>\r
         internal static string str動画ファイル選択ダイアログのフィルタ {\r
             get {\r
@@ -298,7 +298,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Save As に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Save As.\r
         /// </summary>\r
         internal static string str名前を付けて保存ダイアログのタイトル {\r
             get {\r
@@ -307,7 +307,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   DTX files(*.dtx)|*.dtx に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to DTX files(*.dtx)|*.dtx.\r
         /// </summary>\r
         internal static string str名前を付けて保存ダイアログのフィルタ {\r
             get {\r
@@ -316,7 +316,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Illegal bar number. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Illegal bar number..\r
         /// </summary>\r
         internal static string str小節番号に誤りがありますMSG {\r
             get {\r
@@ -325,7 +325,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Find results に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Find results.\r
         /// </summary>\r
         internal static string str検索結果ダイアログのタイトル {\r
             get {\r
@@ -334,7 +334,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select Image File に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select Image File.\r
         /// </summary>\r
         internal static string str画像ファイル選択ダイアログのタイトル {\r
             get {\r
@@ -343,7 +343,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Image files(*.bmp;*.jpg;*.jpeg;*.png)|*.bmp;*.jpg;*.jpeg;*.png|All files(*.*)|*.* に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Image files(*.bmp;*.jpg;*.jpeg;*.png)|*.bmp;*.jpg;*.jpeg;*.png|All files(*.*)|*.*.\r
         /// </summary>\r
         internal static string str画像ファイル選択ダイアログのフィルタ {\r
             get {\r
@@ -352,7 +352,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Confirmation に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Confirmation.\r
         /// </summary>\r
         internal static string str確認ダイアログのタイトル {\r
             get {\r
@@ -361,7 +361,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select Reult Screen image file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select Reult Screen image file.\r
         /// </summary>\r
         internal static string str結果画像ファイル選択ダイアログのタイトル {\r
             get {\r
@@ -370,8 +370,8 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   The dtx data has changed.\r
-        ///Do you want to save the changes? に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to The dtx data has changed.\r
+        ///Do you want to save the changes?.\r
         /// </summary>\r
         internal static string str編集中のデータを保存しますかMSG {\r
             get {\r
@@ -380,7 +380,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Replace result に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Replace result.\r
         /// </summary>\r
         internal static string str置換結果ダイアログのタイトル {\r
             get {\r
@@ -389,7 +389,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Select background image file に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Select background image file.\r
         /// </summary>\r
         internal static string str背景画像ファイル選択ダイアログのタイトル {\r
             get {\r
@@ -398,7 +398,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   No chips are found in the specified conditions. に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to No chips are found in the specified conditions..\r
         /// </summary>\r
         internal static string str該当するチップはありませんでしたMSG {\r
             get {\r
@@ -407,7 +407,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   Now loading... に類似しているローカライズされた文字列を検索します。\r
+        ///   Looks up a localized string similar to Now loading....\r
         /// </summary>\r
         internal static string str読み込み中ですMSG {\r
             get {\r
@@ -416,7 +416,16 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized string similar to Calculating DGB levels.\r
+        /// </summary>\r
+        internal static string str難易度計算マン計算中 {\r
+            get {\r
+                return ResourceManager.GetString("str難易度計算マン計算中", resourceCulture);\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap Undo {\r
             get {\r
@@ -426,7 +435,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap コピー {\r
             get {\r
@@ -436,7 +445,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap スピーカー {\r
             get {\r
@@ -446,7 +455,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap チップパレット {\r
             get {\r
@@ -456,7 +465,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap バージョン情報 {\r
             get {\r
@@ -466,7 +475,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap ヘルプ {\r
             get {\r
@@ -476,7 +485,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap りらちょー {\r
             get {\r
@@ -486,7 +495,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 上移動 {\r
             get {\r
@@ -496,7 +505,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 下移動 {\r
             get {\r
@@ -506,7 +515,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 保存 {\r
             get {\r
@@ -516,7 +525,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 再生 {\r
             get {\r
@@ -526,7 +535,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 再生一時停止 {\r
             get {\r
@@ -536,7 +545,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 再生停止 {\r
             get {\r
@@ -546,7 +555,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 切り取り {\r
             get {\r
@@ -556,7 +565,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 削除 {\r
             get {\r
@@ -566,7 +575,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 動画ドキュメント {\r
             get {\r
@@ -576,7 +585,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 新規作成 {\r
             get {\r
@@ -586,7 +595,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 最初から再生 {\r
             get {\r
@@ -596,7 +605,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 画像ドキュメント {\r
             get {\r
@@ -606,7 +615,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 矢印ポインタ {\r
             get {\r
@@ -616,7 +625,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 表示形式選択 {\r
             get {\r
@@ -626,7 +635,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 貼り付け {\r
             get {\r
@@ -636,7 +645,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 鉛筆 {\r
             get {\r
@@ -646,7 +655,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 開く {\r
             get {\r
@@ -656,7 +665,7 @@ namespace DTXCreator.Properties {
         }\r
         \r
         /// <summary>\r
-        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
         internal static System.Drawing.Bitmap 音楽ドキュメント {\r
             get {\r
index 88db8e7..058244b 100644 (file)
   <data name="str個のチップが選択されましたMSG" xml:space="preserve">\r
     <value> 個のチップが選択されました。</value>\r
   </data>\r
+  <data name="str難易度計算マン計算中" xml:space="preserve">\r
+    <value>難易度計算マンが計算中です。</value>\r
+  </data>\r
   <data name="str個のチップを置換しましたMSG" xml:space="preserve">\r
     <value> 個のチップを置換しました。</value>\r
   </data>\r
index 72c1708..a4687db 100644 (file)
@@ -311,4 +311,7 @@ Do you want to save the changes?</value>
   <data name="str名前を付けて保存ダイアログのフィルタ" xml:space="preserve">\r
     <value>DTX files(*.dtx)|*.dtx</value>\r
   </data>\r
+  <data name="str難易度計算マン計算中" xml:space="preserve">\r
+    <value>Calculating DGB levels</value>\r
+  </data>\r
 </root>
\ No newline at end of file
index a44654b..80b6e91 100644 (file)
                        this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();\r
                        this.toolStripMenuItem検索 = new System.Windows.Forms.ToolStripMenuItem();\r
                        this.toolStripMenuItem置換 = new System.Windows.Forms.ToolStripMenuItem();\r
+                       this.toolStripMenuItem難易度自動計算 = new System.Windows.Forms.ToolStripMenuItem();\r
                        this.toolStripMenuItem表示 = new System.Windows.Forms.ToolStripMenuItem();\r
                        this.toolStripMenuItemチップパレット = new System.Windows.Forms.ToolStripMenuItem();\r
                        this.toolStripMenuItemガイド間隔 = new System.Windows.Forms.ToolStripMenuItem();\r
                        // \r
                        // splitContainerタブと譜面を分割.Panel1\r
                        // \r
-                       resources.ApplyResources(this.splitContainerタブと譜面を分割.Panel1, "splitContainerタブと譜面を分割.Panel1");\r
                        this.splitContainerタブと譜面を分割.Panel1.Controls.Add(this.tabControl情報パネル);\r
-                       this.toolTipツールチップ.SetToolTip(this.splitContainerタブと譜面を分割.Panel1, resources.GetString("splitContainerタブと譜面を分割.Panel1.ToolTip"));\r
                        // \r
                        // splitContainerタブと譜面を分割.Panel2\r
                        // \r
-                       resources.ApplyResources(this.splitContainerタブと譜面を分割.Panel2, "splitContainerタブと譜面を分割.Panel2");\r
                        this.splitContainerタブと譜面を分割.Panel2.Controls.Add(this.pictureBox譜面パネル);\r
                        this.splitContainerタブと譜面を分割.Panel2.Controls.Add(this.hScrollBar譜面用水平スクロールバー);\r
-                       this.toolTipツールチップ.SetToolTip(this.splitContainerタブと譜面を分割.Panel2, resources.GetString("splitContainerタブと譜面を分割.Panel2.ToolTip"));\r
                        this.splitContainerタブと譜面を分割.Panel2.SizeChanged += new System.EventHandler(this.splitContainerタブと譜面を分割_Panel2_SizeChanged);\r
-                       this.toolTipツールチップ.SetToolTip(this.splitContainerタブと譜面を分割, resources.GetString("splitContainerタブと譜面を分割.ToolTip"));\r
                        // \r
                        // tabControl情報パネル\r
                        // \r
-                       resources.ApplyResources(this.tabControl情報パネル, "tabControl情報パネル");\r
                        this.tabControl情報パネル.Controls.Add(this.tabPage基本情報);\r
                        this.tabControl情報パネル.Controls.Add(this.tabPageWAV);\r
                        this.tabControl情報パネル.Controls.Add(this.tabPageBMP);\r
                        this.tabControl情報パネル.Controls.Add(this.tabPageAVI);\r
                        this.tabControl情報パネル.Controls.Add(this.tabPage自由入力);\r
+                       resources.ApplyResources(this.tabControl情報パネル, "tabControl情報パネル");\r
                        this.tabControl情報パネル.Name = "tabControl情報パネル";\r
                        this.tabControl情報パネル.SelectedIndex = 0;\r
-                       this.toolTipツールチップ.SetToolTip(this.tabControl情報パネル, resources.GetString("tabControl情報パネル.ToolTip"));\r
                        // \r
                        // tabPage基本情報\r
                        // \r
-                       resources.ApplyResources(this.tabPage基本情報, "tabPage基本情報");\r
                        this.tabPage基本情報.BackColor = System.Drawing.SystemColors.Window;\r
                        this.tabPage基本情報.Controls.Add(this.check556x710BGAAVI);\r
                        this.tabPage基本情報.Controls.Add(this.labelGenre);\r
                        this.tabPage基本情報.Controls.Add(this.textBoxコメント);\r
                        this.tabPage基本情報.Controls.Add(this.textBox製作者);\r
                        this.tabPage基本情報.Controls.Add(this.textBox曲名);\r
+                       resources.ApplyResources(this.tabPage基本情報, "tabPage基本情報");\r
                        this.tabPage基本情報.Name = "tabPage基本情報";\r
-                       this.toolTipツールチップ.SetToolTip(this.tabPage基本情報, resources.GetString("tabPage基本情報.ToolTip"));\r
                        // \r
                        // check556x710BGAAVI\r
                        // \r
                        resources.ApplyResources(this.check556x710BGAAVI, "check556x710BGAAVI");\r
                        this.check556x710BGAAVI.Name = "check556x710BGAAVI";\r
-                       this.toolTipツールチップ.SetToolTip(this.check556x710BGAAVI, resources.GetString("check556x710BGAAVI.ToolTip"));\r
                        this.check556x710BGAAVI.UseVisualStyleBackColor = true;\r
                        this.check556x710BGAAVI.CheckedChanged += new System.EventHandler(this.check556x710BGAAVI_CheckedChanged);\r
                        this.check556x710BGAAVI.Leave += new System.EventHandler(this.check556x710BGAAVI_Leave);\r
                        // \r
                        // numericUpDownBPM\r
                        // \r
-                       resources.ApplyResources(this.numericUpDownBPM, "numericUpDownBPM");\r
                        this.numericUpDownBPM.DecimalPlaces = 2;\r
+                       resources.ApplyResources(this.numericUpDownBPM, "numericUpDownBPM");\r
                        this.numericUpDownBPM.Maximum = new decimal(new int[] {\r
             9999,\r
             0,\r
                        // \r
                        // tabPageWAV\r
                        // \r
-                       resources.ApplyResources(this.tabPageWAV, "tabPageWAV");\r
                        this.tabPageWAV.Controls.Add(this.listViewWAVリスト);\r
                        this.tabPageWAV.Controls.Add(this.toolStripWAVツールバー);\r
+                       resources.ApplyResources(this.tabPageWAV, "tabPageWAV");\r
                        this.tabPageWAV.Name = "tabPageWAV";\r
-                       this.toolTipツールチップ.SetToolTip(this.tabPageWAV, resources.GetString("tabPageWAV.ToolTip"));\r
                        this.tabPageWAV.UseVisualStyleBackColor = true;\r
                        // \r
                        // listViewWAVリスト\r
                        // \r
-                       resources.ApplyResources(this.listViewWAVリスト, "listViewWAVリスト");\r
                        this.listViewWAVリスト.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {\r
             this.columnHeaderWAV_ラベル,\r
             this.columnHeaderWAV_番号,\r
             this.columnHeaderWAV_音量,\r
             this.columnHeaderWAV_位置,\r
             this.columnHeaderWAV_BGM});\r
+                       resources.ApplyResources(this.listViewWAVリスト, "listViewWAVリスト");\r
                        this.listViewWAVリスト.FullRowSelect = true;\r
                        this.listViewWAVリスト.GridLines = true;\r
                        this.listViewWAVリスト.HideSelection = false;\r
                        this.listViewWAVリスト.MultiSelect = false;\r
                        this.listViewWAVリスト.Name = "listViewWAVリスト";\r
-                       this.toolTipツールチップ.SetToolTip(this.listViewWAVリスト, resources.GetString("listViewWAVリスト.ToolTip"));\r
                        this.listViewWAVリスト.UseCompatibleStateImageBehavior = false;\r
                        this.listViewWAVリスト.View = System.Windows.Forms.View.Details;\r
                        this.listViewWAVリスト.VirtualListSize = 1295;\r
             this.toolStripSeparator14,\r
             this.toolStripButtonWAVリストプレビュースイッチ});\r
                        this.toolStripWAVツールバー.Name = "toolStripWAVツールバー";\r
-                       this.toolTipツールチップ.SetToolTip(this.toolStripWAVツールバー, resources.GetString("toolStripWAVツールバー.ToolTip"));\r
                        // \r
                        // toolStripButtonWAVリスト上移動\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonWAVリスト上移動, "toolStripButtonWAVリスト上移動");\r
                        this.toolStripButtonWAVリスト上移動.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonWAVリスト上移動.Image = global::DTXCreator.Properties.Resources.上移動;\r
+                       resources.ApplyResources(this.toolStripButtonWAVリスト上移動, "toolStripButtonWAVリスト上移動");\r
                        this.toolStripButtonWAVリスト上移動.Name = "toolStripButtonWAVリスト上移動";\r
                        this.toolStripButtonWAVリスト上移動.Click += new System.EventHandler(this.toolStripButtonWAVリスト上移動_Click);\r
                        // \r
                        // toolStripButtonWAVリスト下移動\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonWAVリスト下移動, "toolStripButtonWAVリスト下移動");\r
                        this.toolStripButtonWAVリスト下移動.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonWAVリスト下移動.Image = global::DTXCreator.Properties.Resources.下移動;\r
+                       resources.ApplyResources(this.toolStripButtonWAVリスト下移動, "toolStripButtonWAVリスト下移動");\r
                        this.toolStripButtonWAVリスト下移動.Name = "toolStripButtonWAVリスト下移動";\r
                        this.toolStripButtonWAVリスト下移動.Click += new System.EventHandler(this.toolStripButtonWAVリスト下移動_Click);\r
                        // \r
                        // toolStripSeparator13\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator13, "toolStripSeparator13");\r
                        this.toolStripSeparator13.Name = "toolStripSeparator13";\r
+                       resources.ApplyResources(this.toolStripSeparator13, "toolStripSeparator13");\r
                        // \r
                        // toolStripButtonWAVリストプレビュー再生開始\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonWAVリストプレビュー再生開始, "toolStripButtonWAVリストプレビュー再生開始");\r
                        this.toolStripButtonWAVリストプレビュー再生開始.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonWAVリストプレビュー再生開始.Image = global::DTXCreator.Properties.Resources.再生;\r
+                       resources.ApplyResources(this.toolStripButtonWAVリストプレビュー再生開始, "toolStripButtonWAVリストプレビュー再生開始");\r
                        this.toolStripButtonWAVリストプレビュー再生開始.Name = "toolStripButtonWAVリストプレビュー再生開始";\r
                        this.toolStripButtonWAVリストプレビュー再生開始.Click += new System.EventHandler(this.toolStripButtonWAVリストプレビュー再生開始_Click);\r
                        // \r
                        // toolStripButtonWAVリストプレビュー再生停止\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonWAVリストプレビュー再生停止, "toolStripButtonWAVリストプレビュー再生停止");\r
                        this.toolStripButtonWAVリストプレビュー再生停止.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonWAVリストプレビュー再生停止.Image = global::DTXCreator.Properties.Resources.再生停止;\r
+                       resources.ApplyResources(this.toolStripButtonWAVリストプレビュー再生停止, "toolStripButtonWAVリストプレビュー再生停止");\r
                        this.toolStripButtonWAVリストプレビュー再生停止.Name = "toolStripButtonWAVリストプレビュー再生停止";\r
                        this.toolStripButtonWAVリストプレビュー再生停止.Click += new System.EventHandler(this.toolStripButtonWAVリストプレビュー再生停止_Click);\r
                        // \r
                        // toolStripSeparator14\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator14, "toolStripSeparator14");\r
                        this.toolStripSeparator14.Name = "toolStripSeparator14";\r
+                       resources.ApplyResources(this.toolStripSeparator14, "toolStripSeparator14");\r
                        // \r
                        // toolStripButtonWAVリストプレビュースイッチ\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonWAVリストプレビュースイッチ, "toolStripButtonWAVリストプレビュースイッチ");\r
                        this.toolStripButtonWAVリストプレビュースイッチ.Checked = true;\r
                        this.toolStripButtonWAVリストプレビュースイッチ.CheckOnClick = true;\r
                        this.toolStripButtonWAVリストプレビュースイッチ.CheckState = System.Windows.Forms.CheckState.Checked;\r
                        this.toolStripButtonWAVリストプレビュースイッチ.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonWAVリストプレビュースイッチ.Image = global::DTXCreator.Properties.Resources.スピーカー;\r
+                       resources.ApplyResources(this.toolStripButtonWAVリストプレビュースイッチ, "toolStripButtonWAVリストプレビュースイッチ");\r
                        this.toolStripButtonWAVリストプレビュースイッチ.Name = "toolStripButtonWAVリストプレビュースイッチ";\r
                        this.toolStripButtonWAVリストプレビュースイッチ.CheckStateChanged += new System.EventHandler(this.toolStripButtonWAVリストプレビュースイッチ_CheckStateChanged);\r
                        // \r
                        // tabPageBMP\r
                        // \r
-                       resources.ApplyResources(this.tabPageBMP, "tabPageBMP");\r
                        this.tabPageBMP.Controls.Add(this.listViewBMPリスト);\r
                        this.tabPageBMP.Controls.Add(this.toolStripBMPツールバー);\r
+                       resources.ApplyResources(this.tabPageBMP, "tabPageBMP");\r
                        this.tabPageBMP.Name = "tabPageBMP";\r
-                       this.toolTipツールチップ.SetToolTip(this.tabPageBMP, resources.GetString("tabPageBMP.ToolTip"));\r
                        this.tabPageBMP.UseVisualStyleBackColor = true;\r
                        // \r
                        // listViewBMPリスト\r
                        // \r
-                       resources.ApplyResources(this.listViewBMPリスト, "listViewBMPリスト");\r
                        this.listViewBMPリスト.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {\r
             this.columnHeaderBMP_TEX,\r
             this.columnHeaderBMP_ラベル,\r
             this.columnHeaderBMP_BMP番号,\r
             this.columnHeaderBMP_ファイル名});\r
+                       resources.ApplyResources(this.listViewBMPリスト, "listViewBMPリスト");\r
                        this.listViewBMPリスト.FullRowSelect = true;\r
                        this.listViewBMPリスト.GridLines = true;\r
                        this.listViewBMPリスト.HideSelection = false;\r
                        this.listViewBMPリスト.MultiSelect = false;\r
                        this.listViewBMPリスト.Name = "listViewBMPリスト";\r
-                       this.toolTipツールチップ.SetToolTip(this.listViewBMPリスト, resources.GetString("listViewBMPリスト.ToolTip"));\r
                        this.listViewBMPリスト.UseCompatibleStateImageBehavior = false;\r
                        this.listViewBMPリスト.View = System.Windows.Forms.View.Details;\r
                        this.listViewBMPリスト.VirtualListSize = 1295;\r
             this.toolStripButtonBMPリスト下移動});\r
                        this.toolStripBMPツールバー.Name = "toolStripBMPツールバー";\r
                        this.toolStripBMPツールバー.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;\r
-                       this.toolTipツールチップ.SetToolTip(this.toolStripBMPツールバー, resources.GetString("toolStripBMPツールバー.ToolTip"));\r
                        // \r
                        // toolStripButtonBMPリスト上移動\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonBMPリスト上移動, "toolStripButtonBMPリスト上移動");\r
                        this.toolStripButtonBMPリスト上移動.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonBMPリスト上移動.Image = global::DTXCreator.Properties.Resources.上移動;\r
+                       resources.ApplyResources(this.toolStripButtonBMPリスト上移動, "toolStripButtonBMPリスト上移動");\r
                        this.toolStripButtonBMPリスト上移動.Name = "toolStripButtonBMPリスト上移動";\r
                        this.toolStripButtonBMPリスト上移動.Click += new System.EventHandler(this.toolStripButtonBMPリスト上移動_Click);\r
                        // \r
                        // toolStripButtonBMPリスト下移動\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonBMPリスト下移動, "toolStripButtonBMPリスト下移動");\r
                        this.toolStripButtonBMPリスト下移動.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonBMPリスト下移動.Image = global::DTXCreator.Properties.Resources.下移動;\r
+                       resources.ApplyResources(this.toolStripButtonBMPリスト下移動, "toolStripButtonBMPリスト下移動");\r
                        this.toolStripButtonBMPリスト下移動.Name = "toolStripButtonBMPリスト下移動";\r
                        this.toolStripButtonBMPリスト下移動.Click += new System.EventHandler(this.toolStripButtonBMPリスト下移動_Click);\r
                        // \r
                        // tabPageAVI\r
                        // \r
-                       resources.ApplyResources(this.tabPageAVI, "tabPageAVI");\r
                        this.tabPageAVI.Controls.Add(this.listViewAVIリスト);\r
                        this.tabPageAVI.Controls.Add(this.toolStripAVIツールバー);\r
+                       resources.ApplyResources(this.tabPageAVI, "tabPageAVI");\r
                        this.tabPageAVI.Name = "tabPageAVI";\r
-                       this.toolTipツールチップ.SetToolTip(this.tabPageAVI, resources.GetString("tabPageAVI.ToolTip"));\r
                        this.tabPageAVI.UseVisualStyleBackColor = true;\r
                        // \r
                        // listViewAVIリスト\r
                        // \r
-                       resources.ApplyResources(this.listViewAVIリスト, "listViewAVIリスト");\r
                        this.listViewAVIリスト.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {\r
             this.columnHeaderAVI_ラベル,\r
             this.columnHeaderAVI_AVI番号,\r
             this.columnHeaderAVI_ファイル名});\r
+                       resources.ApplyResources(this.listViewAVIリスト, "listViewAVIリスト");\r
                        this.listViewAVIリスト.FullRowSelect = true;\r
                        this.listViewAVIリスト.GridLines = true;\r
                        this.listViewAVIリスト.HideSelection = false;\r
                        this.listViewAVIリスト.MultiSelect = false;\r
                        this.listViewAVIリスト.Name = "listViewAVIリスト";\r
-                       this.toolTipツールチップ.SetToolTip(this.listViewAVIリスト, resources.GetString("listViewAVIリスト.ToolTip"));\r
                        this.listViewAVIリスト.UseCompatibleStateImageBehavior = false;\r
                        this.listViewAVIリスト.View = System.Windows.Forms.View.Details;\r
                        this.listViewAVIリスト.VirtualListSize = 1295;\r
             this.toolStripButtonAVIリスト上移動,\r
             this.toolStripButtonAVIリスト下移動});\r
                        this.toolStripAVIツールバー.Name = "toolStripAVIツールバー";\r
-                       this.toolTipツールチップ.SetToolTip(this.toolStripAVIツールバー, resources.GetString("toolStripAVIツールバー.ToolTip"));\r
                        // \r
                        // toolStripButtonAVIリスト上移動\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonAVIリスト上移動, "toolStripButtonAVIリスト上移動");\r
                        this.toolStripButtonAVIリスト上移動.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonAVIリスト上移動.Image = global::DTXCreator.Properties.Resources.上移動;\r
+                       resources.ApplyResources(this.toolStripButtonAVIリスト上移動, "toolStripButtonAVIリスト上移動");\r
                        this.toolStripButtonAVIリスト上移動.Name = "toolStripButtonAVIリスト上移動";\r
                        this.toolStripButtonAVIリスト上移動.Click += new System.EventHandler(this.toolStripButtonAVIリスト上移動_Click);\r
                        // \r
                        // toolStripButtonAVIリスト下移動\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonAVIリスト下移動, "toolStripButtonAVIリスト下移動");\r
                        this.toolStripButtonAVIリスト下移動.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonAVIリスト下移動.Image = global::DTXCreator.Properties.Resources.下移動;\r
+                       resources.ApplyResources(this.toolStripButtonAVIリスト下移動, "toolStripButtonAVIリスト下移動");\r
                        this.toolStripButtonAVIリスト下移動.Name = "toolStripButtonAVIリスト下移動";\r
                        this.toolStripButtonAVIリスト下移動.Click += new System.EventHandler(this.toolStripButtonAVIリスト下移動_Click);\r
                        // \r
                        // tabPage自由入力\r
                        // \r
-                       resources.ApplyResources(this.tabPage自由入力, "tabPage自由入力");\r
                        this.tabPage自由入力.Controls.Add(this.textBox自由入力欄);\r
+                       resources.ApplyResources(this.tabPage自由入力, "tabPage自由入力");\r
                        this.tabPage自由入力.Name = "tabPage自由入力";\r
-                       this.toolTipツールチップ.SetToolTip(this.tabPage自由入力, resources.GetString("tabPage自由入力.ToolTip"));\r
                        this.tabPage自由入力.UseVisualStyleBackColor = true;\r
                        // \r
                        // textBox自由入力欄\r
                        this.textBox自由入力欄.AcceptsTab = true;\r
                        resources.ApplyResources(this.textBox自由入力欄, "textBox自由入力欄");\r
                        this.textBox自由入力欄.Name = "textBox自由入力欄";\r
-                       this.toolTipツールチップ.SetToolTip(this.textBox自由入力欄, resources.GetString("textBox自由入力欄.ToolTip"));\r
                        this.textBox自由入力欄.TextChanged += new System.EventHandler(this.textBox自由入力欄_TextChanged);\r
                        this.textBox自由入力欄.Leave += new System.EventHandler(this.textBox自由入力欄_Leave);\r
                        // \r
                        this.pictureBox譜面パネル.BackColor = System.Drawing.Color.Black;\r
                        this.pictureBox譜面パネル.Name = "pictureBox譜面パネル";\r
                        this.pictureBox譜面パネル.TabStop = false;\r
-                       this.toolTipツールチップ.SetToolTip(this.pictureBox譜面パネル, resources.GetString("pictureBox譜面パネル.ToolTip"));\r
                        this.pictureBox譜面パネル.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox譜面パネル_Paint);\r
                        this.pictureBox譜面パネル.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox譜面パネル_MouseClick);\r
                        this.pictureBox譜面パネル.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox譜面パネル_MouseDown);\r
                        resources.ApplyResources(this.hScrollBar譜面用水平スクロールバー, "hScrollBar譜面用水平スクロールバー");\r
                        this.hScrollBar譜面用水平スクロールバー.Name = "hScrollBar譜面用水平スクロールバー";\r
                        this.hScrollBar譜面用水平スクロールバー.SmallChange = 5;\r
-                       this.toolTipツールチップ.SetToolTip(this.hScrollBar譜面用水平スクロールバー, resources.GetString("hScrollBar譜面用水平スクロールバー.ToolTip"));\r
                        this.hScrollBar譜面用水平スクロールバー.ValueChanged += new System.EventHandler(this.hScrollBar譜面用水平スクロールバー_ValueChanged);\r
                        // \r
                        // statusStripステータスバー\r
                        // \r
                        resources.ApplyResources(this.statusStripステータスバー, "statusStripステータスバー");\r
                        this.statusStripステータスバー.Name = "statusStripステータスバー";\r
-                       this.toolTipツールチップ.SetToolTip(this.statusStripステータスバー, resources.GetString("statusStripステータスバー.ToolTip"));\r
                        // \r
                        // menuStripメニューバー\r
                        // \r
-                       resources.ApplyResources(this.menuStripメニューバー, "menuStripメニューバー");\r
                        this.menuStripメニューバー.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItemファイル,\r
             this.toolStripMenuItem編集,\r
             this.toolStripMenuItem再生,\r
             this.toolStripMenuItemツール,\r
             this.toolStripMenuItemヘルプ});\r
+                       resources.ApplyResources(this.menuStripメニューバー, "menuStripメニューバー");\r
                        this.menuStripメニューバー.Name = "menuStripメニューバー";\r
-                       this.toolTipツールチップ.SetToolTip(this.menuStripメニューバー, resources.GetString("menuStripメニューバー.ToolTip"));\r
                        // \r
                        // toolStripMenuItemファイル\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemファイル, "toolStripMenuItemファイル");\r
                        this.toolStripMenuItemファイル.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItem新規,\r
             this.toolStripMenuItem開く,\r
             this.toolStripSeparator1,\r
             this.toolStripMenuItem終了});\r
                        this.toolStripMenuItemファイル.Name = "toolStripMenuItemファイル";\r
+                       resources.ApplyResources(this.toolStripMenuItemファイル, "toolStripMenuItemファイル");\r
                        // \r
                        // toolStripMenuItem新規\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem新規, "toolStripMenuItem新規");\r
                        this.toolStripMenuItem新規.Image = global::DTXCreator.Properties.Resources.新規作成;\r
                        this.toolStripMenuItem新規.Name = "toolStripMenuItem新規";\r
+                       resources.ApplyResources(this.toolStripMenuItem新規, "toolStripMenuItem新規");\r
                        this.toolStripMenuItem新規.Click += new System.EventHandler(this.toolStripMenuItem新規_Click);\r
                        // \r
                        // toolStripMenuItem開く\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem開く, "toolStripMenuItem開く");\r
                        this.toolStripMenuItem開く.Image = global::DTXCreator.Properties.Resources.開く;\r
                        this.toolStripMenuItem開く.Name = "toolStripMenuItem開く";\r
+                       resources.ApplyResources(this.toolStripMenuItem開く, "toolStripMenuItem開く");\r
                        this.toolStripMenuItem開く.Click += new System.EventHandler(this.toolStripMenuItem開く_Click);\r
                        // \r
                        // toolStripMenuItem上書き保存\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem上書き保存, "toolStripMenuItem上書き保存");\r
                        this.toolStripMenuItem上書き保存.Image = global::DTXCreator.Properties.Resources.保存;\r
                        this.toolStripMenuItem上書き保存.Name = "toolStripMenuItem上書き保存";\r
+                       resources.ApplyResources(this.toolStripMenuItem上書き保存, "toolStripMenuItem上書き保存");\r
                        this.toolStripMenuItem上書き保存.Click += new System.EventHandler(this.toolStripMenuItem上書き保存_Click);\r
                        // \r
                        // toolStripMenuItem名前を付けて保存\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem名前を付けて保存, "toolStripMenuItem名前を付けて保存");\r
                        this.toolStripMenuItem名前を付けて保存.Name = "toolStripMenuItem名前を付けて保存";\r
+                       resources.ApplyResources(this.toolStripMenuItem名前を付けて保存, "toolStripMenuItem名前を付けて保存");\r
                        this.toolStripMenuItem名前を付けて保存.Click += new System.EventHandler(this.toolStripMenuItem名前を付けて保存_Click);\r
                        // \r
                        // toolStripSeparator1\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");\r
                        this.toolStripSeparator1.Name = "toolStripSeparator1";\r
+                       resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");\r
                        // \r
                        // toolStripMenuItem終了\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem終了, "toolStripMenuItem終了");\r
                        this.toolStripMenuItem終了.Name = "toolStripMenuItem終了";\r
+                       resources.ApplyResources(this.toolStripMenuItem終了, "toolStripMenuItem終了");\r
                        this.toolStripMenuItem終了.Click += new System.EventHandler(this.toolStripMenuItem終了_Click);\r
                        // \r
                        // toolStripMenuItem編集\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem編集, "toolStripMenuItem編集");\r
                        this.toolStripMenuItem編集.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItemアンドゥ,\r
             this.toolStripMenuItemリドゥ,\r
             this.toolStripMenuItemモード切替,\r
             this.toolStripSeparator5,\r
             this.toolStripMenuItem検索,\r
-            this.toolStripMenuItem置換});\r
+            this.toolStripMenuItem置換,\r
+            this.toolStripMenuItem難易度自動計算});\r
                        this.toolStripMenuItem編集.Name = "toolStripMenuItem編集";\r
+                       resources.ApplyResources(this.toolStripMenuItem編集, "toolStripMenuItem編集");\r
                        // \r
                        // toolStripMenuItemアンドゥ\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemアンドゥ, "toolStripMenuItemアンドゥ");\r
                        this.toolStripMenuItemアンドゥ.Image = global::DTXCreator.Properties.Resources.Undo;\r
                        this.toolStripMenuItemアンドゥ.Name = "toolStripMenuItemアンドゥ";\r
+                       resources.ApplyResources(this.toolStripMenuItemアンドゥ, "toolStripMenuItemアンドゥ");\r
                        this.toolStripMenuItemアンドゥ.Click += new System.EventHandler(this.toolStripMenuItemアンドゥ_Click);\r
                        // \r
                        // toolStripMenuItemリドゥ\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemリドゥ, "toolStripMenuItemリドゥ");\r
                        this.toolStripMenuItemリドゥ.Image = global::DTXCreator.Properties.Resources.Redo;\r
                        this.toolStripMenuItemリドゥ.Name = "toolStripMenuItemリドゥ";\r
+                       resources.ApplyResources(this.toolStripMenuItemリドゥ, "toolStripMenuItemリドゥ");\r
                        this.toolStripMenuItemリドゥ.Click += new System.EventHandler(this.toolStripMenuItemリドゥ_Click);\r
                        // \r
                        // toolStripSeparator2\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");\r
                        this.toolStripSeparator2.Name = "toolStripSeparator2";\r
+                       resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");\r
                        // \r
                        // toolStripMenuItem切り取り\r
                        // \r
                        // \r
                        // toolStripSeparator3\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3");\r
                        this.toolStripSeparator3.Name = "toolStripSeparator3";\r
+                       resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3");\r
                        // \r
                        // toolStripMenuItemすべて選択\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemすべて選択, "toolStripMenuItemすべて選択");\r
                        this.toolStripMenuItemすべて選択.Name = "toolStripMenuItemすべて選択";\r
+                       resources.ApplyResources(this.toolStripMenuItemすべて選択, "toolStripMenuItemすべて選択");\r
                        this.toolStripMenuItemすべて選択.Click += new System.EventHandler(this.toolStripMenuItemすべて選択_Click);\r
                        // \r
                        // toolStripSeparator4\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4");\r
                        this.toolStripSeparator4.Name = "toolStripSeparator4";\r
+                       resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4");\r
                        // \r
                        // toolStripMenuItem選択モード\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem選択モード, "toolStripMenuItem選択モード");\r
                        this.toolStripMenuItem選択モード.Image = global::DTXCreator.Properties.Resources.矢印ポインタ;\r
                        this.toolStripMenuItem選択モード.Name = "toolStripMenuItem選択モード";\r
+                       resources.ApplyResources(this.toolStripMenuItem選択モード, "toolStripMenuItem選択モード");\r
                        this.toolStripMenuItem選択モード.Click += new System.EventHandler(this.toolStripMenuItem選択モード_Click);\r
                        // \r
                        // toolStripMenuItem編集モード\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem編集モード, "toolStripMenuItem編集モード");\r
                        this.toolStripMenuItem編集モード.Image = global::DTXCreator.Properties.Resources.鉛筆;\r
                        this.toolStripMenuItem編集モード.Name = "toolStripMenuItem編集モード";\r
+                       resources.ApplyResources(this.toolStripMenuItem編集モード, "toolStripMenuItem編集モード");\r
                        this.toolStripMenuItem編集モード.Click += new System.EventHandler(this.toolStripMenuItem編集モード_Click);\r
                        // \r
                        // toolStripMenuItemモード切替\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemモード切替, "toolStripMenuItemモード切替");\r
                        this.toolStripMenuItemモード切替.Name = "toolStripMenuItemモード切替";\r
+                       resources.ApplyResources(this.toolStripMenuItemモード切替, "toolStripMenuItemモード切替");\r
                        this.toolStripMenuItemモード切替.Click += new System.EventHandler(this.toolStripMenuItemモード切替_Click);\r
                        // \r
                        // toolStripSeparator5\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5");\r
                        this.toolStripSeparator5.Name = "toolStripSeparator5";\r
+                       resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5");\r
                        // \r
                        // toolStripMenuItem検索\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem検索, "toolStripMenuItem検索");\r
                        this.toolStripMenuItem検索.Name = "toolStripMenuItem検索";\r
+                       resources.ApplyResources(this.toolStripMenuItem検索, "toolStripMenuItem検索");\r
                        this.toolStripMenuItem検索.Click += new System.EventHandler(this.toolStripMenuItem検索_Click);\r
                        // \r
                        // toolStripMenuItem置換\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem置換, "toolStripMenuItem置換");\r
                        this.toolStripMenuItem置換.Name = "toolStripMenuItem置換";\r
+                       resources.ApplyResources(this.toolStripMenuItem置換, "toolStripMenuItem置換");\r
                        this.toolStripMenuItem置換.Click += new System.EventHandler(this.toolStripMenuItem置換_Click);\r
                        // \r
+                       // toolStripMenuItem難易度自動計算\r
+                       // \r
+                       this.toolStripMenuItem難易度自動計算.Name = "toolStripMenuItem難易度自動計算";\r
+                       resources.ApplyResources(this.toolStripMenuItem難易度自動計算, "toolStripMenuItem難易度自動計算");\r
+                       this.toolStripMenuItem難易度自動計算.Click += new System.EventHandler(this.calcDifficultyToolStripMenuItem_Click);\r
+                       // \r
                        // toolStripMenuItem表示\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem表示, "toolStripMenuItem表示");\r
                        this.toolStripMenuItem表示.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItemチップパレット,\r
             this.toolStripMenuItemガイド間隔});\r
                        this.toolStripMenuItem表示.Name = "toolStripMenuItem表示";\r
+                       resources.ApplyResources(this.toolStripMenuItem表示, "toolStripMenuItem表示");\r
                        // \r
                        // toolStripMenuItemチップパレット\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemチップパレット, "toolStripMenuItemチップパレット");\r
                        this.toolStripMenuItemチップパレット.CheckOnClick = true;\r
                        this.toolStripMenuItemチップパレット.Image = global::DTXCreator.Properties.Resources.チップパレット;\r
                        this.toolStripMenuItemチップパレット.Name = "toolStripMenuItemチップパレット";\r
+                       resources.ApplyResources(this.toolStripMenuItemチップパレット, "toolStripMenuItemチップパレット");\r
                        this.toolStripMenuItemチップパレット.Click += new System.EventHandler(this.toolStripMenuItemチップパレット_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔, "toolStripMenuItemガイド間隔");\r
                        this.toolStripMenuItemガイド間隔.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItemガイド間隔4分,\r
             this.toolStripMenuItemガイド間隔8分,\r
             this.toolStripMenuItemガイド間隔拡大,\r
             this.toolStripMenuItemガイド間隔縮小});\r
                        this.toolStripMenuItemガイド間隔.Name = "toolStripMenuItemガイド間隔";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔, "toolStripMenuItemガイド間隔");\r
                        // \r
                        // toolStripMenuItemガイド間隔4分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔4分, "toolStripMenuItemガイド間隔4分");\r
                        this.toolStripMenuItemガイド間隔4分.Name = "toolStripMenuItemガイド間隔4分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔4分, "toolStripMenuItemガイド間隔4分");\r
                        this.toolStripMenuItemガイド間隔4分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔4分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔8分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔8分, "toolStripMenuItemガイド間隔8分");\r
                        this.toolStripMenuItemガイド間隔8分.Name = "toolStripMenuItemガイド間隔8分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔8分, "toolStripMenuItemガイド間隔8分");\r
                        this.toolStripMenuItemガイド間隔8分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔8分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔12分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔12分, "toolStripMenuItemガイド間隔12分");\r
                        this.toolStripMenuItemガイド間隔12分.Name = "toolStripMenuItemガイド間隔12分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔12分, "toolStripMenuItemガイド間隔12分");\r
                        this.toolStripMenuItemガイド間隔12分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔12分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔16分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔16分, "toolStripMenuItemガイド間隔16分");\r
                        this.toolStripMenuItemガイド間隔16分.Name = "toolStripMenuItemガイド間隔16分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔16分, "toolStripMenuItemガイド間隔16分");\r
                        this.toolStripMenuItemガイド間隔16分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔16分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔24分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔24分, "toolStripMenuItemガイド間隔24分");\r
                        this.toolStripMenuItemガイド間隔24分.Name = "toolStripMenuItemガイド間隔24分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔24分, "toolStripMenuItemガイド間隔24分");\r
                        this.toolStripMenuItemガイド間隔24分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔24分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔32分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔32分, "toolStripMenuItemガイド間隔32分");\r
                        this.toolStripMenuItemガイド間隔32分.Name = "toolStripMenuItemガイド間隔32分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔32分, "toolStripMenuItemガイド間隔32分");\r
                        this.toolStripMenuItemガイド間隔32分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔32分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔48分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔48分, "toolStripMenuItemガイド間隔48分");\r
                        this.toolStripMenuItemガイド間隔48分.Name = "toolStripMenuItemガイド間隔48分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔48分, "toolStripMenuItemガイド間隔48分");\r
                        this.toolStripMenuItemガイド間隔48分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔48分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔64分\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔64分, "toolStripMenuItemガイド間隔64分");\r
                        this.toolStripMenuItemガイド間隔64分.Name = "toolStripMenuItemガイド間隔64分";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔64分, "toolStripMenuItemガイド間隔64分");\r
                        this.toolStripMenuItemガイド間隔64分.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔64分_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔フリー\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔フリー, "toolStripMenuItemガイド間隔フリー");\r
                        this.toolStripMenuItemガイド間隔フリー.Name = "toolStripMenuItemガイド間隔フリー";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔フリー, "toolStripMenuItemガイド間隔フリー");\r
                        this.toolStripMenuItemガイド間隔フリー.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔フリー_Click);\r
                        // \r
                        // toolStripSeparator6\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator6, "toolStripSeparator6");\r
                        this.toolStripSeparator6.Name = "toolStripSeparator6";\r
+                       resources.ApplyResources(this.toolStripSeparator6, "toolStripSeparator6");\r
                        // \r
                        // toolStripMenuItemガイド間隔拡大\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔拡大, "toolStripMenuItemガイド間隔拡大");\r
                        this.toolStripMenuItemガイド間隔拡大.Name = "toolStripMenuItemガイド間隔拡大";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔拡大, "toolStripMenuItemガイド間隔拡大");\r
                        this.toolStripMenuItemガイド間隔拡大.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔拡大_Click);\r
                        // \r
                        // toolStripMenuItemガイド間隔縮小\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemガイド間隔縮小, "toolStripMenuItemガイド間隔縮小");\r
                        this.toolStripMenuItemガイド間隔縮小.Name = "toolStripMenuItemガイド間隔縮小";\r
+                       resources.ApplyResources(this.toolStripMenuItemガイド間隔縮小, "toolStripMenuItemガイド間隔縮小");\r
                        this.toolStripMenuItemガイド間隔縮小.Click += new System.EventHandler(this.toolStripMenuItemガイド間隔縮小_Click);\r
                        // \r
                        // toolStripMenuItem再生\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem再生, "toolStripMenuItem再生");\r
                        this.toolStripMenuItem再生.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItem先頭から再生,\r
             this.toolStripMenuItem現在位置から再生,\r
             this.toolStripMenuItem現在位置からBGMのみ再生,\r
             this.toolStripMenuItem再生停止});\r
                        this.toolStripMenuItem再生.Name = "toolStripMenuItem再生";\r
+                       resources.ApplyResources(this.toolStripMenuItem再生, "toolStripMenuItem再生");\r
                        // \r
                        // toolStripMenuItem先頭から再生\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem先頭から再生, "toolStripMenuItem先頭から再生");\r
                        this.toolStripMenuItem先頭から再生.Image = global::DTXCreator.Properties.Resources.最初から再生;\r
                        this.toolStripMenuItem先頭から再生.Name = "toolStripMenuItem先頭から再生";\r
+                       resources.ApplyResources(this.toolStripMenuItem先頭から再生, "toolStripMenuItem先頭から再生");\r
                        this.toolStripMenuItem先頭から再生.Click += new System.EventHandler(this.toolStripMenuItem先頭から再生_Click);\r
                        // \r
                        // toolStripMenuItem現在位置から再生\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem現在位置から再生, "toolStripMenuItem現在位置から再生");\r
                        this.toolStripMenuItem現在位置から再生.Image = global::DTXCreator.Properties.Resources.再生;\r
                        this.toolStripMenuItem現在位置から再生.Name = "toolStripMenuItem現在位置から再生";\r
+                       resources.ApplyResources(this.toolStripMenuItem現在位置から再生, "toolStripMenuItem現在位置から再生");\r
                        this.toolStripMenuItem現在位置から再生.Click += new System.EventHandler(this.toolStripMenuItem現在位置から再生_Click);\r
                        // \r
                        // toolStripMenuItem現在位置からBGMのみ再生\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem現在位置からBGMのみ再生, "toolStripMenuItem現在位置からBGMのみ再生");\r
                        this.toolStripMenuItem現在位置からBGMのみ再生.Image = global::DTXCreator.Properties.Resources.BGMのみ再生;\r
                        this.toolStripMenuItem現在位置からBGMのみ再生.Name = "toolStripMenuItem現在位置からBGMのみ再生";\r
+                       resources.ApplyResources(this.toolStripMenuItem現在位置からBGMのみ再生, "toolStripMenuItem現在位置からBGMのみ再生");\r
                        this.toolStripMenuItem現在位置からBGMのみ再生.Click += new System.EventHandler(this.toolStripMenuItem現在位置からBGMのみ再生_Click);\r
                        // \r
                        // toolStripMenuItem再生停止\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem再生停止, "toolStripMenuItem再生停止");\r
                        this.toolStripMenuItem再生停止.Image = global::DTXCreator.Properties.Resources.再生停止;\r
                        this.toolStripMenuItem再生停止.Name = "toolStripMenuItem再生停止";\r
+                       resources.ApplyResources(this.toolStripMenuItem再生停止, "toolStripMenuItem再生停止");\r
                        this.toolStripMenuItem再生停止.Click += new System.EventHandler(this.toolStripMenuItem再生停止_Click);\r
                        // \r
                        // toolStripMenuItemツール\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemツール, "toolStripMenuItemツール");\r
                        this.toolStripMenuItemツール.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItemオプション});\r
                        this.toolStripMenuItemツール.Name = "toolStripMenuItemツール";\r
+                       resources.ApplyResources(this.toolStripMenuItemツール, "toolStripMenuItemツール");\r
                        // \r
                        // toolStripMenuItemオプション\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemオプション, "toolStripMenuItemオプション");\r
                        this.toolStripMenuItemオプション.Name = "toolStripMenuItemオプション";\r
+                       resources.ApplyResources(this.toolStripMenuItemオプション, "toolStripMenuItemオプション");\r
                        this.toolStripMenuItemオプション.Click += new System.EventHandler(this.toolStripMenuItemオプション_Click);\r
                        // \r
                        // toolStripMenuItemヘルプ\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemヘルプ, "toolStripMenuItemヘルプ");\r
                        this.toolStripMenuItemヘルプ.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItemDTXCreaterマニュアル,\r
             this.toolStripMenuItemバージョン});\r
                        this.toolStripMenuItemヘルプ.Name = "toolStripMenuItemヘルプ";\r
+                       resources.ApplyResources(this.toolStripMenuItemヘルプ, "toolStripMenuItemヘルプ");\r
                        // \r
                        // toolStripMenuItemDTXCreaterマニュアル\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemDTXCreaterマニュアル, "toolStripMenuItemDTXCreaterマニュアル");\r
                        this.toolStripMenuItemDTXCreaterマニュアル.Image = global::DTXCreator.Properties.Resources.ヘルプ;\r
                        this.toolStripMenuItemDTXCreaterマニュアル.Name = "toolStripMenuItemDTXCreaterマニュアル";\r
+                       resources.ApplyResources(this.toolStripMenuItemDTXCreaterマニュアル, "toolStripMenuItemDTXCreaterマニュアル");\r
                        this.toolStripMenuItemDTXCreaterマニュアル.Click += new System.EventHandler(this.toolStripMenuItemDTXCreaterマニュアル_Click);\r
                        // \r
                        // toolStripMenuItemバージョン\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemバージョン, "toolStripMenuItemバージョン");\r
                        this.toolStripMenuItemバージョン.Name = "toolStripMenuItemバージョン";\r
+                       resources.ApplyResources(this.toolStripMenuItemバージョン, "toolStripMenuItemバージョン");\r
                        this.toolStripMenuItemバージョン.Click += new System.EventHandler(this.toolStripMenuItemバージョン_Click);\r
                        // \r
                        // toolStripツールバー\r
                        // \r
-                       resources.ApplyResources(this.toolStripツールバー, "toolStripツールバー");\r
                        this.toolStripツールバー.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripButton新規作成,\r
             this.toolStripButton開く,\r
             this.toolStripButton再生停止,\r
             this.toolStripComboBox演奏速度,\r
             this.toolStripSeparator12});\r
+                       resources.ApplyResources(this.toolStripツールバー, "toolStripツールバー");\r
                        this.toolStripツールバー.Name = "toolStripツールバー";\r
-                       this.toolTipツールチップ.SetToolTip(this.toolStripツールバー, resources.GetString("toolStripツールバー.ToolTip"));\r
                        // \r
                        // toolStripButton新規作成\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton新規作成, "toolStripButton新規作成");\r
                        this.toolStripButton新規作成.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton新規作成.Image = global::DTXCreator.Properties.Resources.新規作成;\r
+                       resources.ApplyResources(this.toolStripButton新規作成, "toolStripButton新規作成");\r
                        this.toolStripButton新規作成.Name = "toolStripButton新規作成";\r
                        this.toolStripButton新規作成.Click += new System.EventHandler(this.toolStripButton新規作成_Click);\r
                        // \r
                        // toolStripButton開く\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton開く, "toolStripButton開く");\r
                        this.toolStripButton開く.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton開く.Image = global::DTXCreator.Properties.Resources.開く;\r
+                       resources.ApplyResources(this.toolStripButton開く, "toolStripButton開く");\r
                        this.toolStripButton開く.Name = "toolStripButton開く";\r
                        this.toolStripButton開く.Click += new System.EventHandler(this.toolStripButton開く_Click);\r
                        // \r
                        // toolStripButton上書き保存\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton上書き保存, "toolStripButton上書き保存");\r
                        this.toolStripButton上書き保存.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton上書き保存.Image = global::DTXCreator.Properties.Resources.保存;\r
+                       resources.ApplyResources(this.toolStripButton上書き保存, "toolStripButton上書き保存");\r
                        this.toolStripButton上書き保存.Name = "toolStripButton上書き保存";\r
                        this.toolStripButton上書き保存.Click += new System.EventHandler(this.toolStripButton上書き保存_Click);\r
                        // \r
                        // toolStripSeparator7\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator7, "toolStripSeparator7");\r
                        this.toolStripSeparator7.Name = "toolStripSeparator7";\r
+                       resources.ApplyResources(this.toolStripSeparator7, "toolStripSeparator7");\r
                        // \r
                        // toolStripButton切り取り\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton切り取り, "toolStripButton切り取り");\r
                        this.toolStripButton切り取り.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+                       resources.ApplyResources(this.toolStripButton切り取り, "toolStripButton切り取り");\r
                        this.toolStripButton切り取り.Image = global::DTXCreator.Properties.Resources.切り取り;\r
                        this.toolStripButton切り取り.Name = "toolStripButton切り取り";\r
                        this.toolStripButton切り取り.Click += new System.EventHandler(this.toolStripButton切り取り_Click);\r
                        // \r
                        // toolStripButtonコピー\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonコピー, "toolStripButtonコピー");\r
                        this.toolStripButtonコピー.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+                       resources.ApplyResources(this.toolStripButtonコピー, "toolStripButtonコピー");\r
                        this.toolStripButtonコピー.Image = global::DTXCreator.Properties.Resources.コピー;\r
                        this.toolStripButtonコピー.Name = "toolStripButtonコピー";\r
                        this.toolStripButtonコピー.Click += new System.EventHandler(this.toolStripButtonコピー_Click);\r
                        // \r
                        // toolStripButton貼り付け\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton貼り付け, "toolStripButton貼り付け");\r
                        this.toolStripButton貼り付け.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+                       resources.ApplyResources(this.toolStripButton貼り付け, "toolStripButton貼り付け");\r
                        this.toolStripButton貼り付け.Image = global::DTXCreator.Properties.Resources.貼り付け;\r
                        this.toolStripButton貼り付け.Name = "toolStripButton貼り付け";\r
                        this.toolStripButton貼り付け.Click += new System.EventHandler(this.toolStripButton貼り付け_Click);\r
                        // \r
                        // toolStripButton削除\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton削除, "toolStripButton削除");\r
                        this.toolStripButton削除.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+                       resources.ApplyResources(this.toolStripButton削除, "toolStripButton削除");\r
                        this.toolStripButton削除.Image = global::DTXCreator.Properties.Resources.削除;\r
                        this.toolStripButton削除.Name = "toolStripButton削除";\r
                        this.toolStripButton削除.Click += new System.EventHandler(this.toolStripButton削除_Click);\r
                        // \r
                        // toolStripSeparator8\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator8, "toolStripSeparator8");\r
                        this.toolStripSeparator8.Name = "toolStripSeparator8";\r
+                       resources.ApplyResources(this.toolStripSeparator8, "toolStripSeparator8");\r
                        // \r
                        // toolStripButtonアンドゥ\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonアンドゥ, "toolStripButtonアンドゥ");\r
                        this.toolStripButtonアンドゥ.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+                       resources.ApplyResources(this.toolStripButtonアンドゥ, "toolStripButtonアンドゥ");\r
                        this.toolStripButtonアンドゥ.Image = global::DTXCreator.Properties.Resources.Undo;\r
                        this.toolStripButtonアンドゥ.Name = "toolStripButtonアンドゥ";\r
                        this.toolStripButtonアンドゥ.Click += new System.EventHandler(this.toolStripButtonアンドゥ_Click);\r
                        // \r
                        // toolStripButtonリドゥ\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonリドゥ, "toolStripButtonリドゥ");\r
                        this.toolStripButtonリドゥ.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+                       resources.ApplyResources(this.toolStripButtonリドゥ, "toolStripButtonリドゥ");\r
                        this.toolStripButtonリドゥ.Image = global::DTXCreator.Properties.Resources.Redo;\r
                        this.toolStripButtonリドゥ.Name = "toolStripButtonリドゥ";\r
                        this.toolStripButtonリドゥ.Click += new System.EventHandler(this.toolStripButtonリドゥ_Click);\r
                        // \r
                        // toolStripSeparator9\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator9, "toolStripSeparator9");\r
                        this.toolStripSeparator9.Name = "toolStripSeparator9";\r
+                       resources.ApplyResources(this.toolStripSeparator9, "toolStripSeparator9");\r
                        // \r
                        // toolStripButtonチップパレット\r
                        // \r
-                       resources.ApplyResources(this.toolStripButtonチップパレット, "toolStripButtonチップパレット");\r
                        this.toolStripButtonチップパレット.CheckOnClick = true;\r
                        this.toolStripButtonチップパレット.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButtonチップパレット.Image = global::DTXCreator.Properties.Resources.チップパレット;\r
+                       resources.ApplyResources(this.toolStripButtonチップパレット, "toolStripButtonチップパレット");\r
                        this.toolStripButtonチップパレット.Name = "toolStripButtonチップパレット";\r
                        this.toolStripButtonチップパレット.Click += new System.EventHandler(this.toolStripButtonチップパレット_Click);\r
                        // \r
                        // toolStripSeparator10\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator10, "toolStripSeparator10");\r
                        this.toolStripSeparator10.Name = "toolStripSeparator10";\r
+                       resources.ApplyResources(this.toolStripSeparator10, "toolStripSeparator10");\r
                        // \r
                        // toolStripComboBox譜面拡大率\r
                        // \r
-                       resources.ApplyResources(this.toolStripComboBox譜面拡大率, "toolStripComboBox譜面拡大率");\r
                        this.toolStripComboBox譜面拡大率.DropDownHeight = 200;\r
                        this.toolStripComboBox譜面拡大率.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
+                       resources.ApplyResources(this.toolStripComboBox譜面拡大率, "toolStripComboBox譜面拡大率");\r
                        this.toolStripComboBox譜面拡大率.Items.AddRange(new object[] {\r
             resources.GetString("toolStripComboBox譜面拡大率.Items"),\r
             resources.GetString("toolStripComboBox譜面拡大率.Items1"),\r
                        // \r
                        // toolStripComboBoxガイド間隔\r
                        // \r
-                       resources.ApplyResources(this.toolStripComboBoxガイド間隔, "toolStripComboBoxガイド間隔");\r
                        this.toolStripComboBoxガイド間隔.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
                        this.toolStripComboBoxガイド間隔.Items.AddRange(new object[] {\r
             resources.GetString("toolStripComboBoxガイド間隔.Items"),\r
             resources.GetString("toolStripComboBoxガイド間隔.Items6"),\r
             resources.GetString("toolStripComboBoxガイド間隔.Items7"),\r
             resources.GetString("toolStripComboBoxガイド間隔.Items8")});\r
+                       resources.ApplyResources(this.toolStripComboBoxガイド間隔, "toolStripComboBoxガイド間隔");\r
                        this.toolStripComboBoxガイド間隔.Name = "toolStripComboBoxガイド間隔";\r
                        this.toolStripComboBoxガイド間隔.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBoxガイド間隔_SelectedIndexChanged);\r
                        // \r
                        // toolStripButton選択モード\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton選択モード, "toolStripButton選択モード");\r
                        this.toolStripButton選択モード.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton選択モード.Image = global::DTXCreator.Properties.Resources.矢印ポインタ;\r
+                       resources.ApplyResources(this.toolStripButton選択モード, "toolStripButton選択モード");\r
                        this.toolStripButton選択モード.Name = "toolStripButton選択モード";\r
                        this.toolStripButton選択モード.Click += new System.EventHandler(this.toolStripButton選択モード_Click);\r
                        // \r
                        // toolStripButton編集モード\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton編集モード, "toolStripButton編集モード");\r
                        this.toolStripButton編集モード.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton編集モード.Image = global::DTXCreator.Properties.Resources.鉛筆;\r
+                       resources.ApplyResources(this.toolStripButton編集モード, "toolStripButton編集モード");\r
                        this.toolStripButton編集モード.Name = "toolStripButton編集モード";\r
                        this.toolStripButton編集モード.Click += new System.EventHandler(this.toolStripButton編集モード_Click);\r
                        // \r
                        // toolStripSeparator11\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator11, "toolStripSeparator11");\r
                        this.toolStripSeparator11.Name = "toolStripSeparator11";\r
+                       resources.ApplyResources(this.toolStripSeparator11, "toolStripSeparator11");\r
                        // \r
                        // toolStripButton先頭から再生\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton先頭から再生, "toolStripButton先頭から再生");\r
                        this.toolStripButton先頭から再生.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton先頭から再生.Image = global::DTXCreator.Properties.Resources.最初から再生;\r
+                       resources.ApplyResources(this.toolStripButton先頭から再生, "toolStripButton先頭から再生");\r
                        this.toolStripButton先頭から再生.Name = "toolStripButton先頭から再生";\r
                        this.toolStripButton先頭から再生.Click += new System.EventHandler(this.toolStripButton先頭から再生_Click);\r
                        // \r
                        // toolStripButton現在位置から再生\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton現在位置から再生, "toolStripButton現在位置から再生");\r
                        this.toolStripButton現在位置から再生.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton現在位置から再生.Image = global::DTXCreator.Properties.Resources.再生;\r
+                       resources.ApplyResources(this.toolStripButton現在位置から再生, "toolStripButton現在位置から再生");\r
                        this.toolStripButton現在位置から再生.Name = "toolStripButton現在位置から再生";\r
                        this.toolStripButton現在位置から再生.Click += new System.EventHandler(this.toolStripButton現在位置から再生_Click);\r
                        // \r
                        // toolStripButton現在位置からBGMのみ再生\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton現在位置からBGMのみ再生, "toolStripButton現在位置からBGMのみ再生");\r
                        this.toolStripButton現在位置からBGMのみ再生.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton現在位置からBGMのみ再生.Image = global::DTXCreator.Properties.Resources.BGMのみ再生;\r
+                       resources.ApplyResources(this.toolStripButton現在位置からBGMのみ再生, "toolStripButton現在位置からBGMのみ再生");\r
                        this.toolStripButton現在位置からBGMのみ再生.Name = "toolStripButton現在位置からBGMのみ再生";\r
                        this.toolStripButton現在位置からBGMのみ再生.Click += new System.EventHandler(this.toolStripButton現在位置からBGMのみ再生_Click);\r
                        // \r
                        // toolStripButton再生停止\r
                        // \r
-                       resources.ApplyResources(this.toolStripButton再生停止, "toolStripButton再生停止");\r
                        this.toolStripButton再生停止.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
                        this.toolStripButton再生停止.Image = global::DTXCreator.Properties.Resources.再生停止;\r
+                       resources.ApplyResources(this.toolStripButton再生停止, "toolStripButton再生停止");\r
                        this.toolStripButton再生停止.Name = "toolStripButton再生停止";\r
                        this.toolStripButton再生停止.Click += new System.EventHandler(this.toolStripButton再生停止_Click);\r
                        // \r
                        // toolStripComboBox演奏速度\r
                        // \r
-                       resources.ApplyResources(this.toolStripComboBox演奏速度, "toolStripComboBox演奏速度");\r
                        this.toolStripComboBox演奏速度.DropDownHeight = 150;\r
                        this.toolStripComboBox演奏速度.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
                        this.toolStripComboBox演奏速度.DropDownWidth = 35;\r
+                       resources.ApplyResources(this.toolStripComboBox演奏速度, "toolStripComboBox演奏速度");\r
                        this.toolStripComboBox演奏速度.Items.AddRange(new object[] {\r
             resources.GetString("toolStripComboBox演奏速度.Items"),\r
             resources.GetString("toolStripComboBox演奏速度.Items1"),\r
                        // \r
                        // toolStripSeparator12\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator12, "toolStripSeparator12");\r
                        this.toolStripSeparator12.Name = "toolStripSeparator12";\r
+                       resources.ApplyResources(this.toolStripSeparator12, "toolStripSeparator12");\r
                        // \r
                        // vScrollBar譜面用垂直スクロールバー\r
                        // \r
                        this.vScrollBar譜面用垂直スクロールバー.LargeChange = 64;\r
                        this.vScrollBar譜面用垂直スクロールバー.Name = "vScrollBar譜面用垂直スクロールバー";\r
                        this.vScrollBar譜面用垂直スクロールバー.SmallChange = 4;\r
-                       this.toolTipツールチップ.SetToolTip(this.vScrollBar譜面用垂直スクロールバー, resources.GetString("vScrollBar譜面用垂直スクロールバー.ToolTip"));\r
                        this.vScrollBar譜面用垂直スクロールバー.ValueChanged += new System.EventHandler(this.vScrollBar譜面用垂直スクロールバー_ValueChanged);\r
                        // \r
                        // contextMenuStrip譜面右メニュー\r
                        // \r
-                       resources.ApplyResources(this.contextMenuStrip譜面右メニュー, "contextMenuStrip譜面右メニュー");\r
                        this.contextMenuStrip譜面右メニュー.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.toolStripMenuItem選択チップの切り取り,\r
             this.toolStripMenuItem選択チップのコピー,\r
             this.toolStripSeparator18,\r
             this.experimentalFeaturesToolStripMenuItem});\r
                        this.contextMenuStrip譜面右メニュー.Name = "contextMenuStrip譜面右メニュー";\r
-                       this.toolTipツールチップ.SetToolTip(this.contextMenuStrip譜面右メニュー, resources.GetString("contextMenuStrip譜面右メニュー.ToolTip"));\r
+                       resources.ApplyResources(this.contextMenuStrip譜面右メニュー, "contextMenuStrip譜面右メニュー");\r
                        // \r
                        // toolStripMenuItem選択チップの切り取り\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem選択チップの切り取り, "toolStripMenuItem選択チップの切り取り");\r
                        this.toolStripMenuItem選択チップの切り取り.Image = global::DTXCreator.Properties.Resources.切り取り;\r
                        this.toolStripMenuItem選択チップの切り取り.Name = "toolStripMenuItem選択チップの切り取り";\r
+                       resources.ApplyResources(this.toolStripMenuItem選択チップの切り取り, "toolStripMenuItem選択チップの切り取り");\r
                        this.toolStripMenuItem選択チップの切り取り.Click += new System.EventHandler(this.toolStripMenuItem選択チップの切り取り_Click);\r
                        // \r
                        // toolStripMenuItem選択チップのコピー\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem選択チップのコピー, "toolStripMenuItem選択チップのコピー");\r
                        this.toolStripMenuItem選択チップのコピー.Image = global::DTXCreator.Properties.Resources.コピー;\r
                        this.toolStripMenuItem選択チップのコピー.Name = "toolStripMenuItem選択チップのコピー";\r
+                       resources.ApplyResources(this.toolStripMenuItem選択チップのコピー, "toolStripMenuItem選択チップのコピー");\r
                        this.toolStripMenuItem選択チップのコピー.Click += new System.EventHandler(this.toolStripMenuItem選択チップのコピー_Click);\r
                        // \r
                        // toolStripMenuItem選択チップの貼り付け\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem選択チップの貼り付け, "toolStripMenuItem選択チップの貼り付け");\r
                        this.toolStripMenuItem選択チップの貼り付け.Image = global::DTXCreator.Properties.Resources.貼り付け;\r
                        this.toolStripMenuItem選択チップの貼り付け.Name = "toolStripMenuItem選択チップの貼り付け";\r
+                       resources.ApplyResources(this.toolStripMenuItem選択チップの貼り付け, "toolStripMenuItem選択チップの貼り付け");\r
                        this.toolStripMenuItem選択チップの貼り付け.Click += new System.EventHandler(this.toolStripMenuItem選択チップの貼り付け_Click);\r
                        // \r
                        // toolStripMenuItem選択チップの削除\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem選択チップの削除, "toolStripMenuItem選択チップの削除");\r
                        this.toolStripMenuItem選択チップの削除.Image = global::DTXCreator.Properties.Resources.削除;\r
                        this.toolStripMenuItem選択チップの削除.Name = "toolStripMenuItem選択チップの削除";\r
+                       resources.ApplyResources(this.toolStripMenuItem選択チップの削除, "toolStripMenuItem選択チップの削除");\r
                        this.toolStripMenuItem選択チップの削除.Click += new System.EventHandler(this.toolStripMenuItem選択チップの削除_Click);\r
                        // \r
                        // toolStripSeparator15\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator15, "toolStripSeparator15");\r
                        this.toolStripSeparator15.Name = "toolStripSeparator15";\r
+                       resources.ApplyResources(this.toolStripSeparator15, "toolStripSeparator15");\r
                        // \r
                        // toolStripMenuItemすべてのチップの選択\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemすべてのチップの選択, "toolStripMenuItemすべてのチップの選択");\r
                        this.toolStripMenuItemすべてのチップの選択.Name = "toolStripMenuItemすべてのチップの選択";\r
+                       resources.ApplyResources(this.toolStripMenuItemすべてのチップの選択, "toolStripMenuItemすべてのチップの選択");\r
                        this.toolStripMenuItemすべてのチップの選択.Click += new System.EventHandler(this.toolStripMenuItemすべてのチップの選択_Click);\r
                        // \r
                        // toolStripMenuItemレーン内のすべてのチップの選択1\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemレーン内のすべてのチップの選択1, "toolStripMenuItemレーン内のすべてのチップの選択1");\r
                        this.toolStripMenuItemレーン内のすべてのチップの選択1.Name = "toolStripMenuItemレーン内のすべてのチップの選択1";\r
+                       resources.ApplyResources(this.toolStripMenuItemレーン内のすべてのチップの選択1, "toolStripMenuItemレーン内のすべてのチップの選択1");\r
                        this.toolStripMenuItemレーン内のすべてのチップの選択1.Click += new System.EventHandler(this.toolStripMenuItemレーン内のすべてのチップの選択_Click);\r
                        // \r
                        // toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2, "toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2");\r
                        this.toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2.Name = "toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2";\r
+                       resources.ApplyResources(this.toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2, "toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2");\r
                        this.toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2.Click += new System.EventHandler(this.toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降_Click);\r
                        // \r
                        // toolStripMenuItem小節内のすべてのチップの選択\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem小節内のすべてのチップの選択, "toolStripMenuItem小節内のすべてのチップの選択");\r
                        this.toolStripMenuItem小節内のすべてのチップの選択.Name = "toolStripMenuItem小節内のすべてのチップの選択";\r
+                       resources.ApplyResources(this.toolStripMenuItem小節内のすべてのチップの選択, "toolStripMenuItem小節内のすべてのチップの選択");\r
                        this.toolStripMenuItem小節内のすべてのチップの選択.Click += new System.EventHandler(this.toolStripMenuItem小節内のすべてのチップの選択_Click);\r
                        // \r
                        // toolStripSeparator16\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator16, "toolStripSeparator16");\r
                        this.toolStripSeparator16.Name = "toolStripSeparator16";\r
+                       resources.ApplyResources(this.toolStripSeparator16, "toolStripSeparator16");\r
                        // \r
                        // toolStripMenuItem小節長変更\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem小節長変更, "toolStripMenuItem小節長変更");\r
                        this.toolStripMenuItem小節長変更.Name = "toolStripMenuItem小節長変更";\r
+                       resources.ApplyResources(this.toolStripMenuItem小節長変更, "toolStripMenuItem小節長変更");\r
                        this.toolStripMenuItem小節長変更.Click += new System.EventHandler(this.toolStripMenuItem小節長変更_Click);\r
                        // \r
                        // toolStripSeparator17\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator17, "toolStripSeparator17");\r
                        this.toolStripSeparator17.Name = "toolStripSeparator17";\r
+                       resources.ApplyResources(this.toolStripSeparator17, "toolStripSeparator17");\r
                        // \r
                        // toolStripMenuItem小節の挿入\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem小節の挿入, "toolStripMenuItem小節の挿入");\r
                        this.toolStripMenuItem小節の挿入.Name = "toolStripMenuItem小節の挿入";\r
+                       resources.ApplyResources(this.toolStripMenuItem小節の挿入, "toolStripMenuItem小節の挿入");\r
                        this.toolStripMenuItem小節の挿入.Click += new System.EventHandler(this.toolStripMenuItem小節の挿入_Click);\r
                        // \r
                        // toolStripMenuItem小節の削除\r
                        // \r
-                       resources.ApplyResources(this.toolStripMenuItem小節の削除, "toolStripMenuItem小節の削除");\r
                        this.toolStripMenuItem小節の削除.Name = "toolStripMenuItem小節の削除";\r
+                       resources.ApplyResources(this.toolStripMenuItem小節の削除, "toolStripMenuItem小節の削除");\r
                        this.toolStripMenuItem小節の削除.Click += new System.EventHandler(this.toolStripMenuItem小節の削除_Click);\r
                        // \r
                        // toolStripSeparator18\r
                        // \r
-                       resources.ApplyResources(this.toolStripSeparator18, "toolStripSeparator18");\r
                        this.toolStripSeparator18.Name = "toolStripSeparator18";\r
+                       resources.ApplyResources(this.toolStripSeparator18, "toolStripSeparator18");\r
                        // \r
                        // experimentalFeaturesToolStripMenuItem\r
                        // \r
-                       resources.ApplyResources(this.experimentalFeaturesToolStripMenuItem, "experimentalFeaturesToolStripMenuItem");\r
                        this.experimentalFeaturesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
             this.generateBeatChipsToolStripMenuItem,\r
             this.generateBPMFromBeatChipsToolStripMenuItem});\r
                        this.experimentalFeaturesToolStripMenuItem.Name = "experimentalFeaturesToolStripMenuItem";\r
+                       resources.ApplyResources(this.experimentalFeaturesToolStripMenuItem, "experimentalFeaturesToolStripMenuItem");\r
                        // \r
                        // generateBeatChipsToolStripMenuItem\r
                        // \r
-                       resources.ApplyResources(this.generateBeatChipsToolStripMenuItem, "generateBeatChipsToolStripMenuItem");\r
                        this.generateBeatChipsToolStripMenuItem.Name = "generateBeatChipsToolStripMenuItem";\r
+                       resources.ApplyResources(this.generateBeatChipsToolStripMenuItem, "generateBeatChipsToolStripMenuItem");\r
                        this.generateBeatChipsToolStripMenuItem.Click += new System.EventHandler(this.generateBeatChipsToolStripMenuItem_Click);\r
                        // \r
                        // generateBPMFromBeatChipsToolStripMenuItem\r
                        // \r
-                       resources.ApplyResources(this.generateBPMFromBeatChipsToolStripMenuItem, "generateBPMFromBeatChipsToolStripMenuItem");\r
                        this.generateBPMFromBeatChipsToolStripMenuItem.Name = "generateBPMFromBeatChipsToolStripMenuItem";\r
+                       resources.ApplyResources(this.generateBPMFromBeatChipsToolStripMenuItem, "generateBPMFromBeatChipsToolStripMenuItem");\r
                        this.generateBPMFromBeatChipsToolStripMenuItem.Click += new System.EventHandler(this.generateBPMFromBeatChipsToolStripMenuItem_Click);\r
                        // \r
                        // Cメインフォーム\r
                        // \r
-                       resources.ApplyResources(this, "$this");\r
                        this.AllowDrop = true;\r
+                       resources.ApplyResources(this, "$this");\r
                        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
                        this.Controls.Add(this.splitContainerタブと譜面を分割);\r
                        this.Controls.Add(this.vScrollBar譜面用垂直スクロールバー);\r
                        this.Controls.Add(this.menuStripメニューバー);\r
                        this.MainMenuStrip = this.menuStripメニューバー;\r
                        this.Name = "Cメインフォーム";\r
-                       this.toolTipツールチップ.SetToolTip(this, resources.GetString("$this.ToolTip"));\r
                        this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Cメインフォーム_FormClosing);\r
                        this.Load += new System.EventHandler(this.Cメインフォーム_Load);\r
                        this.DragDrop += new System.Windows.Forms.DragEventHandler(this.Cメインフォーム_DragDrop);\r
                private System.Windows.Forms.ToolStripMenuItem generateBeatChipsToolStripMenuItem;\r
                private System.Windows.Forms.ToolStripMenuItem generateBPMFromBeatChipsToolStripMenuItem;\r
                internal System.Windows.Forms.CheckBox check556x710BGAAVI;\r
+               private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem難易度自動計算;\r
        }\r
 }
\ No newline at end of file
index 5a91359..22f2fe2 100644 (file)
@@ -5741,6 +5741,22 @@ if ( (string)mo[ "ExecutablePath" ] == processname )
                        return target;\r
                }\r
 \r
+               private void calcDifficultyToolStripMenuItem_Click(object sender, EventArgs e)\r
+               {\r
+                       DTXCreator.コード._05.譜面.C難易度自動計算マン f = new コード._05.譜面.C難易度自動計算マン(this);\r
+\r
+      Cメッセージポップアップ pop = new Cメッセージポップアップ(Resources.str難易度計算マン計算中);\r
+      pop.Owner = this;\r
+      pop.Show();\r
+      pop.Refresh();\r
+\r
+                       f.Prepare();\r
+      hScrollBarDLEVEL.Value = f.DLevel;\r
+                       hScrollBarGLEVEL.Value = f.GLevel;\r
+                       hScrollBarBLEVEL.Value = f.BLevel;\r
+      pop.Close();\r
+               }\r
+\r
                //-----------------\r
                #endregion\r
 \r
index bb3661d..9847ff7 100644 (file)
   <data name="label曲名.Text" xml:space="preserve">\r
     <value>曲名</value>\r
   </data>\r
+  <data name="toolStripMenuItem難易度自動計算.Text" xml:space="preserve">\r
+    <value>難易度自動計算マンによる査定</value>\r
+  </data>\r
   <data name="label曲名.ToolTip" xml:space="preserve">\r
     <value>演奏データのタイトルを設定します。</value>\r
   </data>\r
index 343bbe2..52bc442 100644 (file)
@@ -1933,7 +1933,7 @@ The image size is 204x269.</value>
     <value>Ctrl+N</value>\r
   </data>\r
   <data name="toolStripMenuItem新規.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>163, 22</value>\r
+    <value>154, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem新規.Text" xml:space="preserve">\r
     <value>&amp;New</value>\r
@@ -1942,7 +1942,7 @@ The image size is 204x269.</value>
     <value>Ctrl+O</value>\r
   </data>\r
   <data name="toolStripMenuItem開く.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>163, 22</value>\r
+    <value>154, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem開く.Text" xml:space="preserve">\r
     <value>&amp;Open...</value>\r
@@ -1951,28 +1951,28 @@ The image size is 204x269.</value>
     <value>Ctrl+S</value>\r
   </data>\r
   <data name="toolStripMenuItem上書き保存.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>163, 22</value>\r
+    <value>154, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem上書き保存.Text" xml:space="preserve">\r
     <value>&amp;Save</value>\r
   </data>\r
   <data name="toolStripMenuItem名前を付けて保存.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>163, 22</value>\r
+    <value>154, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem名前を付けて保存.Text" xml:space="preserve">\r
     <value>Save &amp;As ...</value>\r
   </data>\r
   <data name="toolStripSeparator1.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>160, 6</value>\r
+    <value>151, 6</value>\r
   </data>\r
   <data name="toolStripMenuItem終了.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>163, 22</value>\r
+    <value>154, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem終了.Text" xml:space="preserve">\r
     <value>E&amp;xit</value>\r
   </data>\r
   <data name="toolStripMenuItemファイル.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>39, 20</value>\r
+    <value>37, 20</value>\r
   </data>\r
   <data name="toolStripMenuItemファイル.Text" xml:space="preserve">\r
     <value>&amp;File</value>\r
@@ -1981,7 +1981,7 @@ The image size is 204x269.</value>
     <value>Ctrl+Z</value>\r
   </data>\r
   <data name="toolStripMenuItemアンドゥ.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemアンドゥ.Text" xml:space="preserve">\r
     <value>&amp;Undo</value>\r
@@ -1990,13 +1990,13 @@ The image size is 204x269.</value>
     <value>Ctrl+Y</value>\r
   </data>\r
   <data name="toolStripMenuItemリドゥ.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemリドゥ.Text" xml:space="preserve">\r
     <value>&amp;Redo</value>\r
   </data>\r
   <data name="toolStripSeparator2.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>182, 6</value>\r
+    <value>171, 6</value>\r
   </data>\r
   <data name="toolStripMenuItem切り取り.Enabled" type="System.Boolean, mscorlib">\r
     <value>False</value>\r
@@ -2005,7 +2005,7 @@ The image size is 204x269.</value>
     <value>Ctrl+X</value>\r
   </data>\r
   <data name="toolStripMenuItem切り取り.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem切り取り.Text" xml:space="preserve">\r
     <value>Cu&amp;t</value>\r
@@ -2017,7 +2017,7 @@ The image size is 204x269.</value>
     <value>Ctrl+C</value>\r
   </data>\r
   <data name="toolStripMenuItemコピー.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemコピー.Text" xml:space="preserve">\r
     <value>&amp;Copy</value>\r
@@ -2029,7 +2029,7 @@ The image size is 204x269.</value>
     <value>Ctrl+V</value>\r
   </data>\r
   <data name="toolStripMenuItem貼り付け.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem貼り付け.Text" xml:space="preserve">\r
     <value>&amp;Paste</value>\r
@@ -2041,34 +2041,34 @@ The image size is 204x269.</value>
     <value>Del</value>\r
   </data>\r
   <data name="toolStripMenuItem削除.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem削除.Text" xml:space="preserve">\r
     <value>&amp;Delete</value>\r
   </data>\r
   <data name="toolStripSeparator3.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>182, 6</value>\r
+    <value>171, 6</value>\r
   </data>\r
   <data name="toolStripMenuItemすべて選択.ShortcutKeys" type="System.Windows.Forms.Keys, System.Windows.Forms">\r
     <value>Ctrl+A</value>\r
   </data>\r
   <data name="toolStripMenuItemすべて選択.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemすべて選択.Text" xml:space="preserve">\r
     <value>Select &amp;All</value>\r
   </data>\r
   <data name="toolStripSeparator4.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>182, 6</value>\r
+    <value>171, 6</value>\r
   </data>\r
   <data name="toolStripMenuItem選択モード.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem選択モード.Text" xml:space="preserve">\r
     <value>&amp;Select mode</value>\r
   </data>\r
   <data name="toolStripMenuItem編集モード.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem編集モード.Text" xml:space="preserve">\r
     <value>&amp;Edit mode</value>\r
@@ -2077,19 +2077,19 @@ The image size is 204x269.</value>
     <value>F8</value>\r
   </data>\r
   <data name="toolStripMenuItemモード切替.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemモード切替.Text" xml:space="preserve">\r
     <value>Switch &amp;Mode</value>\r
   </data>\r
   <data name="toolStripSeparator5.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>182, 6</value>\r
+    <value>171, 6</value>\r
   </data>\r
   <data name="toolStripMenuItem検索.ShortcutKeys" type="System.Windows.Forms.Keys, System.Windows.Forms">\r
     <value>Ctrl+F</value>\r
   </data>\r
   <data name="toolStripMenuItem検索.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem検索.Text" xml:space="preserve">\r
     <value>&amp;Find...</value>\r
@@ -2098,13 +2098,19 @@ The image size is 204x269.</value>
     <value>Ctrl+H</value>\r
   </data>\r
   <data name="toolStripMenuItem置換.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>185, 22</value>\r
+    <value>174, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem置換.Text" xml:space="preserve">\r
     <value>Replace(&amp;Q)</value>\r
   </data>\r
+  <data name="toolStripMenuItem難易度自動計算.Size" type="System.Drawing.Size, System.Drawing">\r
+    <value>174, 22</value>\r
+  </data>\r
+  <data name="toolStripMenuItem難易度自動計算.Text" xml:space="preserve">\r
+    <value>Estimate Difficulty</value>\r
+  </data>\r
   <data name="toolStripMenuItem編集.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>41, 20</value>\r
+    <value>39, 20</value>\r
   </data>\r
   <data name="toolStripMenuItem編集.Text" xml:space="preserve">\r
     <value>&amp;Edit</value>\r
@@ -2116,67 +2122,67 @@ The image size is 204x269.</value>
     <value>Chip &amp;palette</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔4分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔4分.Text" xml:space="preserve">\r
     <value>1/&amp;4</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔8分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔8分.Text" xml:space="preserve">\r
     <value>1/&amp;8</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔12分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔12分.Text" xml:space="preserve">\r
     <value>1/1&amp;2</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔16分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔16分.Text" xml:space="preserve">\r
     <value>1/1&amp;6</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔24分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔24分.Text" xml:space="preserve">\r
     <value>1/24</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔32分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔32分.Text" xml:space="preserve">\r
     <value>1/&amp;32</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔48分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔48分.Text" xml:space="preserve">\r
     <value>1/48</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔64分.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔64分.Text" xml:space="preserve">\r
     <value>1/64</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔フリー.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔フリー.Text" xml:space="preserve">\r
     <value>&amp;Free</value>\r
   </data>\r
   <data name="toolStripSeparator6.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>135, 6</value>\r
+    <value>129, 6</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔拡大.ShortcutKeys" type="System.Windows.Forms.Keys, System.Windows.Forms">\r
     <value>F3</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔拡大.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔拡大.Text" xml:space="preserve">\r
     <value>&amp;Wide</value>\r
@@ -2185,7 +2191,7 @@ The image size is 204x269.</value>
     <value>F4</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔縮小.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>138, 22</value>\r
+    <value>132, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemガイド間隔縮小.Text" xml:space="preserve">\r
     <value>&amp;Narrow</value>\r
@@ -2197,7 +2203,7 @@ The image size is 204x269.</value>
     <value>&amp;Guide margin</value>\r
   </data>\r
   <data name="toolStripMenuItem表示.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>47, 20</value>\r
+    <value>44, 20</value>\r
   </data>\r
   <data name="toolStripMenuItem表示.Text" xml:space="preserve">\r
     <value>&amp;View</value>\r
@@ -2206,7 +2212,7 @@ The image size is 204x269.</value>
     <value>F5</value>\r
   </data>\r
   <data name="toolStripMenuItem先頭から再生.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>235, 22</value>\r
+    <value>218, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem先頭から再生.Text" xml:space="preserve">\r
     <value>Play from &amp;top</value>\r
@@ -2215,13 +2221,13 @@ The image size is 204x269.</value>
     <value>F6</value>\r
   </data>\r
   <data name="toolStripMenuItem現在位置から再生.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>235, 22</value>\r
+    <value>218, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem現在位置から再生.Text" xml:space="preserve">\r
     <value>&amp;Play from current part</value>\r
   </data>\r
   <data name="toolStripMenuItem現在位置からBGMのみ再生.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>235, 22</value>\r
+    <value>218, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem現在位置からBGMのみ再生.Text" xml:space="preserve">\r
     <value>Play &amp;BGM from current part</value>\r
@@ -2230,25 +2236,25 @@ The image size is 204x269.</value>
     <value>F7</value>\r
   </data>\r
   <data name="toolStripMenuItem再生停止.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>235, 22</value>\r
+    <value>218, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem再生停止.Text" xml:space="preserve">\r
     <value>&amp;Stop</value>\r
   </data>\r
   <data name="toolStripMenuItem再生.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>43, 20</value>\r
+    <value>41, 20</value>\r
   </data>\r
   <data name="toolStripMenuItem再生.Text" xml:space="preserve">\r
     <value>&amp;Play</value>\r
   </data>\r
   <data name="toolStripMenuItemオプション.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>112, 22</value>\r
+    <value>111, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemオプション.Text" xml:space="preserve">\r
     <value>&amp;Option</value>\r
   </data>\r
   <data name="toolStripMenuItemツール.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>43, 20</value>\r
+    <value>41, 20</value>\r
   </data>\r
   <data name="toolStripMenuItemツール.Text" xml:space="preserve">\r
     <value>&amp;Tool</value>\r
@@ -2257,19 +2263,19 @@ The image size is 204x269.</value>
     <value>F1</value>\r
   </data>\r
   <data name="toolStripMenuItemDTXCreaterマニュアル.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>209, 22</value>\r
+    <value>195, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemDTXCreaterマニュアル.Text" xml:space="preserve">\r
     <value>DTXCreator &amp;Manual</value>\r
   </data>\r
   <data name="toolStripMenuItemバージョン.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>209, 22</value>\r
+    <value>195, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemバージョン.Text" xml:space="preserve">\r
     <value>&amp;Version</value>\r
   </data>\r
   <data name="toolStripMenuItemヘルプ.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>45, 20</value>\r
+    <value>44, 20</value>\r
   </data>\r
   <data name="toolStripMenuItemヘルプ.Text" xml:space="preserve">\r
     <value>&amp;Help</value>\r
@@ -2705,97 +2711,97 @@ The image size is 204x269.</value>
     <value>203, 39</value>\r
   </metadata>\r
   <data name="toolStripMenuItem選択チップの切り取り.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem選択チップの切り取り.Text" xml:space="preserve">\r
     <value>Cu&amp;t selected chip(s)</value>\r
   </data>\r
   <data name="toolStripMenuItem選択チップのコピー.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem選択チップのコピー.Text" xml:space="preserve">\r
     <value>&amp;Copy selected chip(s)</value>\r
   </data>\r
   <data name="toolStripMenuItem選択チップの貼り付け.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem選択チップの貼り付け.Text" xml:space="preserve">\r
     <value>&amp;Paste chip(s)</value>\r
   </data>\r
   <data name="toolStripMenuItem選択チップの削除.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem選択チップの削除.Text" xml:space="preserve">\r
     <value>&amp;Delete selected chip(s)</value>\r
   </data>\r
   <data name="toolStripSeparator15.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>215, 6</value>\r
+    <value>195, 6</value>\r
   </data>\r
   <data name="toolStripMenuItemすべてのチップの選択.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemすべてのチップの選択.Text" xml:space="preserve">\r
     <value>Select &amp;All</value>\r
   </data>\r
   <data name="toolStripMenuItemレーン内のすべてのチップの選択1.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItemレーン内のすべてのチップの選択_特定小節以降2.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem小節内のすべてのチップの選択.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem小節内のすべてのチップの選択.Text" xml:space="preserve">\r
     <value>Select all in the pa&amp;rt []</value>\r
   </data>\r
   <data name="toolStripSeparator16.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>215, 6</value>\r
+    <value>195, 6</value>\r
   </data>\r
   <data name="toolStripMenuItem小節長変更.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem小節長変更.Text" xml:space="preserve">\r
     <value>Change part length(&amp;B)</value>\r
   </data>\r
   <data name="toolStripSeparator17.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>215, 6</value>\r
+    <value>195, 6</value>\r
   </data>\r
   <data name="toolStripMenuItem小節の挿入.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem小節の挿入.Text" xml:space="preserve">\r
     <value>&amp;Insert part</value>\r
   </data>\r
   <data name="toolStripMenuItem小節の削除.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="toolStripMenuItem小節の削除.Text" xml:space="preserve">\r
     <value>D&amp;elete part</value>\r
   </data>\r
   <data name="toolStripSeparator18.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>215, 6</value>\r
+    <value>195, 6</value>\r
   </data>\r
   <data name="generateBeatChipsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>253, 22</value>\r
+    <value>234, 22</value>\r
   </data>\r
   <data name="generateBeatChipsToolStripMenuItem.Text" xml:space="preserve">\r
     <value>Generate &amp;Beat chips</value>\r
   </data>\r
   <data name="generateBPMFromBeatChipsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>253, 22</value>\r
+    <value>234, 22</value>\r
   </data>\r
   <data name="generateBPMFromBeatChipsToolStripMenuItem.Text" xml:space="preserve">\r
     <value>Generate &amp;BPM from Beat chips</value>\r
   </data>\r
   <data name="experimentalFeaturesToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>218, 22</value>\r
+    <value>198, 22</value>\r
   </data>\r
   <data name="experimentalFeaturesToolStripMenuItem.Text" xml:space="preserve">\r
     <value>E&amp;xperimental Features...</value>\r
   </data>\r
   <data name="contextMenuStrip譜面右メニュー.Size" type="System.Drawing.Size, System.Drawing">\r
-    <value>219, 292</value>\r
+    <value>199, 292</value>\r
   </data>\r
   <data name="&gt;&gt;contextMenuStrip譜面右メニュー.Name" xml:space="preserve">\r
     <value>contextMenuStrip譜面右メニュー</value>\r
@@ -2807,7 +2813,7 @@ The image size is 204x269.</value>
     <value>True</value>\r
   </metadata>\r
   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">\r
-    <value>103</value>\r
+    <value>108</value>\r
   </metadata>\r
   <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">\r
     <value>6, 12</value>\r
@@ -3534,6 +3540,12 @@ The image size is 204x269.</value>
   <data name="&gt;&gt;toolStripMenuItem置換.Type" xml:space="preserve">\r
     <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
   </data>\r
+  <data name="&gt;&gt;toolStripMenuItem難易度自動計算.Name" xml:space="preserve">\r
+    <value>toolStripMenuItem難易度自動計算</value>\r
+  </data>\r
+  <data name="&gt;&gt;toolStripMenuItem難易度自動計算.Type" xml:space="preserve">\r
+    <value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </data>\r
   <data name="&gt;&gt;toolStripMenuItem表示.Name" xml:space="preserve">\r
     <value>toolStripMenuItem表示</value>\r
   </data>\r
index 080f336..f947b57 100644 (file)
@@ -739,6 +739,26 @@ namespace DTXCreator.譜面
                        }\r
                }\r
 \r
+               // チップのプロパティにすべきだが譜面管理者必要なため\r
+               public bool IsDrumsChip(Cチップ chip)\r
+               {\r
+                       return chip.nレーン番号0to >= nレーン名に対応するレーン番号を返す("LC") && chip.nレーン番号0to <= nレーン名に対応するレーン番号を返す("CY");\r
+               }\r
+\r
+               public bool IsGuitarChip(Cチップ chip)\r
+               {\r
+                       return chip.nレーン番号0to >= nレーン名に対応するレーン番号を返す("GtV") && chip.nレーン番号0to <= nレーン名に対応するレーン番号を返す("GtB");\r
+               }\r
+\r
+               public bool IsBassChip(Cチップ chip)\r
+               {\r
+                       return chip.nレーン番号0to >= nレーン名に対応するレーン番号を返す("BsV") && chip.nレーン番号0to <= nレーン名に対応するレーン番号を返す("BsB");\r
+               }\r
+\r
+               public bool IsPlayableChip(Cチップ chip)\r
+               {\r
+                       return IsDrumsChip(chip) || IsBassChip(chip) || IsGuitarChip(chip);\r
+               }\r
 \r
                #region [ private ]\r
                //-----------------\r
@@ -1060,5 +1080,7 @@ namespace DTXCreator.譜面
                }\r
                //-----------------\r
                #endregion\r
+\r
+               \r
        }\r
 }\r
diff --git a/DTXCreatorプロジェクト/コード/05.譜面/C難易度自動計算マン.cs b/DTXCreatorプロジェクト/コード/05.譜面/C難易度自動計算マン.cs
new file mode 100644 (file)
index 0000000..c8ba767
--- /dev/null
@@ -0,0 +1,351 @@
+using System;\r
+using System.Collections.Generic;\r
+using System.Linq;\r
+using System.Text;\r
+using System.Threading.Tasks;\r
+using DTXCreator.譜面;\r
+\r
+namespace DTXCreator.コード._05.譜面\r
+{\r
+  /// <summary>\r
+  /// 20160216 chnmr0 難易度自動計算を行うためのクラス\r
+  /// \r
+  /// </summary>\r
+  internal class C難易度自動計算マン\r
+  {\r
+    C譜面管理 scoreManager;\r
+    SortedDictionary<int, CPlayState> Drums;\r
+    SortedDictionary<int, CPlayState> Guitar;\r
+    SortedDictionary<int, CPlayState> Bass;\r
+\r
+    public static int GtV; // 譜面管理者必要なため\r
+    public static int BsV;\r
+\r
+    decimal currentBpm;\r
+\r
+    static readonly decimal[] Coefs = new decimal[4] { 0.5m, 1m, 1.1m, 1.2m };\r
+    static readonly int[,] GtQCoefs = new int[4, 4] \r
+        { // v new Release -> newPress \r
+          {0, 2, 2, 1},\r
+          {2, 2, 3, 0},\r
+          {2, 3, 0, 0},\r
+          {1, 0, 0, 0} \r
+        };\r
+    static readonly int[] LvBase = new int[6] { 1, 10, 30, 50, 70, 90 };\r
+\r
+    internal class CPlayState\r
+    {\r
+      List<Cチップ> state;\r
+\r
+      public CPlayState()\r
+      {\r
+        state = new List<Cチップ>();\r
+      }\r
+\r
+      public void AddChip(Cチップ t)\r
+      {\r
+        // 重複しない前提\r
+        state.Add(t);\r
+      }\r
+\r
+      public int Count\r
+      {\r
+        get\r
+        {\r
+          return state.Count;\r
+        }\r
+      }\r
+\r
+      public Cチップ this[int index]\r
+      {\r
+        get\r
+        {\r
+          return state[index];\r
+        }\r
+      }\r
+\r
+      public IEnumerable<Cチップ> State\r
+      {\r
+        get\r
+        {\r
+          return state;\r
+        }\r
+      }\r
+\r
+      /// <summary>\r
+      /// 次の状態で演奏状態が変わる(叩かれる→叩かれない,押されてる→離されるなど)レーンの数\r
+      /// </summary>\r
+      /// <param name="next">次の演奏状態</param>\r
+      /// <param name="chipConv">チップコンバータ。チップがアサインされるレーンを示す IEnumerable へ変換する。\r
+      /// ここでのレーンはみかけのレーンではなく、ドラムはチャンネルと同質。ギターチップ変換のために IEnumerable にしたが、現仕様では不要。</param>\r
+      /// <returns>遷移結果。1が新たに演奏される(叩かれる/押される)。0が状態が変わらない。-1は1の反対。</returns>\r
+      private int[] TransitionDifference(CPlayState next, Converter<Cチップ, IEnumerable<int>> chipConv)\r
+      {\r
+        Converter<CPlayState, int[]> stateConv = (playState) =>\r
+        {\r
+          int[] Q = new int[0xff];\r
+          foreach (var chip in playState.State)\r
+          {\r
+            foreach (var laneIdentity in chipConv(chip))\r
+            {\r
+              Q[laneIdentity]++;\r
+            }\r
+          }\r
+          return Q;\r
+        };\r
+\r
+        int[] Q1 = stateConv(this);\r
+        int[] Q2 = stateConv(next);\r
+\r
+        foreach (var x in Q1.Select((t, index) => { return new { t, index }; }))\r
+        {\r
+          Q1[x.index] = Q2[x.index] - Q1[x.index];\r
+        }\r
+        return Q1;\r
+      }\r
+\r
+      public int TransitionCost(int inst, int ms, CPlayState next)\r
+      {\r
+        int ret = 0;\r
+\r
+        if (inst == 0) // Drums\r
+        {\r
+          ret = TransitionDifference(next, (chip) =>\r
+          {\r
+            List<int> a = new List<int>();\r
+\r
+            if (chip.nチャンネル番号00toFF != 0x13)\r
+            {\r
+              a.Add(chip.nチャンネル番号00toFF);\r
+            }\r
+            return a;\r
+          }).Sum((t) => { return t > 0 ? t : -t; }); // スティックで演奏する楽器のうち演奏状態が変わる楽器の数の半分(以下同様)\r
+          ret += TransitionDifference(next, (chip) =>\r
+          {\r
+            List<int> a = new List<int>();\r
+\r
+            if (chip.nチャンネル番号00toFF == 0x13)\r
+            {\r
+              a.Add(chip.nチャンネル番号00toFF);\r
+            }\r
+            return a;\r
+          }).Sum((t) => { return t > 0 ? t : -t; });\r
+        }\r
+        else if (inst != 0) // Guitars\r
+        {\r
+          int[] Q = TransitionDifference(next, (chip) =>\r
+          {\r
+            List<int> a = new List<int>();\r
+\r
+            if (chip.nレーン番号0to == C難易度自動計算マン.GtV || chip.nレーン番号0to == C難易度自動計算マン.BsV)\r
+            {\r
+            }\r
+            else\r
+            {\r
+              a.Add(chip.nレーン番号0to);\r
+            }\r
+            return a;\r
+          });\r
+\r
+          int newPress = Q.Sum((t) => { return t > 0 ? t : 0; });\r
+          int newRelease = Q.Sum((t) => { return t < 0 ? -t : 0; });\r
+\r
+          ret = GtQCoefs[newRelease, newPress];\r
+        }\r
+\r
+        return ret;\r
+      }\r
+    }\r
+\r
+    public C難易度自動計算マン(Cメインフォーム x)\r
+    {\r
+      scoreManager = x.mgr譜面管理者;\r
+      currentBpm = x.dc現在のBPM;\r
+\r
+      GtV = scoreManager.nレーン名に対応するレーン番号を返す("GtV");\r
+      BsV = scoreManager.nレーン名に対応するレーン番号を返す("BsV");\r
+    }\r
+\r
+    public void Prepare()\r
+    {\r
+      // 時間ごとに楽器の演奏状態を求める。\r
+      Drums = new SortedDictionary<int, CPlayState>();\r
+      Guitar = new SortedDictionary<int, CPlayState>();\r
+      Bass = new SortedDictionary<int, CPlayState>();\r
+\r
+      foreach (var pair in scoreManager.dic小節)\r
+      {\r
+        pair.Value.listチップ.Sort();\r
+      }\r
+\r
+      decimal currentTime = 0;\r
+\r
+      foreach (var pair in scoreManager.dic小節)\r
+      {\r
+        int lastGridInThisPhrase = 0;\r
+\r
+        foreach (Cチップ chip in pair.Value.listチップ)\r
+        {\r
+          currentTime += (chip.n位置grid - lastGridInThisPhrase) * (60m / (48m * currentBpm));\r
+          lastGridInThisPhrase = chip.n位置grid;\r
+\r
+          if (scoreManager.IsPlayableChip(chip))\r
+          {\r
+            int ms = (int)(currentTime * 1000);\r
+\r
+            if (scoreManager.IsDrumsChip(chip))\r
+            {\r
+              if (!Drums.ContainsKey(ms))\r
+              {\r
+                Drums.Add(ms, new CPlayState());\r
+              }\r
+              Drums[ms].AddChip(chip);\r
+            }\r
+            else if (scoreManager.IsGuitarChip(chip))\r
+            {\r
+              if (!Guitar.ContainsKey(ms))\r
+              {\r
+                Guitar.Add(ms, new CPlayState());\r
+              }\r
+              Guitar[ms].AddChip(chip);\r
+            }\r
+            else if (scoreManager.IsBassChip(chip))\r
+            {\r
+              if (!Bass.ContainsKey(ms))\r
+              {\r
+                Bass.Add(ms, new CPlayState());\r
+              }\r
+              Bass[ms].AddChip(chip);\r
+            }\r
+          }\r
+          else\r
+          {\r
+            if (chip.nチャンネル番号00toFF == 0x8)\r
+            {\r
+              currentBpm = (decimal)chip.f値_浮動小数;\r
+            }\r
+          }\r
+        }\r
+        currentTime += (pair.Value.n小節長倍率を考慮した現在の小節の高さgrid - lastGridInThisPhrase) * (60m / (48m * currentBpm));\r
+      }\r
+\r
+      /* debug\r
+       * part -1 のズレがあるので DTXM での再生時間とはすこし違う\r
+       */\r
+      using (System.IO.StringWriter sw = new System.IO.StringWriter())\r
+      {\r
+        foreach (var t in Guitar)\r
+        {\r
+          sw.Write(t.Key + "ms");\r
+          foreach (var c in t.Value.State)\r
+          {\r
+            sw.Write(c.nレーン番号0to + ",");\r
+          }\r
+          sw.WriteLine();\r
+        }\r
+        System.Diagnostics.Debug.WriteLine(sw.ToString());\r
+      }\r
+\r
+    }\r
+\r
+    public int DLevel\r
+    {\r
+      get\r
+      {\r
+        return CalculateLevel(0, Drums);\r
+      }\r
+    }\r
+\r
+    public int GLevel\r
+    {\r
+      get\r
+      {\r
+        return CalculateLevel(1, Guitar);\r
+      }\r
+    }\r
+\r
+    public int BLevel\r
+    {\r
+      get\r
+      {\r
+        return CalculateLevel(1, Bass);\r
+      }\r
+    }\r
+\r
+\r
+\r
+    private int CalculateLevel(int inst, SortedDictionary<int, CPlayState> list)\r
+    {\r
+      int ret = 0;\r
+\r
+      if (list.Count > 0)\r
+      {\r
+        int startMs = list.First().Key;\r
+        int endMs = list.Last().Key;\r
+        int prevms = list.First().Key;\r
+        CPlayState prev = list.First().Value;\r
+\r
+        int totalCost = 0;\r
+\r
+        foreach (var x in list.Select((t, index) => { return new { t, index }; }))\r
+        {\r
+          int idx = x.index;\r
+          int ms = x.t.Key;\r
+          CPlayState state = x.t.Value;\r
+\r
+          if (idx == 0)\r
+          {\r
+            continue;\r
+          }\r
+\r
+          // 遷移難度\r
+          int cost = prev.TransitionCost(inst, ms - prevms, state);\r
+          prevms = ms;\r
+          prev = state;\r
+\r
+          totalCost += cost;\r
+        }\r
+\r
+        if (endMs == startMs)\r
+        {\r
+          endMs = startMs + 1;\r
+        }\r
+        // 1秒間あたりの遷移コスト\r
+        // 1秒間に 14 回をドラムの最大難易度とする\r
+        // 1秒間に 7 回を3弦の最大難易度とする\r
+        decimal lvBase = 1000 * (decimal)totalCost / (endMs - startMs);\r
+        System.Diagnostics.Debug.WriteLine(lvBase);\r
+        decimal lvMax = 14;\r
+\r
+        if (lvBase < 1)\r
+        {\r
+          lvBase = 1;\r
+        }\r
+\r
+        if (inst != 0)\r
+        {\r
+          lvMax = 7;\r
+        }\r
+\r
+        if (lvBase > lvMax)\r
+        {\r
+          lvBase = lvMax;\r
+        }\r
+\r
+        ret = (int)(99m * (lvBase - 1) / (lvMax - 1));\r
+        if (ret < 1)\r
+        {\r
+          ret = 1;\r
+        }\r
+        else if (ret > 99)\r
+        {\r
+          ret = 99;\r
+        }\r
+      }\r
+\r
+\r
+\r
+      return ret;\r
+    }\r
+  }\r
+}\r