@@ -11,7 +11,7 @@ | ||
11 | 11 | [assembly: AssemblyConfiguration( "" )] |
12 | 12 | [assembly: AssemblyCompany( "" )] |
13 | 13 | [assembly: AssemblyProduct( "DTXCreator" )] |
14 | -[assembly: AssemblyCopyright( "Copyright (C) 2000 2014 DTXMania Group" )] | |
14 | +[assembly: AssemblyCopyright( "Copyright (C) 2000 2016 DTXMania Group" )] | |
15 | 15 | [assembly: AssemblyTrademark( "" )] |
16 | 16 | [assembly: AssemblyCulture( "" )] |
17 | 17 |
@@ -33,6 +33,6 @@ | ||
33 | 33 | // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を |
34 | 34 | // 既定値にすることができます: |
35 | 35 | // [assembly: AssemblyVersion("1.0.*")] |
36 | -[assembly: AssemblyVersion( "26.0.0.0" )] | |
37 | -[assembly: AssemblyFileVersion( "26.0.0.0" )] | |
36 | +[assembly: AssemblyVersion( "26.0.0.1" )] | |
37 | +[assembly: AssemblyFileVersion( "26.0.0.1" )] | |
38 | 38 | [assembly: NeutralResourcesLanguageAttribute("")] |
@@ -304,6 +304,14 @@ | ||
304 | 304 | |
305 | 305 | #region [ ウィンドウの位置とサイズ ] |
306 | 306 | //----------------- |
307 | + #region [ ウインドウが画面外に表示されようとしている場合は、左上にウインドウを強制的に移動する ] | |
308 | + int h = System.Windows.Forms.Screen.GetBounds( this ).Height; | |
309 | + int w = System.Windows.Forms.Screen.GetBounds( this ).Width; | |
310 | + if ( this.appアプリ設定.X > w || this.appアプリ設定.Y > h ) | |
311 | + { | |
312 | + this.appアプリ設定.X = this.appアプリ設定.Y = 0; | |
313 | + } | |
314 | + #endregion | |
307 | 315 | this.SetDesktopBounds( this.appアプリ設定.X, this.appアプリ設定.Y, this.appアプリ設定.Width, this.appアプリ設定.Height ); |
308 | 316 | //----------------- |
309 | 317 | #endregion |
@@ -2154,13 +2162,13 @@ | ||
2154 | 2162 | { |
2155 | 2163 | // 例外が発生したので相対パスとみなし、絶対パスに直す。 |
2156 | 2164 | |
2157 | - strファイルの絶対パス = this.str作業フォルダ名 + strファイル; | |
2165 | + strファイルの絶対パス = Path.Combine( this.str作業フォルダ名, strファイル ); | |
2158 | 2166 | } |
2159 | 2167 | |
2160 | 2168 | // 正規化する。(\a\b\c\..\d を \a\b\d にする) |
2161 | 2169 | |
2162 | -// FileInfo fi = new FileInfo( strファイルの絶対パス ); | |
2163 | -//\ strファイルの絶対パス = fi.FullName; | |
2170 | + FileInfo fi = new FileInfo( strファイルの絶対パス ); | |
2171 | + strファイルの絶対パス = fi.FullName; | |
2164 | 2172 | |
2165 | 2173 | return strファイルの絶対パス; |
2166 | 2174 | } |