マスタエディタ:DSiWareの販売カテゴリのコンボボックスを削除。ただし復活することを踏まえて処理はコメントアウトにとどめる。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@134 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-01-22 12:51:35 +00:00
parent 21d8ef8fd7
commit 53ddf35327
10 changed files with 9835 additions and 10957 deletions

View File

@ -207,22 +207,22 @@ void Form1::setDeliverableProperties(void)
this->hDeliv->hBackupMemory = this->tboxBackupOther->Text;
}
// DSi Wareの販売カテゴリ
if( this->combDLCategory->SelectedIndex != (this->combDLCategory->Items->Count - 1) )
{
if( this->combDLCategory->SelectedIndex > 0 )
{
this->hDeliv->hDLCategory = this->combDLCategory->SelectedItem->ToString();
}
else
{
this->hDeliv->hDLCategory = gcnew System::String("");
}
}
else
{
this->hDeliv->hDLCategory = this->tboxDLCategoryOther->Text;
}
//// DSi Wareの販売カテゴリ
//if( this->combDLCategory->SelectedIndex != (this->combDLCategory->Items->Count - 1) )
//{
// if( this->combDLCategory->SelectedIndex > 0 )
// {
// this->hDeliv->hDLCategory = this->combDLCategory->SelectedItem->ToString();
// }
// else
// {
// this->hDeliv->hDLCategory = gcnew System::String("");
// }
//}
//else
//{
// this->hDeliv->hDLCategory = this->tboxDLCategoryOther->Text;
//}
// SRL情報を文字列で登録
if( this->combRegion->SelectedIndex < 0 )

View File

@ -188,13 +188,13 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
#endif
this->combRegion->SelectedIndex = index;
resources->ApplyResources(this->combDLCategory, L"combDLCategory");
index = this->combDLCategory->SelectedIndex;
this->combDLCategory->Items->Clear();
this->combDLCategory->Items->AddRange(gcnew cli::array< System::Object^ >(6) {resources->GetString(L"combDLCategory.Items"),
resources->GetString(L"combDLCategory.Items1"), resources->GetString(L"combDLCategory.Items2"), resources->GetString(L"combDLCategory.Items3"),
resources->GetString(L"combDLCategory.Items4"), resources->GetString(L"combDLCategory.Items5")});
this->combDLCategory->SelectedIndex = index;
//resources->ApplyResources(this->combDLCategory, L"combDLCategory");
//index = this->combDLCategory->SelectedIndex;
//this->combDLCategory->Items->Clear();
//this->combDLCategory->Items->AddRange(gcnew cli::array< System::Object^ >(6) {resources->GetString(L"combDLCategory.Items"),
// resources->GetString(L"combDLCategory.Items1"), resources->GetString(L"combDLCategory.Items2"), resources->GetString(L"combDLCategory.Items3"),
// resources->GetString(L"combDLCategory.Items4"), resources->GetString(L"combDLCategory.Items5")});
//this->combDLCategory->SelectedIndex = index;
resources->ApplyResources(this->cboxIsInputPerson2, L"cboxIsInputPerson2");
resources->ApplyResources(this->gboxPerson2, L"gboxPerson2");
@ -355,8 +355,8 @@ void MasterEditorTWL::Form1::changeLanguage( System::String ^langname )
resources->ApplyResources(this->tboxGuideTWLInfo, L"tboxGuideTWLInfo");
resources->ApplyResources(this->gboxExFlags, L"gboxExFlags");
resources->ApplyResources(this->tabNandSizeInfo, L"tabNandSizeInfo");
resources->ApplyResources(this->tboxGuideDLCategory, L"tboxGuideDLCategory");
resources->ApplyResources(this->gboxDLCategory, L"gboxDLCategory");
//resources->ApplyResources(this->tboxGuideDLCategory, L"tboxGuideDLCategory");
//resources->ApplyResources(this->gboxDLCategory, L"gboxDLCategory");
resources->ApplyResources(this->tboxGuideNandSizeInfo, L"tboxGuideNandSizeInfo");
resources->ApplyResources(this->labShopBlockUnit, L"labShopBlockUnit");
resources->ApplyResources(this->gboxNandSize, L"gboxNandSize");

View File

@ -232,8 +232,8 @@ void Form1::setSrlForms(void)
// ROMヘッダには関係ないが
// NANDアプリのときにバックアップメモリを自動的に「なし」にしておく
this->maskBackupMemoryForms();
// カードアプリのときにDSi Wareの販売カテゴリを自動的に「なし」にしておく
this->maskDLCategoryForms();
//// カードアプリのときにDSi Wareの販売カテゴリを自動的に「なし」にしておく
//this->maskDLCategoryForms();
} // setSrlForms()
// ----------------------------------------------

View File

@ -69,8 +69,8 @@ System::Void Form1::saveTmp( System::String ^filename )
MasterEditorTWL::appendXmlTag( doc, form, "ReleaseDate", this->dateRelease->Value.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "SubmitDate", this->dateSubmit->Value.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "DLCategory", this->combDLCategory->SelectedIndex.ToString() );
MasterEditorTWL::appendXmlTag( doc, form, "DLCategoryOther", this->tboxDLCategoryOther->Text );
//MasterEditorTWL::appendXmlTag( doc, form, "DLCategory", this->combDLCategory->SelectedIndex.ToString() );
//MasterEditorTWL::appendXmlTag( doc, form, "DLCategoryOther", this->tboxDLCategoryOther->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Company1", this->tboxCompany1->Text );
MasterEditorTWL::appendXmlTag( doc, form, "Depart1", this->tboxDepart1->Text );
@ -174,17 +174,17 @@ void Form1::loadTmp( System::String ^filename )
this->tboxBackupOther->Enabled = true;
}
// DSi Ware
this->parseTmp( root, "/MasterEditorTWL/Form/DLCategory", this->combDLCategory );
this->combDLCategory->Enabled = true; // ‚ ‚ƂŃ}ƒXƒN·é
//// DSi Ware
//this->parseTmp( root, "/MasterEditorTWL/Form/DLCategory", this->combDLCategory );
//this->combDLCategory->Enabled = true; // ‚ ‚ƂŃ}ƒXƒN·é
this->tboxDLCategoryOther->Enabled = false;
this->tboxDLCategoryOther->Clear();
if( this->combDLCategory->SelectedIndex == (this->combDLCategory->Items->Count - 1) )
{
this->parseTmp( root, "/MasterEditorTWL/Form/DLCategoryOther", this->tboxDLCategoryOther );
this->tboxDLCategoryOther->Enabled = true;
}
//this->tboxDLCategoryOther->Enabled = false;
//this->tboxDLCategoryOther->Clear();
//if( this->combDLCategory->SelectedIndex == (this->combDLCategory->Items->Count - 1) )
//{
// this->parseTmp( root, "/MasterEditorTWL/Form/DLCategoryOther", this->tboxDLCategoryOther );
// this->tboxDLCategoryOther->Enabled = true;
//}
cli::array<System::Windows::Forms::RadioButton^> ^rbuts;
cli::array<System::String^> ^strs;
@ -294,7 +294,7 @@ void Form1::loadTmp( System::String ^filename )
this->maskRatingForms(); // ペアレンタルコントロール情報をリージョンに合わせる
this->changeUnnecessaryRatingForms(true); // 一度コンボボックスがenableになるので再設定
this->maskBackupMemoryForms(); // NANDアプリのときのバックアップメモリの自動設定
this->maskDLCategoryForms();
//this->maskDLCategoryForms();
} //loadTmp()
// ----------------------------------------------