マスタエディタ:SRLのみを作成するときに上書き確認を追加。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2593 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
nishikawa_takeshi 2008-10-07 07:53:11 +00:00
parent 6c5f2b9f66
commit 903a222c07
4 changed files with 15 additions and 0 deletions

View File

@ -3912,6 +3912,21 @@ private: System::Windows::Forms::CheckBox^ cboxIsPhotoEx;
filename = dlg->SelectedPath + filename;
}
}
if( System::IO::File::Exists( filename ) )
{
System::String ^msg;
if( this->stripItemJapanese->Checked )
msg = gcnew System::String( filename + "はすでに存在します。上書きしますか?" );
else
msg = gcnew System::String( filename + "already exists. Overwrite it?" );
if( MessageBox::Show( msg, "Information", MessageBoxButtons::YesNo, MessageBoxIcon::None )
== System::Windows::Forms::DialogResult::No )
{
this->errMsg( "マスターROMの作成をキャンセルしました。",
"Making a master ROM is canceled." );
return;
}
}
}
try
{