mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:DSiWareの販売カテゴリのコンボボックスを削除。ただし復活することを踏まえて処理はコメントアウトにとどめる。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@134 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
21d8ef8fd7
commit
53ddf35327
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -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 )
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -232,8 +232,8 @@ void Form1::setSrlForms(void)
|
||||
// ROMヘッダには関係ないが
|
||||
// NANDアプリのときにバックアップメモリを自動的に「なし」にしておく
|
||||
this->maskBackupMemoryForms();
|
||||
// カードアプリのときにDSi Wareの販売カテゴリを自動的に「なし」にしておく
|
||||
this->maskDLCategoryForms();
|
||||
//// カードアプリのときにDSi Wareの販売カテゴリを自動的に「なし」にしておく
|
||||
//this->maskDLCategoryForms();
|
||||
} // setSrlForms()
|
||||
|
||||
// ----------------------------------------------
|
||||
|
||||
@ -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()
|
||||
|
||||
// ----------------------------------------------
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user