マスタエディタ:提出方法がInternetのとき一時情報の保存が正確にできなくなる問題を修正。ミドルウェアリストのみの保存でも成功メッセージを出すようにした。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@218 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-03-06 02:19:35 +00:00
parent ff0b486e9f
commit 9ffd3822c4
7 changed files with 19 additions and 3 deletions

View File

@ -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

View File

@ -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};

View File

@ -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>

View File

@ -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>