mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:提出方法がInternetのとき一時情報の保存が正確にできなくなる問題を修正。ミドルウェアリストのみの保存でも成功メッセージを出すようにした。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@218 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
ff0b486e9f
commit
9ffd3822c4
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4941,6 +4941,7 @@ private: System::Windows::Forms::RadioButton^ rSubmitInternet;
|
||||
{
|
||||
this->errMsg( "E_MWList_Default" );
|
||||
}
|
||||
this->sucMsg( "MWList_Success" );
|
||||
} //stripItemMiddlewareXml_Click()
|
||||
|
||||
private:
|
||||
@ -4961,6 +4962,7 @@ private: System::Windows::Forms::RadioButton^ rSubmitInternet;
|
||||
{
|
||||
this->errMsg( "E_MWList_Default" );
|
||||
}
|
||||
this->sucMsg( "MWList_Success" );
|
||||
} //stripItemMiddlewareHtml_Click
|
||||
|
||||
|
||||
|
||||
@ -57,7 +57,19 @@ System::Void Form1::saveTmp( System::String ^filename )
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "BackupOther", this->tboxBackupOther->Text );
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "ReleaseForeign", (this->cboxReleaseForeign->Checked)?"Y":"N" );
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "Remarks", this->tboxCaption->Text );
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "SubmitWay", (this->rSubmitHand->Checked)?"Hand":"Mail" );
|
||||
if( this->rSubmitInternet->Checked )
|
||||
{
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "SubmitWay", "Internet" );
|
||||
}
|
||||
else if( this->rSubmitHand->Checked )
|
||||
{
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "SubmitWay", "Hand" );
|
||||
}
|
||||
else
|
||||
{
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "SubmitWay", "Mail" );
|
||||
}
|
||||
|
||||
if( this->rUsageSale->Checked )
|
||||
MasterEditorTWL::appendXmlTag( doc, form, "Purpose", "Sale" );
|
||||
else if( this->rUsageSample->Checked )
|
||||
@ -177,8 +189,8 @@ void Form1::loadTmp( System::String ^filename )
|
||||
cli::array<System::Windows::Forms::RadioButton^> ^rbuts;
|
||||
cli::array<System::String^> ^strs;
|
||||
|
||||
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rSubmitHand, this->rSubmitPost};
|
||||
strs = gcnew cli::array<System::String^>{"Hand","Mail"};
|
||||
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rSubmitHand, this->rSubmitPost, this->rSubmitInternet};
|
||||
strs = gcnew cli::array<System::String^>{"Hand","Mail","Internet"};
|
||||
this->parseTmp( root, "/MasterEditorTWL/Form/SubmitWay", rbuts, strs );
|
||||
|
||||
rbuts = gcnew cli::array<System::Windows::Forms::RadioButton^>{this->rUsageSale, this->rUsageSample, this->rUsageDst, this->rUsageOther};
|
||||
|
||||
@ -75,6 +75,7 @@ Exception:{0}
|
||||
<!-- Create MiddleWare List -->
|
||||
<E_MWList_Empty>ROM data file has not been read.</E_MWList_Empty>
|
||||
<E_MWList_Default>Failed to create the middleware list.</E_MWList_Default>
|
||||
<MWList_Success>Succeeded in creating middleware list.</MWList_Success>
|
||||
|
||||
<!-- Save Temp File -->
|
||||
<E_SaveTemp>Failed to save temporary information.</E_SaveTemp>
|
||||
|
||||
@ -75,6 +75,7 @@
|
||||
<!-- Create MiddleWare List -->
|
||||
<E_MWList_Empty>ROMデータファイルが読み込まれていません。</E_MWList_Empty>
|
||||
<E_MWList_Default>ミドルウェアリストの作成に失敗しました。</E_MWList_Default>
|
||||
<MWList_Success>ミドルウェアリストの作成に成功しました。</MWList_Success>
|
||||
|
||||
<!-- Save Temp File -->
|
||||
<E_SaveTemp>一時情報の保存に失敗しました。</E_SaveTemp>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user