マスタエディタ:用途の項目をその他にしたときにテキストボックスの用途が提出確認書に書かれずに「その他」が書かれてしまう問題を修正。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@223 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-03-06 06:16:32 +00:00
parent 1decf92606
commit 8ca30bfb39
6 changed files with 1 additions and 10 deletions

View File

@ -96,22 +96,18 @@ void Form1::setDeliverableProperties(void)
if( this->rUsageSale->Checked == true ) if( this->rUsageSale->Checked == true )
{ {
this->hDeliv->hUsage = this->rUsageSale->Text; this->hDeliv->hUsage = this->rUsageSale->Text;
this->hDeliv->hUsageOther = nullptr;
} }
else if( this->rUsageSample->Checked == true ) else if( this->rUsageSample->Checked == true )
{ {
this->hDeliv->hUsage = this->rUsageSample->Text; this->hDeliv->hUsage = this->rUsageSample->Text;
this->hDeliv->hUsageOther = nullptr;
} }
else if( this->rUsageDst->Checked == true ) else if( this->rUsageDst->Checked == true )
{ {
this->hDeliv->hUsage = this->rUsageDst->Text; this->hDeliv->hUsage = this->rUsageDst->Text;
this->hDeliv->hUsageOther = nullptr;
} }
else if( this->rUsageOther->Checked == true ) else if( this->rUsageOther->Checked == true )
{ {
this->hDeliv->hUsage = this->rUsageOther->Text; this->hDeliv->hUsage = this->tboxUsageOther->Text;
this->hDeliv->hUsageOther = this->tboxUsageOther->Text;
} }
// ‰ïŽÐ<C5BD>î•ñ // ‰ïŽÐ<C5BD>î•ñ

View File

@ -208,10 +208,6 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
{ {
node->FirstChild->Value = this->hUsage; node->FirstChild->Value = this->hUsage;
} }
if( node->FirstChild->Value->Equals( "TagUsageOther" ) )
{
node->FirstChild->Value = this->hUsageOther; // nullptr のときはセルが空になるので好都合
}
if( node->FirstChild->Value->Equals( "TagRomVersion" ) ) if( node->FirstChild->Value->Equals( "TagRomVersion" ) )
{ {
node->FirstChild->Value = hSrl->RomVersion.ToString("X2"); node->FirstChild->Value = hSrl->RomVersion.ToString("X2");

View File

@ -53,7 +53,6 @@ namespace MasterEditorTWL
property System::Int32 SubmitDay; property System::Int32 SubmitDay;
property System::String ^hSubmitWay; // 提出方法 property System::String ^hSubmitWay; // 提出方法
property System::String ^hUsage; // 用途 property System::String ^hUsage; // 用途
property System::String ^hUsageOther; // その他の用途
property System::Int32 SubmitVersion; // 提出バージョン property System::Int32 SubmitVersion; // 提出バージョン
property System::String ^hSDK; // SDKバージョン property System::String ^hSDK; // SDKバージョン
property System::Boolean IsReleaseForeign; // 海外版の予定 property System::Boolean IsReleaseForeign; // 海外版の予定