TwlIPL/build/tools/MasterEditorTWL/MasterEditorTWL/Form1.h
nishikawa_takeshi 700eef9d94 マスタエディタ:入力チェック変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2352 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-09-01 11:24:27 +00:00

5502 lines
218 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "srl.h"
#include "deliverable.h"
#include "crc_whole.h"
#include "utility.h"
#include "lang.h"
#include "FormError.h"
namespace MasterEditorTWL {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Form1 の概要
///
/// 警告: このクラスの名前を変更する場合、このクラスが依存するすべての .resx ファイルに関連付けられた
/// マネージ リソース コンパイラ ツールに対して 'Resource File Name' プロパティを
/// 変更する必要があります。この変更を行わないと、
/// デザイナと、このフォームに関連付けられたローカライズ済みリソースとが、
/// 正しく相互に利用できなくなります。
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
// 独自追加フィールド
private:
// SRL情報(ROMヘッダを含む)
RCSrl ^hSrl;
// マスタ書類
RCDeliverable ^hDeliv;
// 書類出力モード(ーマルXML or XML Spread Sheet)
System::Boolean ^hIsSpreadSheet;
// 入力エラー情報
System::Collections::Generic::List<RCMRCError ^> ^hErrorList;
System::Collections::Generic::List<RCMRCError ^> ^hWarnList;
// VC自動追加フィールド
private: System::Windows::Forms::GroupBox^ gboxCRC;
private: System::Windows::Forms::TextBox^ tboxWholeCRC;
private: System::Windows::Forms::Label^ labTitleName;
private: System::Windows::Forms::Label^ labGameCode;
private: System::Windows::Forms::TextBox^ tboxGameCode;
private: System::Windows::Forms::Label^ labMakerCode;
private: System::Windows::Forms::TextBox^ tboxMakerCode;
private: System::Windows::Forms::Label^ labRomType;
private: System::Windows::Forms::ComboBox^ combBackup;
private: System::Windows::Forms::Label^ labRomSize;
private: System::Windows::Forms::TextBox^ tboxRomLatency;
private: System::Windows::Forms::Label^ labBackup;
private: System::Windows::Forms::Label^ labPlatform;
private: System::Windows::Forms::Label^ labRomCRC;
private: System::Windows::Forms::Label^ labHeaderCRC;
private: System::Windows::Forms::TextBox^ tboxHeaderCRC;
private: System::Windows::Forms::TextBox^ tboxBackupOther;
private: System::Windows::Forms::Label^ labCaption;
private: System::Windows::Forms::TextBox^ tboxCaption;
private: System::Windows::Forms::TextBox^ tboxRomSize;
private: System::Windows::Forms::Label^ labPEGIBBFC2;
private: System::Windows::Forms::Label^ labOFLC;
private: System::Windows::Forms::Label^ labPEGIBBFC;
private: System::Windows::Forms::Label^ labPEGIPRT;
private: System::Windows::Forms::Label^ labPEGI;
private: System::Windows::Forms::Label^ labUSK;
private: System::Windows::Forms::Label^ labESRB;
private: System::Windows::Forms::Label^ labCERO;
private: System::Windows::Forms::CheckBox^ cboxAlwaysOFLC;
private: System::Windows::Forms::CheckBox^ cboxAlwaysPEGIBBFC;
private: System::Windows::Forms::CheckBox^ cboxAlwaysPEGIPRT;
private: System::Windows::Forms::CheckBox^ cboxAlwaysPEGI;
private: System::Windows::Forms::CheckBox^ cboxAlwaysUSK;
private: System::Windows::Forms::CheckBox^ cboxAlwaysESRB;
private: System::Windows::Forms::CheckBox^ cboxAlwaysCERO;
private: System::Windows::Forms::ComboBox^ combOFLC;
private: System::Windows::Forms::ComboBox^ combPEGIBBFC;
private: System::Windows::Forms::ComboBox^ combPEGIPRT;
private: System::Windows::Forms::ComboBox^ combPEGI;
private: System::Windows::Forms::ComboBox^ combUSK;
private: System::Windows::Forms::ComboBox^ combESRB;
private: System::Windows::Forms::ComboBox^ combCERO;
private: System::Windows::Forms::CheckBox^ cboxOFLC;
private: System::Windows::Forms::CheckBox^ cboxPEGIBBFC;
private: System::Windows::Forms::CheckBox^ cboxPEGIPRT;
private: System::Windows::Forms::CheckBox^ cboxPEGI;
private: System::Windows::Forms::CheckBox^ cboxUSK;
private: System::Windows::Forms::CheckBox^ cboxESRB;
private: System::Windows::Forms::CheckBox^ cboxCERO;
private: System::Windows::Forms::Label^ labParentalForceEnable;
private: System::Windows::Forms::Label^ labParentalRating;
private: System::Windows::Forms::Label^ labParentalEnable;
private: System::Windows::Forms::CheckBox^ cboxIsEULA;
private: System::Windows::Forms::CheckBox^ cboxIsWiFiIcon;
private: System::Windows::Forms::Label^ labEULA;
private: System::Windows::Forms::CheckBox^ cboxIsWirelessIcon;
private: System::Windows::Forms::NumericUpDown^ numEULA;
private: System::Windows::Forms::CheckBox^ cboxIsInputPerson2;
private: System::Windows::Forms::GroupBox^ gboxPerson2;
private: System::Windows::Forms::Label^ labNTSC2Sur;
private: System::Windows::Forms::TextBox^ tboxNTSC2;
private: System::Windows::Forms::Label^ labNTSC2Pre;
private: System::Windows::Forms::TextBox^ tboxFax2;
private: System::Windows::Forms::TextBox^ tboxMail2;
private: System::Windows::Forms::TextBox^ tboxTel2;
private: System::Windows::Forms::TextBox^ tboxFurigana2;
private: System::Windows::Forms::TextBox^ tboxPerson2;
private: System::Windows::Forms::TextBox^ tboxDepart2;
private: System::Windows::Forms::Label^ labDepart2;
private: System::Windows::Forms::TextBox^ tboxCompany2;
private: System::Windows::Forms::Label^ labMail2;
private: System::Windows::Forms::Label^ labFax2;
private: System::Windows::Forms::Label^ labTel2;
private: System::Windows::Forms::Label^ labFurigana2;
private: System::Windows::Forms::Label^ labPerson2;
private: System::Windows::Forms::Label^ labCompany2;
private: System::Windows::Forms::GroupBox^ gboxPerson1;
private: System::Windows::Forms::Label^ labNTSC1Sur;
private: System::Windows::Forms::Label^ labNTSC1Pre;
private: System::Windows::Forms::TextBox^ tboxNTSC1;
private: System::Windows::Forms::TextBox^ tboxFax1;
private: System::Windows::Forms::TextBox^ tboxMail1;
private: System::Windows::Forms::TextBox^ tboxTel1;
private: System::Windows::Forms::TextBox^ tboxFurigana1;
private: System::Windows::Forms::TextBox^ tboxPerson1;
private: System::Windows::Forms::TextBox^ tboxDepart1;
private: System::Windows::Forms::Label^ labDepart1;
private: System::Windows::Forms::TextBox^ tboxCompany1;
private: System::Windows::Forms::Label^ labMail1;
private: System::Windows::Forms::Label^ labFax1;
private: System::Windows::Forms::Label^ labTel1;
private: System::Windows::Forms::Label^ labFurigana1;
private: System::Windows::Forms::Label^ labPerson1;
private: System::Windows::Forms::Label^ labCompany1;
private: System::Windows::Forms::TextBox^ tboxRemasterVer;
private: System::Windows::Forms::TextBox^ tboxProductCode2;
private: System::Windows::Forms::TextBox^ tboxProductCode1;
private: System::Windows::Forms::TextBox^ tboxProductName;
private: System::Windows::Forms::Label^ labProductCode2;
private: System::Windows::Forms::Label^ labProductCode1;
private: System::Windows::Forms::DateTimePicker^ dateSubmit;
private: System::Windows::Forms::DateTimePicker^ dateRelease;
private: System::Windows::Forms::CheckBox^ cboxRemasterVerE;
private: System::Windows::Forms::Label^ labCapSubmitVer;
private: System::Windows::Forms::NumericUpDown^ numSubmitVersion;
private: System::Windows::Forms::Label^ labSubmitVer;
private: System::Windows::Forms::Label^ labRemasterVer;
private: System::Windows::Forms::GroupBox^ gboxUsage;
private: System::Windows::Forms::TextBox^ tboxUsageOther;
private: System::Windows::Forms::RadioButton^ rUsageOther;
private: System::Windows::Forms::RadioButton^ rUsageDst;
private: System::Windows::Forms::RadioButton^ rUsageSample;
private: System::Windows::Forms::RadioButton^ rUsageSale;
private: System::Windows::Forms::GroupBox^ gboxSubmitWay;
private: System::Windows::Forms::RadioButton^ rSubmitHand;
private: System::Windows::Forms::RadioButton^ rSubmitPost;
private: System::Windows::Forms::Label^ labSubmiteDate;
private: System::Windows::Forms::Label^ labReleaseDate;
private: System::Windows::Forms::Label^ labProductCode;
private: System::Windows::Forms::Label^ labProductName;
private: System::Windows::Forms::ComboBox^ combRegion;
private: System::Windows::Forms::Label^ labRegion;
private: System::Windows::Forms::Label^ labProductCode2Foreign;
private: System::Windows::Forms::CheckBox^ cboxReleaseForeign;
private: System::Windows::Forms::Label^ labProductNameForeign;
private: System::Windows::Forms::TextBox^ tboxProductNameForeign;
private: System::Windows::Forms::Label^ labProductCode1Foreign;
private: System::Windows::Forms::TextBox^ tboxProductCode1Foreign;
private: System::Windows::Forms::Label^ labProductCodeForeign;
private: System::Windows::Forms::TextBox^ tboxProductCode2Foreign1;
private: System::Windows::Forms::GroupBox^ gboxShared2Size;
private: System::Windows::Forms::Label^ labShared2Size5;
private: System::Windows::Forms::Label^ labShared2Size4;
private: System::Windows::Forms::Label^ labShared2Size3;
private: System::Windows::Forms::Label^ labShared2Size2;
private: System::Windows::Forms::Label^ labShared2Size1;
private: System::Windows::Forms::Label^ labShared2Size0;
private: System::Windows::Forms::Label^ labKB5;
private: System::Windows::Forms::Label^ labKB4;
private: System::Windows::Forms::Label^ labKB3;
private: System::Windows::Forms::Label^ labKB2;
private: System::Windows::Forms::Label^ labKB1;
private: System::Windows::Forms::Label^ labKB0;
private: System::Windows::Forms::TextBox^ tboxShared2Size5;
private: System::Windows::Forms::TextBox^ tboxShared2Size4;
private: System::Windows::Forms::TextBox^ tboxShared2Size3;
private: System::Windows::Forms::TextBox^ tboxShared2Size2;
private: System::Windows::Forms::TextBox^ tboxShared2Size1;
private: System::Windows::Forms::TextBox^ tboxShared2Size0;
private: System::Windows::Forms::CheckBox^ cboxIsShared2;
private: System::Windows::Forms::Label^ labLib;
private: System::Windows::Forms::TextBox^ tboxSDK;
private: System::Windows::Forms::Label^ labSDK;
private: System::Windows::Forms::GroupBox^ gboxTWLExInfo;
private: System::Windows::Forms::Label^ labByte2;
private: System::Windows::Forms::Label^ labByte1;
private: System::Windows::Forms::Label^ labHex4;
private: System::Windows::Forms::Label^ labHex3;
private: System::Windows::Forms::TextBox^ tboxIsCodec;
private: System::Windows::Forms::Label^ labIsCodec;
private: System::Windows::Forms::Label^ labNormalRomOffset;
private: System::Windows::Forms::TextBox^ tboxNormalRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsSubBanner;
private: System::Windows::Forms::Label^ labKeyTableRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsWL;
private: System::Windows::Forms::TextBox^ tboxPrivateSize;
private: System::Windows::Forms::Label^ labPrivateSize;
private: System::Windows::Forms::TextBox^ tboxKeyTableRomOffset;
private: System::Windows::Forms::CheckBox^ cboxIsNormalJump;
private: System::Windows::Forms::CheckBox^ cboxIsTmpJump;
private: System::Windows::Forms::Label^ labPublicSize;
private: System::Windows::Forms::TextBox^ tboxPublicSize;
private: System::Windows::Forms::GroupBox^ gboxAccess;
private: System::Windows::Forms::Label^ labAccessOther;
private: System::Windows::Forms::TextBox^ tboxAccessOther;
private: System::Windows::Forms::TextBox^ tboxIsGameCardOn;
private: System::Windows::Forms::Label^ labIsGameCardOn;
private: System::Windows::Forms::CheckBox^ cboxIsNAND;
private: System::Windows::Forms::CheckBox^ cboxIsSD;
private: System::Windows::Forms::GroupBox^ gboxTitleID;
private: System::Windows::Forms::Label^ labHex2;
private: System::Windows::Forms::Label^ labHex1;
private: System::Windows::Forms::TextBox^ tboxTitleIDLo;
private: System::Windows::Forms::Label^ labTitleIDLo;
private: System::Windows::Forms::Label^ labTitleIDHi;
private: System::Windows::Forms::TextBox^ tboxTitleIDHi;
private: System::Windows::Forms::TextBox^ tboxAppType;
private: System::Windows::Forms::Label^ labAppType;
private: System::Windows::Forms::Label^ labCaptionEx;
private: System::Windows::Forms::TextBox^ tboxCaptionEx;
private: System::Windows::Forms::TextBox^ tboxProductCode2Foreign3;
private: System::Windows::Forms::TextBox^ tboxProductCode2Foreign2;
private: System::Windows::Forms::Label^ labMultiForeign1;
private: System::Windows::Forms::GroupBox^ gboxProd;
private: System::Windows::Forms::MenuStrip^ menuStripAbove;
private: System::Windows::Forms::ToolStripMenuItem^ stripFile;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemOpenRom;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemSaveTemp;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemLoadTemp;
private: System::Windows::Forms::ToolStripMenuItem^ stripMaster;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemMasterRom;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemSheet;
private: System::Windows::Forms::ToolStripMenuItem^ stripLang;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemEnglish;
private: System::Windows::Forms::ToolStripMenuItem^ stripItemJapanese;
private: System::Windows::Forms::TabControl^ tabMain;
private: System::Windows::Forms::TabPage^ tabRomInfo;
private: System::Windows::Forms::TabPage^ tabTWLInfo;
private: System::Windows::Forms::TabPage^ tabRomEditInfo;
private: System::Windows::Forms::TabPage^ tabPage4;
private: System::Windows::Forms::TabPage^ tabPage5;
private: System::Windows::Forms::GroupBox^ gboxForeign;
private: System::Windows::Forms::GroupBox^ gboxExFlags;
private: System::Windows::Forms::Label^ labByte3;
private: System::Windows::Forms::Label^ labByte5;
private: System::Windows::Forms::Label^ labByte4;
private: System::Windows::Forms::GroupBox^ gboxEULA;
private: System::Windows::Forms::GroupBox^ gboxIcon;
private: System::Windows::Forms::GroupBox^ gboxParental;
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox4;
private: System::Windows::Forms::TextBox^ textBox5;
private: System::Windows::Forms::Label^ labFile;
public: System::Windows::Forms::DataGridView^ gridError;
private:
public:
private: System::Windows::Forms::TabPage^ tabError;
public: System::Windows::Forms::DataGridView^ gridWarn;
private:
public:
private: System::Windows::Forms::TextBox^ textBox6;
private: System::Windows::Forms::GroupBox^ gboxErrorTiming;
private: System::Windows::Forms::Label^ labWarn;
private: System::Windows::Forms::Label^ labError;
private: System::Windows::Forms::RadioButton^ rErrorCurrent;
private: System::Windows::Forms::RadioButton^ rErrorReading;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnName;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnBegin;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnEnd;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colWarnCause;
private: System::Windows::Forms::Label^ labMultiForeign2;
private: System::Windows::Forms::DataGridView^ gridLibrary;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colLibPublisher;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colLibName;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorName;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorBegin;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorEnd;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorCause;
private: System::Windows::Forms::TextBox^ tboxPlatform;
public:
Form1(void)
{
InitializeComponent();
//
//TODO: ここにコンストラクタ コードを追加します
//
this->hSrl = gcnew (RCSrl);
this->hDeliv = gcnew (RCDeliverable);
this->hErrorList = gcnew System::Collections::Generic::List<RCMRCError^>();
this->hErrorList->Clear();
this->hWarnList = gcnew System::Collections::Generic::List<RCMRCError^>();
this->hWarnList->Clear();
// デフォルト値
this->hIsSpreadSheet = gcnew System::Boolean( true );
this->dateRelease->Value = System::DateTime::Now;
this->dateSubmit->Value = System::DateTime::Now;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
this->combRegion->Items->Add( gcnew System::String( L"全リージョン" ) );
#endif
// アプリ種別をつける
#ifdef METWL_VER_APPTYPE_SYSTEM
this->Text += " [FOR SYSTEM APPLICATION]";
#endif
#ifdef METWL_VER_APPTYPE_SECURE
this->Text += " [FOR SECURE APPLICATION]";
#endif
#ifdef METWL_VER_APPTYPE_LAUNCHER
this->Text += " [FOR LAUNCHER APPLICATION]";
#endif
this->loadInit(); // 設定ファイルの読み込み
}
protected:
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::TextBox^ tboxFile;
protected:
private: System::Windows::Forms::TextBox^ tboxMsg;
private: System::Windows::Forms::GroupBox^ gboxSrl;
private: System::Windows::Forms::TextBox^ tboxTitleName;
private:
/// <summary>
/// 必要なデザイナ変数です。
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// デザイナ サポートに必要なメソッドです。このメソッドの内容を
/// コード エディタで変更しないでください。
/// </summary>
void InitializeComponent(void)
{
this->tboxFile = (gcnew System::Windows::Forms::TextBox());
this->tboxMsg = (gcnew System::Windows::Forms::TextBox());
this->gboxSrl = (gcnew System::Windows::Forms::GroupBox());
this->tboxRemasterVer = (gcnew System::Windows::Forms::TextBox());
this->tboxRomSize = (gcnew System::Windows::Forms::TextBox());
this->tboxPlatform = (gcnew System::Windows::Forms::TextBox());
this->labPlatform = (gcnew System::Windows::Forms::Label());
this->tboxRomLatency = (gcnew System::Windows::Forms::TextBox());
this->labRomSize = (gcnew System::Windows::Forms::Label());
this->labRomType = (gcnew System::Windows::Forms::Label());
this->tboxMakerCode = (gcnew System::Windows::Forms::TextBox());
this->cboxRemasterVerE = (gcnew System::Windows::Forms::CheckBox());
this->labMakerCode = (gcnew System::Windows::Forms::Label());
this->labGameCode = (gcnew System::Windows::Forms::Label());
this->tboxGameCode = (gcnew System::Windows::Forms::TextBox());
this->labTitleName = (gcnew System::Windows::Forms::Label());
this->labRemasterVer = (gcnew System::Windows::Forms::Label());
this->tboxTitleName = (gcnew System::Windows::Forms::TextBox());
this->labBackup = (gcnew System::Windows::Forms::Label());
this->combBackup = (gcnew System::Windows::Forms::ComboBox());
this->tboxBackupOther = (gcnew System::Windows::Forms::TextBox());
this->gboxCRC = (gcnew System::Windows::Forms::GroupBox());
this->labRomCRC = (gcnew System::Windows::Forms::Label());
this->labHeaderCRC = (gcnew System::Windows::Forms::Label());
this->tboxHeaderCRC = (gcnew System::Windows::Forms::TextBox());
this->tboxWholeCRC = (gcnew System::Windows::Forms::TextBox());
this->labCaption = (gcnew System::Windows::Forms::Label());
this->tboxCaption = (gcnew System::Windows::Forms::TextBox());
this->labPEGIBBFC2 = (gcnew System::Windows::Forms::Label());
this->labOFLC = (gcnew System::Windows::Forms::Label());
this->labPEGIBBFC = (gcnew System::Windows::Forms::Label());
this->labPEGIPRT = (gcnew System::Windows::Forms::Label());
this->labPEGI = (gcnew System::Windows::Forms::Label());
this->labUSK = (gcnew System::Windows::Forms::Label());
this->labESRB = (gcnew System::Windows::Forms::Label());
this->labCERO = (gcnew System::Windows::Forms::Label());
this->cboxAlwaysOFLC = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysPEGIBBFC = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysPEGIPRT = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysPEGI = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysUSK = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysESRB = (gcnew System::Windows::Forms::CheckBox());
this->cboxAlwaysCERO = (gcnew System::Windows::Forms::CheckBox());
this->combOFLC = (gcnew System::Windows::Forms::ComboBox());
this->combPEGIBBFC = (gcnew System::Windows::Forms::ComboBox());
this->combPEGIPRT = (gcnew System::Windows::Forms::ComboBox());
this->combPEGI = (gcnew System::Windows::Forms::ComboBox());
this->combUSK = (gcnew System::Windows::Forms::ComboBox());
this->combESRB = (gcnew System::Windows::Forms::ComboBox());
this->combCERO = (gcnew System::Windows::Forms::ComboBox());
this->cboxOFLC = (gcnew System::Windows::Forms::CheckBox());
this->cboxPEGIBBFC = (gcnew System::Windows::Forms::CheckBox());
this->cboxPEGIPRT = (gcnew System::Windows::Forms::CheckBox());
this->cboxPEGI = (gcnew System::Windows::Forms::CheckBox());
this->cboxUSK = (gcnew System::Windows::Forms::CheckBox());
this->cboxESRB = (gcnew System::Windows::Forms::CheckBox());
this->cboxCERO = (gcnew System::Windows::Forms::CheckBox());
this->labParentalForceEnable = (gcnew System::Windows::Forms::Label());
this->labParentalRating = (gcnew System::Windows::Forms::Label());
this->labParentalEnable = (gcnew System::Windows::Forms::Label());
this->labRegion = (gcnew System::Windows::Forms::Label());
this->cboxIsEULA = (gcnew System::Windows::Forms::CheckBox());
this->combRegion = (gcnew System::Windows::Forms::ComboBox());
this->cboxIsWiFiIcon = (gcnew System::Windows::Forms::CheckBox());
this->labEULA = (gcnew System::Windows::Forms::Label());
this->cboxIsWirelessIcon = (gcnew System::Windows::Forms::CheckBox());
this->numEULA = (gcnew System::Windows::Forms::NumericUpDown());
this->cboxIsInputPerson2 = (gcnew System::Windows::Forms::CheckBox());
this->gboxPerson2 = (gcnew System::Windows::Forms::GroupBox());
this->labNTSC2Sur = (gcnew System::Windows::Forms::Label());
this->tboxNTSC2 = (gcnew System::Windows::Forms::TextBox());
this->labFax2 = (gcnew System::Windows::Forms::Label());
this->labNTSC2Pre = (gcnew System::Windows::Forms::Label());
this->tboxFax2 = (gcnew System::Windows::Forms::TextBox());
this->tboxMail2 = (gcnew System::Windows::Forms::TextBox());
this->tboxTel2 = (gcnew System::Windows::Forms::TextBox());
this->tboxFurigana2 = (gcnew System::Windows::Forms::TextBox());
this->tboxPerson2 = (gcnew System::Windows::Forms::TextBox());
this->tboxDepart2 = (gcnew System::Windows::Forms::TextBox());
this->labDepart2 = (gcnew System::Windows::Forms::Label());
this->tboxCompany2 = (gcnew System::Windows::Forms::TextBox());
this->labMail2 = (gcnew System::Windows::Forms::Label());
this->labTel2 = (gcnew System::Windows::Forms::Label());
this->labFurigana2 = (gcnew System::Windows::Forms::Label());
this->labPerson2 = (gcnew System::Windows::Forms::Label());
this->labCompany2 = (gcnew System::Windows::Forms::Label());
this->gboxPerson1 = (gcnew System::Windows::Forms::GroupBox());
this->labNTSC1Sur = (gcnew System::Windows::Forms::Label());
this->labFax1 = (gcnew System::Windows::Forms::Label());
this->labNTSC1Pre = (gcnew System::Windows::Forms::Label());
this->tboxNTSC1 = (gcnew System::Windows::Forms::TextBox());
this->tboxFax1 = (gcnew System::Windows::Forms::TextBox());
this->tboxMail1 = (gcnew System::Windows::Forms::TextBox());
this->tboxTel1 = (gcnew System::Windows::Forms::TextBox());
this->tboxFurigana1 = (gcnew System::Windows::Forms::TextBox());
this->tboxPerson1 = (gcnew System::Windows::Forms::TextBox());
this->tboxDepart1 = (gcnew System::Windows::Forms::TextBox());
this->labDepart1 = (gcnew System::Windows::Forms::Label());
this->tboxCompany1 = (gcnew System::Windows::Forms::TextBox());
this->labMail1 = (gcnew System::Windows::Forms::Label());
this->labTel1 = (gcnew System::Windows::Forms::Label());
this->labFurigana1 = (gcnew System::Windows::Forms::Label());
this->labPerson1 = (gcnew System::Windows::Forms::Label());
this->labCompany1 = (gcnew System::Windows::Forms::Label());
this->tboxProductCode2 = (gcnew System::Windows::Forms::TextBox());
this->tboxProductCode1 = (gcnew System::Windows::Forms::TextBox());
this->tboxProductName = (gcnew System::Windows::Forms::TextBox());
this->labProductCode2 = (gcnew System::Windows::Forms::Label());
this->labProductCode1 = (gcnew System::Windows::Forms::Label());
this->dateSubmit = (gcnew System::Windows::Forms::DateTimePicker());
this->dateRelease = (gcnew System::Windows::Forms::DateTimePicker());
this->gboxUsage = (gcnew System::Windows::Forms::GroupBox());
this->tboxUsageOther = (gcnew System::Windows::Forms::TextBox());
this->rUsageOther = (gcnew System::Windows::Forms::RadioButton());
this->rUsageDst = (gcnew System::Windows::Forms::RadioButton());
this->rUsageSample = (gcnew System::Windows::Forms::RadioButton());
this->rUsageSale = (gcnew System::Windows::Forms::RadioButton());
this->gboxSubmitWay = (gcnew System::Windows::Forms::GroupBox());
this->rSubmitHand = (gcnew System::Windows::Forms::RadioButton());
this->rSubmitPost = (gcnew System::Windows::Forms::RadioButton());
this->labSubmiteDate = (gcnew System::Windows::Forms::Label());
this->labReleaseDate = (gcnew System::Windows::Forms::Label());
this->labProductCode = (gcnew System::Windows::Forms::Label());
this->labProductName = (gcnew System::Windows::Forms::Label());
this->labCapSubmitVer = (gcnew System::Windows::Forms::Label());
this->numSubmitVersion = (gcnew System::Windows::Forms::NumericUpDown());
this->labSubmitVer = (gcnew System::Windows::Forms::Label());
this->labMultiForeign1 = (gcnew System::Windows::Forms::Label());
this->tboxProductCode2Foreign3 = (gcnew System::Windows::Forms::TextBox());
this->tboxProductCode2Foreign2 = (gcnew System::Windows::Forms::TextBox());
this->labProductCode2Foreign = (gcnew System::Windows::Forms::Label());
this->cboxReleaseForeign = (gcnew System::Windows::Forms::CheckBox());
this->labProductNameForeign = (gcnew System::Windows::Forms::Label());
this->tboxProductNameForeign = (gcnew System::Windows::Forms::TextBox());
this->labProductCode1Foreign = (gcnew System::Windows::Forms::Label());
this->tboxProductCode1Foreign = (gcnew System::Windows::Forms::TextBox());
this->labProductCodeForeign = (gcnew System::Windows::Forms::Label());
this->tboxProductCode2Foreign1 = (gcnew System::Windows::Forms::TextBox());
this->gboxShared2Size = (gcnew System::Windows::Forms::GroupBox());
this->labShared2Size5 = (gcnew System::Windows::Forms::Label());
this->labShared2Size4 = (gcnew System::Windows::Forms::Label());
this->labShared2Size3 = (gcnew System::Windows::Forms::Label());
this->labShared2Size2 = (gcnew System::Windows::Forms::Label());
this->labShared2Size1 = (gcnew System::Windows::Forms::Label());
this->labShared2Size0 = (gcnew System::Windows::Forms::Label());
this->labKB5 = (gcnew System::Windows::Forms::Label());
this->labKB4 = (gcnew System::Windows::Forms::Label());
this->labKB3 = (gcnew System::Windows::Forms::Label());
this->labKB2 = (gcnew System::Windows::Forms::Label());
this->labKB1 = (gcnew System::Windows::Forms::Label());
this->labKB0 = (gcnew System::Windows::Forms::Label());
this->tboxShared2Size5 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size4 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size3 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size2 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size1 = (gcnew System::Windows::Forms::TextBox());
this->tboxShared2Size0 = (gcnew System::Windows::Forms::TextBox());
this->cboxIsShared2 = (gcnew System::Windows::Forms::CheckBox());
this->labLib = (gcnew System::Windows::Forms::Label());
this->tboxSDK = (gcnew System::Windows::Forms::TextBox());
this->labSDK = (gcnew System::Windows::Forms::Label());
this->gboxTWLExInfo = (gcnew System::Windows::Forms::GroupBox());
this->labByte5 = (gcnew System::Windows::Forms::Label());
this->labByte4 = (gcnew System::Windows::Forms::Label());
this->labByte3 = (gcnew System::Windows::Forms::Label());
this->labByte2 = (gcnew System::Windows::Forms::Label());
this->labByte1 = (gcnew System::Windows::Forms::Label());
this->labHex4 = (gcnew System::Windows::Forms::Label());
this->labHex3 = (gcnew System::Windows::Forms::Label());
this->tboxIsCodec = (gcnew System::Windows::Forms::TextBox());
this->labIsCodec = (gcnew System::Windows::Forms::Label());
this->labNormalRomOffset = (gcnew System::Windows::Forms::Label());
this->tboxNormalRomOffset = (gcnew System::Windows::Forms::TextBox());
this->labKeyTableRomOffset = (gcnew System::Windows::Forms::Label());
this->tboxPrivateSize = (gcnew System::Windows::Forms::TextBox());
this->labPrivateSize = (gcnew System::Windows::Forms::Label());
this->tboxKeyTableRomOffset = (gcnew System::Windows::Forms::TextBox());
this->labPublicSize = (gcnew System::Windows::Forms::Label());
this->tboxPublicSize = (gcnew System::Windows::Forms::TextBox());
this->cboxIsSubBanner = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsWL = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsNormalJump = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsTmpJump = (gcnew System::Windows::Forms::CheckBox());
this->gboxAccess = (gcnew System::Windows::Forms::GroupBox());
this->labAccessOther = (gcnew System::Windows::Forms::Label());
this->tboxAccessOther = (gcnew System::Windows::Forms::TextBox());
this->tboxIsGameCardOn = (gcnew System::Windows::Forms::TextBox());
this->labIsGameCardOn = (gcnew System::Windows::Forms::Label());
this->cboxIsNAND = (gcnew System::Windows::Forms::CheckBox());
this->cboxIsSD = (gcnew System::Windows::Forms::CheckBox());
this->gboxTitleID = (gcnew System::Windows::Forms::GroupBox());
this->labHex2 = (gcnew System::Windows::Forms::Label());
this->labHex1 = (gcnew System::Windows::Forms::Label());
this->tboxTitleIDLo = (gcnew System::Windows::Forms::TextBox());
this->labTitleIDLo = (gcnew System::Windows::Forms::Label());
this->labTitleIDHi = (gcnew System::Windows::Forms::Label());
this->tboxTitleIDHi = (gcnew System::Windows::Forms::TextBox());
this->tboxAppType = (gcnew System::Windows::Forms::TextBox());
this->labAppType = (gcnew System::Windows::Forms::Label());
this->labCaptionEx = (gcnew System::Windows::Forms::Label());
this->tboxCaptionEx = (gcnew System::Windows::Forms::TextBox());
this->gboxProd = (gcnew System::Windows::Forms::GroupBox());
this->menuStripAbove = (gcnew System::Windows::Forms::MenuStrip());
this->stripFile = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemOpenRom = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemSaveTemp = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemLoadTemp = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripMaster = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemMasterRom = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemSheet = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripLang = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemEnglish = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->stripItemJapanese = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->tabMain = (gcnew System::Windows::Forms::TabControl());
this->tabRomInfo = (gcnew System::Windows::Forms::TabPage());
this->gridLibrary = (gcnew System::Windows::Forms::DataGridView());
this->colLibPublisher = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colLibName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->tabTWLInfo = (gcnew System::Windows::Forms::TabPage());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->gboxExFlags = (gcnew System::Windows::Forms::GroupBox());
this->tabRomEditInfo = (gcnew System::Windows::Forms::TabPage());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->gboxParental = (gcnew System::Windows::Forms::GroupBox());
this->gboxIcon = (gcnew System::Windows::Forms::GroupBox());
this->gboxEULA = (gcnew System::Windows::Forms::GroupBox());
this->tabPage4 = (gcnew System::Windows::Forms::TabPage());
this->textBox4 = (gcnew System::Windows::Forms::TextBox());
this->gboxForeign = (gcnew System::Windows::Forms::GroupBox());
this->labMultiForeign2 = (gcnew System::Windows::Forms::Label());
this->tabPage5 = (gcnew System::Windows::Forms::TabPage());
this->textBox5 = (gcnew System::Windows::Forms::TextBox());
this->tabError = (gcnew System::Windows::Forms::TabPage());
this->textBox6 = (gcnew System::Windows::Forms::TextBox());
this->gboxErrorTiming = (gcnew System::Windows::Forms::GroupBox());
this->rErrorCurrent = (gcnew System::Windows::Forms::RadioButton());
this->rErrorReading = (gcnew System::Windows::Forms::RadioButton());
this->labWarn = (gcnew System::Windows::Forms::Label());
this->labError = (gcnew System::Windows::Forms::Label());
this->gridWarn = (gcnew System::Windows::Forms::DataGridView());
this->colWarnName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colWarnBegin = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colWarnEnd = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colWarnCause = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->gridError = (gcnew System::Windows::Forms::DataGridView());
this->labFile = (gcnew System::Windows::Forms::Label());
this->colErrorCause = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colErrorEnd = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colErrorBegin = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->colErrorName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->gboxSrl->SuspendLayout();
this->gboxCRC->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numEULA))->BeginInit();
this->gboxPerson2->SuspendLayout();
this->gboxPerson1->SuspendLayout();
this->gboxUsage->SuspendLayout();
this->gboxSubmitWay->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numSubmitVersion))->BeginInit();
this->gboxShared2Size->SuspendLayout();
this->gboxTWLExInfo->SuspendLayout();
this->gboxAccess->SuspendLayout();
this->gboxTitleID->SuspendLayout();
this->gboxProd->SuspendLayout();
this->menuStripAbove->SuspendLayout();
this->tabMain->SuspendLayout();
this->tabRomInfo->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->BeginInit();
this->tabTWLInfo->SuspendLayout();
this->gboxExFlags->SuspendLayout();
this->tabRomEditInfo->SuspendLayout();
this->gboxParental->SuspendLayout();
this->gboxIcon->SuspendLayout();
this->gboxEULA->SuspendLayout();
this->tabPage4->SuspendLayout();
this->gboxForeign->SuspendLayout();
this->tabPage5->SuspendLayout();
this->tabError->SuspendLayout();
this->gboxErrorTiming->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridWarn))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridError))->BeginInit();
this->SuspendLayout();
//
// tboxFile
//
this->tboxFile->AllowDrop = true;
this->tboxFile->Location = System::Drawing::Point(120, 50);
this->tboxFile->Name = L"tboxFile";
this->tboxFile->ReadOnly = true;
this->tboxFile->Size = System::Drawing::Size(607, 19);
this->tboxFile->TabIndex = 0;
this->tboxFile->DragDrop += gcnew System::Windows::Forms::DragEventHandler(this, &Form1::tboxFile_DragDrop);
this->tboxFile->DragEnter += gcnew System::Windows::Forms::DragEventHandler(this, &Form1::tboxFile_DragEnter);
//
// tboxMsg
//
this->tboxMsg->Location = System::Drawing::Point(12, 486);
this->tboxMsg->Name = L"tboxMsg";
this->tboxMsg->ReadOnly = true;
this->tboxMsg->Size = System::Drawing::Size(745, 19);
this->tboxMsg->TabIndex = 2;
//
// gboxSrl
//
this->gboxSrl->Controls->Add(this->tboxRemasterVer);
this->gboxSrl->Controls->Add(this->tboxRomSize);
this->gboxSrl->Controls->Add(this->tboxPlatform);
this->gboxSrl->Controls->Add(this->labPlatform);
this->gboxSrl->Controls->Add(this->tboxRomLatency);
this->gboxSrl->Controls->Add(this->labRomSize);
this->gboxSrl->Controls->Add(this->labRomType);
this->gboxSrl->Controls->Add(this->tboxMakerCode);
this->gboxSrl->Controls->Add(this->cboxRemasterVerE);
this->gboxSrl->Controls->Add(this->labMakerCode);
this->gboxSrl->Controls->Add(this->labGameCode);
this->gboxSrl->Controls->Add(this->tboxGameCode);
this->gboxSrl->Controls->Add(this->labTitleName);
this->gboxSrl->Controls->Add(this->labRemasterVer);
this->gboxSrl->Controls->Add(this->tboxTitleName);
this->gboxSrl->Location = System::Drawing::Point(26, 52);
this->gboxSrl->Name = L"gboxSrl";
this->gboxSrl->Size = System::Drawing::Size(285, 227);
this->gboxSrl->TabIndex = 3;
this->gboxSrl->TabStop = false;
this->gboxSrl->Text = L"ROMデータ情報";
//
// tboxRemasterVer
//
this->tboxRemasterVer->Location = System::Drawing::Point(109, 190);
this->tboxRemasterVer->Name = L"tboxRemasterVer";
this->tboxRemasterVer->ReadOnly = true;
this->tboxRemasterVer->Size = System::Drawing::Size(42, 19);
this->tboxRemasterVer->TabIndex = 7;
//
// tboxRomSize
//
this->tboxRomSize->Location = System::Drawing::Point(109, 162);
this->tboxRomSize->Name = L"tboxRomSize";
this->tboxRomSize->ReadOnly = true;
this->tboxRomSize->Size = System::Drawing::Size(100, 19);
this->tboxRomSize->TabIndex = 15;
//
// tboxPlatform
//
this->tboxPlatform->Location = System::Drawing::Point(109, 106);
this->tboxPlatform->Name = L"tboxPlatform";
this->tboxPlatform->ReadOnly = true;
this->tboxPlatform->Size = System::Drawing::Size(100, 19);
this->tboxPlatform->TabIndex = 14;
//
// labPlatform
//
this->labPlatform->AutoSize = true;
this->labPlatform->Location = System::Drawing::Point(22, 109);
this->labPlatform->Name = L"labPlatform";
this->labPlatform->Size = System::Drawing::Size(73, 12);
this->labPlatform->TabIndex = 13;
this->labPlatform->Text = L"プラットフォーム";
//
// tboxRomLatency
//
this->tboxRomLatency->Location = System::Drawing::Point(109, 134);
this->tboxRomLatency->Name = L"tboxRomLatency";
this->tboxRomLatency->ReadOnly = true;
this->tboxRomLatency->Size = System::Drawing::Size(100, 19);
this->tboxRomLatency->TabIndex = 11;
//
// labRomSize
//
this->labRomSize->AutoSize = true;
this->labRomSize->Location = System::Drawing::Point(22, 165);
this->labRomSize->Name = L"labRomSize";
this->labRomSize->Size = System::Drawing::Size(54, 12);
this->labRomSize->TabIndex = 9;
this->labRomSize->Text = L"ROM容量";
//
// labRomType
//
this->labRomType->AutoSize = true;
this->labRomType->Location = System::Drawing::Point(22, 137);
this->labRomType->Name = L"labRomType";
this->labRomType->Size = System::Drawing::Size(80, 12);
this->labRomType->TabIndex = 7;
this->labRomType->Text = L"ROMタイプ設定";
//
// tboxMakerCode
//
this->tboxMakerCode->Location = System::Drawing::Point(109, 78);
this->tboxMakerCode->MaxLength = 2;
this->tboxMakerCode->Name = L"tboxMakerCode";
this->tboxMakerCode->ReadOnly = true;
this->tboxMakerCode->Size = System::Drawing::Size(100, 19);
this->tboxMakerCode->TabIndex = 2;
//
// cboxRemasterVerE
//
this->cboxRemasterVerE->AutoSize = true;
this->cboxRemasterVerE->Enabled = false;
this->cboxRemasterVerE->Location = System::Drawing::Point(157, 192);
this->cboxRemasterVerE->Name = L"cboxRemasterVerE";
this->cboxRemasterVerE->Size = System::Drawing::Size(75, 16);
this->cboxRemasterVerE->TabIndex = 8;
this->cboxRemasterVerE->Text = L"E(事前版)";
this->cboxRemasterVerE->UseVisualStyleBackColor = true;
this->cboxRemasterVerE->CheckedChanged += gcnew System::EventHandler(this, &Form1::cboxRemasterVerE_CheckedChanged);
//
// labMakerCode
//
this->labMakerCode->AutoSize = true;
this->labMakerCode->Location = System::Drawing::Point(22, 81);
this->labMakerCode->Name = L"labMakerCode";
this->labMakerCode->Size = System::Drawing::Size(59, 12);
this->labMakerCode->TabIndex = 4;
this->labMakerCode->Text = L"メーカコード";
//
// labGameCode
//
this->labGameCode->AutoSize = true;
this->labGameCode->Location = System::Drawing::Point(22, 53);
this->labGameCode->Name = L"labGameCode";
this->labGameCode->Size = System::Drawing::Size(78, 12);
this->labGameCode->TabIndex = 3;
this->labGameCode->Text = L"イニシャルコード";
//
// tboxGameCode
//
this->tboxGameCode->Location = System::Drawing::Point(109, 50);
this->tboxGameCode->MaxLength = 4;
this->tboxGameCode->Name = L"tboxGameCode";
this->tboxGameCode->ReadOnly = true;
this->tboxGameCode->Size = System::Drawing::Size(100, 19);
this->tboxGameCode->TabIndex = 1;
//
// labTitleName
//
this->labTitleName->AutoSize = true;
this->labTitleName->Location = System::Drawing::Point(22, 24);
this->labTitleName->Name = L"labTitleName";
this->labTitleName->Size = System::Drawing::Size(65, 12);
this->labTitleName->TabIndex = 1;
this->labTitleName->Text = L"ソフトタイトル";
//
// labRemasterVer
//
this->labRemasterVer->AutoSize = true;
this->labRemasterVer->Location = System::Drawing::Point(13, 193);
this->labRemasterVer->Name = L"labRemasterVer";
this->labRemasterVer->Size = System::Drawing::Size(93, 12);
this->labRemasterVer->TabIndex = 22;
this->labRemasterVer->Text = L"リマスターバージョン";
//
// tboxTitleName
//
this->tboxTitleName->ImeMode = System::Windows::Forms::ImeMode::NoControl;
this->tboxTitleName->Location = System::Drawing::Point(109, 21);
this->tboxTitleName->MaxLength = 12;
this->tboxTitleName->Name = L"tboxTitleName";
this->tboxTitleName->ReadOnly = true;
this->tboxTitleName->Size = System::Drawing::Size(100, 19);
this->tboxTitleName->TabIndex = 0;
//
// labBackup
//
this->labBackup->AutoSize = true;
this->labBackup->Location = System::Drawing::Point(6, 21);
this->labBackup->Name = L"labBackup";
this->labBackup->Size = System::Drawing::Size(79, 12);
this->labBackup->TabIndex = 12;
this->labBackup->Text = L"バックアップメモリ";
//
// combBackup
//
this->combBackup->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combBackup->FormattingEnabled = true;
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"4Kbit EEPROM", L"64Kbit EEPROM", L"512Kbit EEPROM",
L"256Kbit FRAM", L"2Mbit FLASH", L"4Mbit FLASH", L"8Mbit FLASH", L"なし", L"その他"});
this->combBackup->Location = System::Drawing::Point(105, 17);
this->combBackup->MaxDropDownItems = 9;
this->combBackup->Name = L"combBackup";
this->combBackup->Size = System::Drawing::Size(113, 20);
this->combBackup->TabIndex = 5;
this->combBackup->SelectedIndexChanged += gcnew System::EventHandler(this, &Form1::combBackup_SelectedIndexChanged);
//
// tboxBackupOther
//
this->tboxBackupOther->Enabled = false;
this->tboxBackupOther->Location = System::Drawing::Point(224, 17);
this->tboxBackupOther->Name = L"tboxBackupOther";
this->tboxBackupOther->Size = System::Drawing::Size(120, 19);
this->tboxBackupOther->TabIndex = 6;
//
// gboxCRC
//
this->gboxCRC->Controls->Add(this->labRomCRC);
this->gboxCRC->Controls->Add(this->labHeaderCRC);
this->gboxCRC->Controls->Add(this->tboxHeaderCRC);
this->gboxCRC->Controls->Add(this->tboxWholeCRC);
this->gboxCRC->Location = System::Drawing::Point(26, 285);
this->gboxCRC->Name = L"gboxCRC";
this->gboxCRC->Size = System::Drawing::Size(285, 49);
this->gboxCRC->TabIndex = 5;
this->gboxCRC->TabStop = false;
this->gboxCRC->Text = L"CRC";
//
// labRomCRC
//
this->labRomCRC->AutoSize = true;
this->labRomCRC->Location = System::Drawing::Point(146, 20);
this->labRomCRC->Name = L"labRomCRC";
this->labRomCRC->Size = System::Drawing::Size(63, 12);
this->labRomCRC->TabIndex = 3;
this->labRomCRC->Text = L"全体のCRC";
//
// labHeaderCRC
//
this->labHeaderCRC->AutoSize = true;
this->labHeaderCRC->Location = System::Drawing::Point(6, 20);
this->labHeaderCRC->Name = L"labHeaderCRC";
this->labHeaderCRC->Size = System::Drawing::Size(55, 12);
this->labHeaderCRC->TabIndex = 2;
this->labHeaderCRC->Text = L"ヘッダCRC";
//
// tboxHeaderCRC
//
this->tboxHeaderCRC->Location = System::Drawing::Point(78, 17);
this->tboxHeaderCRC->Name = L"tboxHeaderCRC";
this->tboxHeaderCRC->ReadOnly = true;
this->tboxHeaderCRC->Size = System::Drawing::Size(55, 19);
this->tboxHeaderCRC->TabIndex = 1;
//
// tboxWholeCRC
//
this->tboxWholeCRC->Location = System::Drawing::Point(215, 17);
this->tboxWholeCRC->Name = L"tboxWholeCRC";
this->tboxWholeCRC->ReadOnly = true;
this->tboxWholeCRC->Size = System::Drawing::Size(55, 19);
this->tboxWholeCRC->TabIndex = 0;
//
// labCaption
//
this->labCaption->AutoSize = true;
this->labCaption->Location = System::Drawing::Point(367, 263);
this->labCaption->Name = L"labCaption";
this->labCaption->Size = System::Drawing::Size(241, 12);
this->labCaption->TabIndex = 8;
this->labCaption->Text = L"備考欄 - その他連絡事項があればご記入ください";
//
// tboxCaption
//
this->tboxCaption->Location = System::Drawing::Point(366, 280);
this->tboxCaption->Multiline = true;
this->tboxCaption->Name = L"tboxCaption";
this->tboxCaption->Size = System::Drawing::Size(345, 57);
this->tboxCaption->TabIndex = 8;
//
// labPEGIBBFC2
//
this->labPEGIBBFC2->AutoSize = true;
this->labPEGIBBFC2->Location = System::Drawing::Point(12, 216);
this->labPEGIBBFC2->Name = L"labPEGIBBFC2";
this->labPEGIBBFC2->Size = System::Drawing::Size(46, 12);
this->labPEGIBBFC2->TabIndex = 35;
this->labPEGIBBFC2->Text = L"+ BBFC";
//
// labOFLC
//
this->labOFLC->AutoSize = true;
this->labOFLC->Location = System::Drawing::Point(48, 234);
this->labOFLC->Name = L"labOFLC";
this->labOFLC->Size = System::Drawing::Size(34, 12);
this->labOFLC->TabIndex = 33;
this->labOFLC->Text = L"OFLC";
//
// labPEGIBBFC
//
this->labPEGIBBFC->AutoSize = true;
this->labPEGIBBFC->Location = System::Drawing::Point(12, 204);
this->labPEGIBBFC->Name = L"labPEGIBBFC";
this->labPEGIBBFC->Size = System::Drawing::Size(77, 12);
this->labPEGIBBFC->TabIndex = 32;
this->labPEGIBBFC->Text = L"PEGI(General)";
//
// labPEGIPRT
//
this->labPEGIPRT->AutoSize = true;
this->labPEGIPRT->Location = System::Drawing::Point(12, 182);
this->labPEGIPRT->Name = L"labPEGIPRT";
this->labPEGIPRT->Size = System::Drawing::Size(76, 12);
this->labPEGIPRT->TabIndex = 31;
this->labPEGIPRT->Text = L"PEGI Portugal";
//
// labPEGI
//
this->labPEGI->AutoSize = true;
this->labPEGI->Location = System::Drawing::Point(12, 156);
this->labPEGI->Name = L"labPEGI";
this->labPEGI->Size = System::Drawing::Size(77, 12);
this->labPEGI->TabIndex = 30;
this->labPEGI->Text = L"PEGI(General)";
//
// labUSK
//
this->labUSK->AutoSize = true;
this->labUSK->Location = System::Drawing::Point(48, 130);
this->labUSK->Name = L"labUSK";
this->labUSK->Size = System::Drawing::Size(27, 12);
this->labUSK->TabIndex = 29;
this->labUSK->Text = L"USK";
//
// labESRB
//
this->labESRB->AutoSize = true;
this->labESRB->Location = System::Drawing::Point(48, 104);
this->labESRB->Name = L"labESRB";
this->labESRB->Size = System::Drawing::Size(35, 12);
this->labESRB->TabIndex = 28;
this->labESRB->Text = L"ESRB";
//
// labCERO
//
this->labCERO->AutoSize = true;
this->labCERO->Location = System::Drawing::Point(48, 78);
this->labCERO->Name = L"labCERO";
this->labCERO->Size = System::Drawing::Size(36, 12);
this->labCERO->TabIndex = 27;
this->labCERO->Text = L"CERO";
//
// cboxAlwaysOFLC
//
this->cboxAlwaysOFLC->AutoSize = true;
this->cboxAlwaysOFLC->Location = System::Drawing::Point(373, 234);
this->cboxAlwaysOFLC->Name = L"cboxAlwaysOFLC";
this->cboxAlwaysOFLC->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysOFLC->TabIndex = 20;
this->cboxAlwaysOFLC->UseVisualStyleBackColor = true;
//
// cboxAlwaysPEGIBBFC
//
this->cboxAlwaysPEGIBBFC->AutoSize = true;
this->cboxAlwaysPEGIBBFC->Location = System::Drawing::Point(373, 208);
this->cboxAlwaysPEGIBBFC->Name = L"cboxAlwaysPEGIBBFC";
this->cboxAlwaysPEGIBBFC->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysPEGIBBFC->TabIndex = 17;
this->cboxAlwaysPEGIBBFC->UseVisualStyleBackColor = true;
//
// cboxAlwaysPEGIPRT
//
this->cboxAlwaysPEGIPRT->AutoSize = true;
this->cboxAlwaysPEGIPRT->Location = System::Drawing::Point(373, 182);
this->cboxAlwaysPEGIPRT->Name = L"cboxAlwaysPEGIPRT";
this->cboxAlwaysPEGIPRT->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysPEGIPRT->TabIndex = 14;
this->cboxAlwaysPEGIPRT->UseVisualStyleBackColor = true;
//
// cboxAlwaysPEGI
//
this->cboxAlwaysPEGI->AutoSize = true;
this->cboxAlwaysPEGI->Location = System::Drawing::Point(373, 156);
this->cboxAlwaysPEGI->Name = L"cboxAlwaysPEGI";
this->cboxAlwaysPEGI->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysPEGI->TabIndex = 11;
this->cboxAlwaysPEGI->UseVisualStyleBackColor = true;
//
// cboxAlwaysUSK
//
this->cboxAlwaysUSK->AutoSize = true;
this->cboxAlwaysUSK->Location = System::Drawing::Point(373, 130);
this->cboxAlwaysUSK->Name = L"cboxAlwaysUSK";
this->cboxAlwaysUSK->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysUSK->TabIndex = 8;
this->cboxAlwaysUSK->UseVisualStyleBackColor = true;
//
// cboxAlwaysESRB
//
this->cboxAlwaysESRB->AutoSize = true;
this->cboxAlwaysESRB->Location = System::Drawing::Point(373, 104);
this->cboxAlwaysESRB->Name = L"cboxAlwaysESRB";
this->cboxAlwaysESRB->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysESRB->TabIndex = 5;
this->cboxAlwaysESRB->UseVisualStyleBackColor = true;
//
// cboxAlwaysCERO
//
this->cboxAlwaysCERO->AutoSize = true;
this->cboxAlwaysCERO->Location = System::Drawing::Point(373, 78);
this->cboxAlwaysCERO->Name = L"cboxAlwaysCERO";
this->cboxAlwaysCERO->Size = System::Drawing::Size(15, 14);
this->cboxAlwaysCERO->TabIndex = 2;
this->cboxAlwaysCERO->UseVisualStyleBackColor = true;
//
// combOFLC
//
this->combOFLC->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combOFLC->FormattingEnabled = true;
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"G", L"PG", L"M", L"MA15+", L"未審査"});
this->combOFLC->Location = System::Drawing::Point(95, 231);
this->combOFLC->Name = L"combOFLC";
this->combOFLC->Size = System::Drawing::Size(164, 20);
this->combOFLC->TabIndex = 18;
//
// combPEGIBBFC
//
this->combPEGIBBFC->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combPEGIBBFC->FormattingEnabled = true;
this->combPEGIBBFC->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"3歳以上", L"4歳以上推奨", L"7歳以上", L"8歳以上推奨", L"12歳以上",
L"15歳以上", L"16歳以上", L"18歳以上", L"未審査"});
this->combPEGIBBFC->Location = System::Drawing::Point(95, 205);
this->combPEGIBBFC->Name = L"combPEGIBBFC";
this->combPEGIBBFC->Size = System::Drawing::Size(164, 20);
this->combPEGIBBFC->TabIndex = 15;
//
// combPEGIPRT
//
this->combPEGIPRT->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combPEGIPRT->FormattingEnabled = true;
this->combPEGIPRT->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"4歳以上", L"6歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGIPRT->Location = System::Drawing::Point(95, 179);
this->combPEGIPRT->Name = L"combPEGIPRT";
this->combPEGIPRT->Size = System::Drawing::Size(164, 20);
this->combPEGIPRT->TabIndex = 12;
//
// combPEGI
//
this->combPEGI->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combPEGI->FormattingEnabled = true;
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"3歳以上", L"7歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGI->Location = System::Drawing::Point(95, 153);
this->combPEGI->Name = L"combPEGI";
this->combPEGI->Size = System::Drawing::Size(164, 20);
this->combPEGI->TabIndex = 9;
//
// combUSK
//
this->combUSK->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combUSK->FormattingEnabled = true;
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"年齢制限なし", L"6歳以上", L"12歳以上", L"16歳以上", L"青少年には不適切",
L"未審査"});
this->combUSK->Location = System::Drawing::Point(95, 127);
this->combUSK->Name = L"combUSK";
this->combUSK->Size = System::Drawing::Size(164, 20);
this->combUSK->TabIndex = 6;
//
// combESRB
//
this->combESRB->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combESRB->FormattingEnabled = true;
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"EC (3歳以上)", L"E (6歳以上)", L"E10+ (10歳以上)", L"T (13歳以上)",
L"M (17歳以上)", L"未審査"});
this->combESRB->Location = System::Drawing::Point(95, 101);
this->combESRB->Name = L"combESRB";
this->combESRB->Size = System::Drawing::Size(164, 20);
this->combESRB->TabIndex = 3;
//
// combCERO
//
this->combCERO->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combCERO->FormattingEnabled = true;
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"A (全年齢)", L"B (12歳以上)", L"C (15歳以上)", L"D (17歳以上)",
L"Z (18歳以上)", L"未審査"});
this->combCERO->Location = System::Drawing::Point(95, 75);
this->combCERO->Name = L"combCERO";
this->combCERO->Size = System::Drawing::Size(164, 20);
this->combCERO->TabIndex = 0;
//
// cboxOFLC
//
this->cboxOFLC->AutoSize = true;
this->cboxOFLC->Location = System::Drawing::Point(296, 234);
this->cboxOFLC->Name = L"cboxOFLC";
this->cboxOFLC->Size = System::Drawing::Size(15, 14);
this->cboxOFLC->TabIndex = 19;
this->cboxOFLC->UseVisualStyleBackColor = true;
//
// cboxPEGIBBFC
//
this->cboxPEGIBBFC->AutoSize = true;
this->cboxPEGIBBFC->Location = System::Drawing::Point(296, 208);
this->cboxPEGIBBFC->Name = L"cboxPEGIBBFC";
this->cboxPEGIBBFC->Size = System::Drawing::Size(15, 14);
this->cboxPEGIBBFC->TabIndex = 16;
this->cboxPEGIBBFC->UseVisualStyleBackColor = true;
//
// cboxPEGIPRT
//
this->cboxPEGIPRT->AutoSize = true;
this->cboxPEGIPRT->Location = System::Drawing::Point(296, 182);
this->cboxPEGIPRT->Name = L"cboxPEGIPRT";
this->cboxPEGIPRT->Size = System::Drawing::Size(15, 14);
this->cboxPEGIPRT->TabIndex = 13;
this->cboxPEGIPRT->UseVisualStyleBackColor = true;
//
// cboxPEGI
//
this->cboxPEGI->AutoSize = true;
this->cboxPEGI->Location = System::Drawing::Point(296, 156);
this->cboxPEGI->Name = L"cboxPEGI";
this->cboxPEGI->Size = System::Drawing::Size(15, 14);
this->cboxPEGI->TabIndex = 10;
this->cboxPEGI->UseVisualStyleBackColor = true;
//
// cboxUSK
//
this->cboxUSK->AutoSize = true;
this->cboxUSK->Location = System::Drawing::Point(296, 130);
this->cboxUSK->Name = L"cboxUSK";
this->cboxUSK->Size = System::Drawing::Size(15, 14);
this->cboxUSK->TabIndex = 7;
this->cboxUSK->UseVisualStyleBackColor = true;
//
// cboxESRB
//
this->cboxESRB->AutoSize = true;
this->cboxESRB->Location = System::Drawing::Point(296, 104);
this->cboxESRB->Name = L"cboxESRB";
this->cboxESRB->Size = System::Drawing::Size(15, 14);
this->cboxESRB->TabIndex = 4;
this->cboxESRB->UseVisualStyleBackColor = true;
//
// cboxCERO
//
this->cboxCERO->AutoSize = true;
this->cboxCERO->Location = System::Drawing::Point(296, 78);
this->cboxCERO->Name = L"cboxCERO";
this->cboxCERO->Size = System::Drawing::Size(15, 14);
this->cboxCERO->TabIndex = 1;
this->cboxCERO->UseVisualStyleBackColor = true;
//
// labParentalForceEnable
//
this->labParentalForceEnable->AutoSize = true;
this->labParentalForceEnable->Location = System::Drawing::Point(347, 59);
this->labParentalForceEnable->Name = L"labParentalForceEnable";
this->labParentalForceEnable->Size = System::Drawing::Size(82, 12);
this->labParentalForceEnable->TabIndex = 0;
this->labParentalForceEnable->Text = L"Rating Pending";
//
// labParentalRating
//
this->labParentalRating->AutoSize = true;
this->labParentalRating->Location = System::Drawing::Point(139, 59);
this->labParentalRating->Name = L"labParentalRating";
this->labParentalRating->Size = System::Drawing::Size(58, 12);
this->labParentalRating->TabIndex = 2;
this->labParentalRating->Text = L"レーティング";
//
// labParentalEnable
//
this->labParentalEnable->AutoSize = true;
this->labParentalEnable->Location = System::Drawing::Point(263, 59);
this->labParentalEnable->Name = L"labParentalEnable";
this->labParentalEnable->Size = System::Drawing::Size(62, 12);
this->labParentalEnable->TabIndex = 1;
this->labParentalEnable->Text = L"制限を有効";
//
// labRegion
//
this->labRegion->AutoSize = true;
this->labRegion->Location = System::Drawing::Point(12, 24);
this->labRegion->Name = L"labRegion";
this->labRegion->Size = System::Drawing::Size(75, 12);
this->labRegion->TabIndex = 37;
this->labRegion->Text = L"カードリージョン";
//
// cboxIsEULA
//
this->cboxIsEULA->AutoSize = true;
this->cboxIsEULA->Location = System::Drawing::Point(17, 18);
this->cboxIsEULA->Name = L"cboxIsEULA";
this->cboxIsEULA->Size = System::Drawing::Size(77, 16);
this->cboxIsEULA->TabIndex = 0;
this->cboxIsEULA->Text = L"EULA同意";
this->cboxIsEULA->UseVisualStyleBackColor = true;
//
// combRegion
//
this->combRegion->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->combRegion->FormattingEnabled = true;
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"日本のみ", L"米国のみ", L"欧州のみ", L"豪州のみ", L"欧州および豪州"});
this->combRegion->Location = System::Drawing::Point(95, 21);
this->combRegion->Name = L"combRegion";
this->combRegion->Size = System::Drawing::Size(216, 20);
this->combRegion->TabIndex = 36;
this->combRegion->SelectedIndexChanged += gcnew System::EventHandler(this, &Form1::combRegion_SelectedIndexChanged);
//
// cboxIsWiFiIcon
//
this->cboxIsWiFiIcon->AutoSize = true;
this->cboxIsWiFiIcon->Location = System::Drawing::Point(6, 43);
this->cboxIsWiFiIcon->Name = L"cboxIsWiFiIcon";
this->cboxIsWiFiIcon->Size = System::Drawing::Size(135, 16);
this->cboxIsWiFiIcon->TabIndex = 3;
this->cboxIsWiFiIcon->Text = L"Wi-Fi通信アイコン表示";
this->cboxIsWiFiIcon->UseVisualStyleBackColor = true;
//
// labEULA
//
this->labEULA->AutoSize = true;
this->labEULA->Location = System::Drawing::Point(14, 44);
this->labEULA->Name = L"labEULA";
this->labEULA->Size = System::Drawing::Size(103, 12);
this->labEULA->TabIndex = 7;
this->labEULA->Text = L"EULA同意バージョン";
//
// cboxIsWirelessIcon
//
this->cboxIsWirelessIcon->AutoSize = true;
this->cboxIsWirelessIcon->Location = System::Drawing::Point(6, 18);
this->cboxIsWirelessIcon->Name = L"cboxIsWirelessIcon";
this->cboxIsWirelessIcon->Size = System::Drawing::Size(168, 16);
this->cboxIsWirelessIcon->TabIndex = 2;
this->cboxIsWirelessIcon->Text = L"DSワイヤレス通信アイコン表示";
this->cboxIsWirelessIcon->UseVisualStyleBackColor = true;
//
// numEULA
//
this->numEULA->Location = System::Drawing::Point(130, 39);
this->numEULA->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
this->numEULA->Name = L"numEULA";
this->numEULA->Size = System::Drawing::Size(45, 19);
this->numEULA->TabIndex = 1;
this->numEULA->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// cboxIsInputPerson2
//
this->cboxIsInputPerson2->AutoSize = true;
this->cboxIsInputPerson2->Location = System::Drawing::Point(392, 66);
this->cboxIsInputPerson2->Name = L"cboxIsInputPerson2";
this->cboxIsInputPerson2->Size = System::Drawing::Size(150, 16);
this->cboxIsInputPerson2->TabIndex = 7;
this->cboxIsInputPerson2->Text = L"担当者2を入力する(任意)";
this->cboxIsInputPerson2->UseVisualStyleBackColor = true;
this->cboxIsInputPerson2->CheckedChanged += gcnew System::EventHandler(this, &Form1::cboxIsInputPerson2_CheckedChanged);
//
// gboxPerson2
//
this->gboxPerson2->Controls->Add(this->labNTSC2Sur);
this->gboxPerson2->Controls->Add(this->tboxNTSC2);
this->gboxPerson2->Controls->Add(this->labFax2);
this->gboxPerson2->Controls->Add(this->labNTSC2Pre);
this->gboxPerson2->Controls->Add(this->tboxFax2);
this->gboxPerson2->Controls->Add(this->tboxMail2);
this->gboxPerson2->Controls->Add(this->tboxTel2);
this->gboxPerson2->Controls->Add(this->tboxFurigana2);
this->gboxPerson2->Controls->Add(this->tboxPerson2);
this->gboxPerson2->Controls->Add(this->tboxDepart2);
this->gboxPerson2->Controls->Add(this->labDepart2);
this->gboxPerson2->Controls->Add(this->tboxCompany2);
this->gboxPerson2->Controls->Add(this->labMail2);
this->gboxPerson2->Controls->Add(this->labTel2);
this->gboxPerson2->Controls->Add(this->labFurigana2);
this->gboxPerson2->Controls->Add(this->labPerson2);
this->gboxPerson2->Controls->Add(this->labCompany2);
this->gboxPerson2->Enabled = false;
this->gboxPerson2->Location = System::Drawing::Point(377, 88);
this->gboxPerson2->Name = L"gboxPerson2";
this->gboxPerson2->Size = System::Drawing::Size(347, 234);
this->gboxPerson2->TabIndex = 14;
this->gboxPerson2->TabStop = false;
this->gboxPerson2->Text = L"担当者2";
//
// labNTSC2Sur
//
this->labNTSC2Sur->AutoSize = true;
this->labNTSC2Sur->Location = System::Drawing::Point(18, 214);
this->labNTSC2Sur->Name = L"labNTSC2Sur";
this->labNTSC2Sur->Size = System::Drawing::Size(44, 12);
this->labNTSC2Sur->TabIndex = 12;
this->labNTSC2Sur->Text = L"User ID";
//
// tboxNTSC2
//
this->tboxNTSC2->Location = System::Drawing::Point(66, 200);
this->tboxNTSC2->MaxLength = 50;
this->tboxNTSC2->Name = L"tboxNTSC2";
this->tboxNTSC2->Size = System::Drawing::Size(268, 19);
this->tboxNTSC2->TabIndex = 11;
//
// labFax2
//
this->labFax2->AutoSize = true;
this->labFax2->Location = System::Drawing::Point(26, 152);
this->labFax2->Name = L"labFax2";
this->labFax2->Size = System::Drawing::Size(27, 12);
this->labFax2->TabIndex = 4;
this->labFax2->Text = L"FAX";
//
// labNTSC2Pre
//
this->labNTSC2Pre->AutoSize = true;
this->labNTSC2Pre->Location = System::Drawing::Point(18, 200);
this->labNTSC2Pre->Name = L"labNTSC2Pre";
this->labNTSC2Pre->Size = System::Drawing::Size(35, 12);
this->labNTSC2Pre->TabIndex = 11;
this->labNTSC2Pre->Text = L"NTSC";
//
// tboxFax2
//
this->tboxFax2->Location = System::Drawing::Point(66, 149);
this->tboxFax2->MaxLength = 20;
this->tboxFax2->Name = L"tboxFax2";
this->tboxFax2->Size = System::Drawing::Size(140, 19);
this->tboxFax2->TabIndex = 13;
//
// tboxMail2
//
this->tboxMail2->Location = System::Drawing::Point(66, 175);
this->tboxMail2->MaxLength = 50;
this->tboxMail2->Name = L"tboxMail2";
this->tboxMail2->Size = System::Drawing::Size(268, 19);
this->tboxMail2->TabIndex = 14;
//
// tboxTel2
//
this->tboxTel2->Location = System::Drawing::Point(66, 125);
this->tboxTel2->MaxLength = 20;
this->tboxTel2->Name = L"tboxTel2";
this->tboxTel2->Size = System::Drawing::Size(140, 19);
this->tboxTel2->TabIndex = 12;
//
// tboxFurigana2
//
this->tboxFurigana2->Location = System::Drawing::Point(66, 100);
this->tboxFurigana2->MaxLength = 50;
this->tboxFurigana2->Name = L"tboxFurigana2";
this->tboxFurigana2->Size = System::Drawing::Size(268, 19);
this->tboxFurigana2->TabIndex = 11;
//
// tboxPerson2
//
this->tboxPerson2->Location = System::Drawing::Point(66, 75);
this->tboxPerson2->MaxLength = 50;
this->tboxPerson2->Name = L"tboxPerson2";
this->tboxPerson2->Size = System::Drawing::Size(268, 19);
this->tboxPerson2->TabIndex = 10;
//
// tboxDepart2
//
this->tboxDepart2->Location = System::Drawing::Point(66, 50);
this->tboxDepart2->MaxLength = 50;
this->tboxDepart2->Name = L"tboxDepart2";
this->tboxDepart2->Size = System::Drawing::Size(268, 19);
this->tboxDepart2->TabIndex = 9;
//
// labDepart2
//
this->labDepart2->AutoSize = true;
this->labDepart2->Location = System::Drawing::Point(12, 53);
this->labDepart2->Name = L"labDepart2";
this->labDepart2->Size = System::Drawing::Size(41, 12);
this->labDepart2->TabIndex = 7;
this->labDepart2->Text = L"部署名";
//
// tboxCompany2
//
this->tboxCompany2->Location = System::Drawing::Point(66, 25);
this->tboxCompany2->MaxLength = 50;
this->tboxCompany2->Name = L"tboxCompany2";
this->tboxCompany2->Size = System::Drawing::Size(268, 19);
this->tboxCompany2->TabIndex = 8;
//
// labMail2
//
this->labMail2->AutoSize = true;
this->labMail2->Location = System::Drawing::Point(18, 178);
this->labMail2->Name = L"labMail2";
this->labMail2->Size = System::Drawing::Size(38, 12);
this->labMail2->TabIndex = 5;
this->labMail2->Text = L"e-mail";
//
// labTel2
//
this->labTel2->AutoSize = true;
this->labTel2->Location = System::Drawing::Point(28, 128);
this->labTel2->Name = L"labTel2";
this->labTel2->Size = System::Drawing::Size(25, 12);
this->labTel2->TabIndex = 3;
this->labTel2->Text = L"TEL";
//
// labFurigana2
//
this->labFurigana2->AutoSize = true;
this->labFurigana2->Location = System::Drawing::Point(9, 103);
this->labFurigana2->Name = L"labFurigana2";
this->labFurigana2->Size = System::Drawing::Size(51, 12);
this->labFurigana2->TabIndex = 2;
this->labFurigana2->Text = L"(ふりがな)";
//
// labPerson2
//
this->labPerson2->AutoSize = true;
this->labPerson2->Location = System::Drawing::Point(12, 78);
this->labPerson2->Name = L"labPerson2";
this->labPerson2->Size = System::Drawing::Size(38, 12);
this->labPerson2->TabIndex = 1;
this->labPerson2->Text = L"ご氏名";
//
// labCompany2
//
this->labCompany2->AutoSize = true;
this->labCompany2->Location = System::Drawing::Point(12, 28);
this->labCompany2->Name = L"labCompany2";
this->labCompany2->Size = System::Drawing::Size(41, 12);
this->labCompany2->TabIndex = 0;
this->labCompany2->Text = L"貴社名";
//
// gboxPerson1
//
this->gboxPerson1->Controls->Add(this->labNTSC1Sur);
this->gboxPerson1->Controls->Add(this->labFax1);
this->gboxPerson1->Controls->Add(this->labNTSC1Pre);
this->gboxPerson1->Controls->Add(this->tboxNTSC1);
this->gboxPerson1->Controls->Add(this->tboxFax1);
this->gboxPerson1->Controls->Add(this->tboxMail1);
this->gboxPerson1->Controls->Add(this->tboxTel1);
this->gboxPerson1->Controls->Add(this->tboxFurigana1);
this->gboxPerson1->Controls->Add(this->tboxPerson1);
this->gboxPerson1->Controls->Add(this->tboxDepart1);
this->gboxPerson1->Controls->Add(this->labDepart1);
this->gboxPerson1->Controls->Add(this->tboxCompany1);
this->gboxPerson1->Controls->Add(this->labMail1);
this->gboxPerson1->Controls->Add(this->labTel1);
this->gboxPerson1->Controls->Add(this->labFurigana1);
this->gboxPerson1->Controls->Add(this->labPerson1);
this->gboxPerson1->Controls->Add(this->labCompany1);
this->gboxPerson1->Location = System::Drawing::Point(17, 88);
this->gboxPerson1->Name = L"gboxPerson1";
this->gboxPerson1->Size = System::Drawing::Size(344, 234);
this->gboxPerson1->TabIndex = 8;
this->gboxPerson1->TabStop = false;
this->gboxPerson1->Text = L"担当者1";
//
// labNTSC1Sur
//
this->labNTSC1Sur->AutoSize = true;
this->labNTSC1Sur->Location = System::Drawing::Point(18, 214);
this->labNTSC1Sur->Name = L"labNTSC1Sur";
this->labNTSC1Sur->Size = System::Drawing::Size(44, 12);
this->labNTSC1Sur->TabIndex = 10;
this->labNTSC1Sur->Text = L"User ID";
//
// labFax1
//
this->labFax1->AutoSize = true;
this->labFax1->Location = System::Drawing::Point(26, 152);
this->labFax1->Name = L"labFax1";
this->labFax1->Size = System::Drawing::Size(27, 12);
this->labFax1->TabIndex = 4;
this->labFax1->Text = L"FAX";
//
// labNTSC1Pre
//
this->labNTSC1Pre->AutoSize = true;
this->labNTSC1Pre->Location = System::Drawing::Point(18, 200);
this->labNTSC1Pre->Name = L"labNTSC1Pre";
this->labNTSC1Pre->Size = System::Drawing::Size(35, 12);
this->labNTSC1Pre->TabIndex = 9;
this->labNTSC1Pre->Text = L"NTSC";
//
// tboxNTSC1
//
this->tboxNTSC1->Location = System::Drawing::Point(66, 200);
this->tboxNTSC1->MaxLength = 50;
this->tboxNTSC1->Name = L"tboxNTSC1";
this->tboxNTSC1->Size = System::Drawing::Size(261, 19);
this->tboxNTSC1->TabIndex = 8;
//
// tboxFax1
//
this->tboxFax1->Location = System::Drawing::Point(66, 149);
this->tboxFax1->MaxLength = 20;
this->tboxFax1->Name = L"tboxFax1";
this->tboxFax1->Size = System::Drawing::Size(131, 19);
this->tboxFax1->TabIndex = 5;
//
// tboxMail1
//
this->tboxMail1->Location = System::Drawing::Point(66, 175);
this->tboxMail1->MaxLength = 50;
this->tboxMail1->Name = L"tboxMail1";
this->tboxMail1->Size = System::Drawing::Size(261, 19);
this->tboxMail1->TabIndex = 6;
//
// tboxTel1
//
this->tboxTel1->Location = System::Drawing::Point(66, 125);
this->tboxTel1->MaxLength = 20;
this->tboxTel1->Name = L"tboxTel1";
this->tboxTel1->Size = System::Drawing::Size(131, 19);
this->tboxTel1->TabIndex = 4;
//
// tboxFurigana1
//
this->tboxFurigana1->Location = System::Drawing::Point(66, 100);
this->tboxFurigana1->MaxLength = 50;
this->tboxFurigana1->Name = L"tboxFurigana1";
this->tboxFurigana1->Size = System::Drawing::Size(261, 19);
this->tboxFurigana1->TabIndex = 3;
//
// tboxPerson1
//
this->tboxPerson1->Location = System::Drawing::Point(66, 75);
this->tboxPerson1->MaxLength = 50;
this->tboxPerson1->Name = L"tboxPerson1";
this->tboxPerson1->Size = System::Drawing::Size(261, 19);
this->tboxPerson1->TabIndex = 2;
//
// tboxDepart1
//
this->tboxDepart1->Location = System::Drawing::Point(66, 50);
this->tboxDepart1->MaxLength = 50;
this->tboxDepart1->Name = L"tboxDepart1";
this->tboxDepart1->Size = System::Drawing::Size(261, 19);
this->tboxDepart1->TabIndex = 1;
//
// labDepart1
//
this->labDepart1->AutoSize = true;
this->labDepart1->Location = System::Drawing::Point(12, 53);
this->labDepart1->Name = L"labDepart1";
this->labDepart1->Size = System::Drawing::Size(41, 12);
this->labDepart1->TabIndex = 7;
this->labDepart1->Text = L"部署名";
//
// tboxCompany1
//
this->tboxCompany1->Location = System::Drawing::Point(66, 25);
this->tboxCompany1->MaxLength = 50;
this->tboxCompany1->Name = L"tboxCompany1";
this->tboxCompany1->Size = System::Drawing::Size(261, 19);
this->tboxCompany1->TabIndex = 0;
//
// labMail1
//
this->labMail1->AutoSize = true;
this->labMail1->Location = System::Drawing::Point(18, 178);
this->labMail1->Name = L"labMail1";
this->labMail1->Size = System::Drawing::Size(38, 12);
this->labMail1->TabIndex = 5;
this->labMail1->Text = L"e-mail";
//
// labTel1
//
this->labTel1->AutoSize = true;
this->labTel1->Location = System::Drawing::Point(28, 128);
this->labTel1->Name = L"labTel1";
this->labTel1->Size = System::Drawing::Size(25, 12);
this->labTel1->TabIndex = 3;
this->labTel1->Text = L"TEL";
//
// labFurigana1
//
this->labFurigana1->AutoSize = true;
this->labFurigana1->Location = System::Drawing::Point(9, 103);
this->labFurigana1->Name = L"labFurigana1";
this->labFurigana1->Size = System::Drawing::Size(51, 12);
this->labFurigana1->TabIndex = 2;
this->labFurigana1->Text = L"(ふりがな)";
//
// labPerson1
//
this->labPerson1->AutoSize = true;
this->labPerson1->Location = System::Drawing::Point(12, 78);
this->labPerson1->Name = L"labPerson1";
this->labPerson1->Size = System::Drawing::Size(38, 12);
this->labPerson1->TabIndex = 1;
this->labPerson1->Text = L"ご氏名";
//
// labCompany1
//
this->labCompany1->AutoSize = true;
this->labCompany1->Location = System::Drawing::Point(12, 28);
this->labCompany1->Name = L"labCompany1";
this->labCompany1->Size = System::Drawing::Size(41, 12);
this->labCompany1->TabIndex = 0;
this->labCompany1->Text = L"貴社名";
//
// tboxProductCode2
//
this->tboxProductCode2->Location = System::Drawing::Point(177, 86);
this->tboxProductCode2->MaxLength = 4;
this->tboxProductCode2->Name = L"tboxProductCode2";
this->tboxProductCode2->Size = System::Drawing::Size(56, 19);
this->tboxProductCode2->TabIndex = 2;
//
// tboxProductCode1
//
this->tboxProductCode1->Location = System::Drawing::Point(142, 86);
this->tboxProductCode1->MaxLength = 1;
this->tboxProductCode1->Name = L"tboxProductCode1";
this->tboxProductCode1->Size = System::Drawing::Size(18, 19);
this->tboxProductCode1->TabIndex = 1;
//
// tboxProductName
//
this->tboxProductName->Location = System::Drawing::Point(106, 58);
this->tboxProductName->Name = L"tboxProductName";
this->tboxProductName->Size = System::Drawing::Size(225, 19);
this->tboxProductName->TabIndex = 0;
//
// labProductCode2
//
this->labProductCode2->AutoSize = true;
this->labProductCode2->Location = System::Drawing::Point(166, 89);
this->labProductCode2->Name = L"labProductCode2";
this->labProductCode2->Size = System::Drawing::Size(11, 12);
this->labProductCode2->TabIndex = 33;
this->labProductCode2->Text = L"-";
//
// labProductCode1
//
this->labProductCode1->AutoSize = true;
this->labProductCode1->Location = System::Drawing::Point(106, 89);
this->labProductCode1->Name = L"labProductCode1";
this->labProductCode1->Size = System::Drawing::Size(37, 12);
this->labProductCode1->TabIndex = 32;
this->labProductCode1->Text = L"TWL -";
//
// dateSubmit
//
this->dateSubmit->Format = System::Windows::Forms::DateTimePickerFormat::Short;
this->dateSubmit->Location = System::Drawing::Point(108, 145);
this->dateSubmit->MaxDate = System::DateTime(2099, 12, 31, 0, 0, 0, 0);
this->dateSubmit->MinDate = System::DateTime(2008, 1, 1, 0, 0, 0, 0);
this->dateSubmit->Name = L"dateSubmit";
this->dateSubmit->Size = System::Drawing::Size(103, 19);
this->dateSubmit->TabIndex = 4;
this->dateSubmit->Value = System::DateTime(2008, 7, 30, 17, 43, 18, 405);
//
// dateRelease
//
this->dateRelease->Format = System::Windows::Forms::DateTimePickerFormat::Short;
this->dateRelease->Location = System::Drawing::Point(108, 116);
this->dateRelease->MaxDate = System::DateTime(2099, 12, 31, 0, 0, 0, 0);
this->dateRelease->MinDate = System::DateTime(2008, 1, 1, 0, 0, 0, 0);
this->dateRelease->Name = L"dateRelease";
this->dateRelease->Size = System::Drawing::Size(103, 19);
this->dateRelease->TabIndex = 3;
this->dateRelease->Value = System::DateTime(2008, 7, 30, 17, 43, 18, 420);
//
// gboxUsage
//
this->gboxUsage->Controls->Add(this->tboxUsageOther);
this->gboxUsage->Controls->Add(this->rUsageOther);
this->gboxUsage->Controls->Add(this->rUsageDst);
this->gboxUsage->Controls->Add(this->rUsageSample);
this->gboxUsage->Controls->Add(this->rUsageSale);
this->gboxUsage->Location = System::Drawing::Point(18, 263);
this->gboxUsage->Name = L"gboxUsage";
this->gboxUsage->Size = System::Drawing::Size(310, 74);
this->gboxUsage->TabIndex = 6;
this->gboxUsage->TabStop = false;
this->gboxUsage->Text = L"用途";
//
// tboxUsageOther
//
this->tboxUsageOther->Enabled = false;
this->tboxUsageOther->Location = System::Drawing::Point(71, 42);
this->tboxUsageOther->Name = L"tboxUsageOther";
this->tboxUsageOther->Size = System::Drawing::Size(214, 19);
this->tboxUsageOther->TabIndex = 4;
//
// rUsageOther
//
this->rUsageOther->AutoSize = true;
this->rUsageOther->Location = System::Drawing::Point(6, 43);
this->rUsageOther->Name = L"rUsageOther";
this->rUsageOther->Size = System::Drawing::Size(54, 16);
this->rUsageOther->TabIndex = 3;
this->rUsageOther->Text = L"その他";
this->rUsageOther->UseVisualStyleBackColor = true;
this->rUsageOther->CheckedChanged += gcnew System::EventHandler(this, &Form1::rUsageOther_CheckedChanged);
//
// rUsageDst
//
this->rUsageDst->AutoSize = true;
this->rUsageDst->Location = System::Drawing::Point(198, 17);
this->rUsageDst->Name = L"rUsageDst";
this->rUsageDst->Size = System::Drawing::Size(87, 16);
this->rUsageDst->TabIndex = 2;
this->rUsageDst->Text = L"データ配信用";
this->rUsageDst->UseVisualStyleBackColor = true;
//
// rUsageSample
//
this->rUsageSample->AutoSize = true;
this->rUsageSample->Location = System::Drawing::Point(106, 17);
this->rUsageSample->Name = L"rUsageSample";
this->rUsageSample->Size = System::Drawing::Size(71, 16);
this->rUsageSample->TabIndex = 1;
this->rUsageSample->Text = L"試遊台用";
this->rUsageSample->UseVisualStyleBackColor = true;
//
// rUsageSale
//
this->rUsageSale->AutoSize = true;
this->rUsageSale->Checked = true;
this->rUsageSale->Location = System::Drawing::Point(6, 17);
this->rUsageSale->Name = L"rUsageSale";
this->rUsageSale->Size = System::Drawing::Size(83, 16);
this->rUsageSale->TabIndex = 0;
this->rUsageSale->TabStop = true;
this->rUsageSale->Text = L"一般販売用";
this->rUsageSale->UseVisualStyleBackColor = true;
//
// gboxSubmitWay
//
this->gboxSubmitWay->Controls->Add(this->rSubmitHand);
this->gboxSubmitWay->Controls->Add(this->rSubmitPost);
this->gboxSubmitWay->Location = System::Drawing::Point(18, 212);
this->gboxSubmitWay->Name = L"gboxSubmitWay";
this->gboxSubmitWay->Size = System::Drawing::Size(155, 45);
this->gboxSubmitWay->TabIndex = 5;
this->gboxSubmitWay->TabStop = false;
this->gboxSubmitWay->Text = L"提出方法";
//
// rSubmitHand
//
this->rSubmitHand->AutoSize = true;
this->rSubmitHand->Location = System::Drawing::Point(82, 18);
this->rSubmitHand->Name = L"rSubmitHand";
this->rSubmitHand->Size = System::Drawing::Size(56, 16);
this->rSubmitHand->TabIndex = 1;
this->rSubmitHand->Text = L"手渡し";
this->rSubmitHand->UseVisualStyleBackColor = true;
//
// rSubmitPost
//
this->rSubmitPost->AutoSize = true;
this->rSubmitPost->Checked = true;
this->rSubmitPost->Location = System::Drawing::Point(6, 18);
this->rSubmitPost->Name = L"rSubmitPost";
this->rSubmitPost->Size = System::Drawing::Size(47, 16);
this->rSubmitPost->TabIndex = 0;
this->rSubmitPost->TabStop = true;
this->rSubmitPost->Text = L"郵送";
this->rSubmitPost->UseVisualStyleBackColor = true;
//
// labSubmiteDate
//
this->labSubmiteDate->AutoSize = true;
this->labSubmiteDate->Location = System::Drawing::Point(16, 148);
this->labSubmiteDate->Name = L"labSubmiteDate";
this->labSubmiteDate->Size = System::Drawing::Size(65, 12);
this->labSubmiteDate->TabIndex = 11;
this->labSubmiteDate->Text = L"書類提出日";
//
// labReleaseDate
//
this->labReleaseDate->AutoSize = true;
this->labReleaseDate->Location = System::Drawing::Point(17, 119);
this->labReleaseDate->Name = L"labReleaseDate";
this->labReleaseDate->Size = System::Drawing::Size(65, 12);
this->labReleaseDate->TabIndex = 7;
this->labReleaseDate->Text = L"発売予定日";
//
// labProductCode
//
this->labProductCode->AutoSize = true;
this->labProductCode->Location = System::Drawing::Point(16, 89);
this->labProductCode->Name = L"labProductCode";
this->labProductCode->Size = System::Drawing::Size(56, 12);
this->labProductCode->TabIndex = 6;
this->labProductCode->Text = L"製品コード";
//
// labProductName
//
this->labProductName->AutoSize = true;
this->labProductName->Location = System::Drawing::Point(16, 58);
this->labProductName->Name = L"labProductName";
this->labProductName->Size = System::Drawing::Size(41, 12);
this->labProductName->TabIndex = 5;
this->labProductName->Text = L"製品名";
//
// labCapSubmitVer
//
this->labCapSubmitVer->AutoSize = true;
this->labCapSubmitVer->Location = System::Drawing::Point(106, 199);
this->labCapSubmitVer->Name = L"labCapSubmitVer";
this->labCapSubmitVer->Size = System::Drawing::Size(233, 12);
this->labCapSubmitVer->TabIndex = 26;
this->labCapSubmitVer->Text = L"* リマスターバージョンが上がると再び0からカウント";
//
// numSubmitVersion
//
this->numSubmitVersion->Location = System::Drawing::Point(108, 177);
this->numSubmitVersion->Name = L"numSubmitVersion";
this->numSubmitVersion->Size = System::Drawing::Size(38, 19);
this->numSubmitVersion->TabIndex = 9;
//
// labSubmitVer
//
this->labSubmitVer->AutoSize = true;
this->labSubmitVer->Location = System::Drawing::Point(17, 179);
this->labSubmitVer->Name = L"labSubmitVer";
this->labSubmitVer->Size = System::Drawing::Size(74, 12);
this->labSubmitVer->TabIndex = 24;
this->labSubmitVer->Text = L"提出バージョン";
//
// labMultiForeign1
//
this->labMultiForeign1->AutoSize = true;
this->labMultiForeign1->Location = System::Drawing::Point(217, 96);
this->labMultiForeign1->Name = L"labMultiForeign1";
this->labMultiForeign1->Size = System::Drawing::Size(101, 12);
this->labMultiForeign1->TabIndex = 44;
this->labMultiForeign1->Text = L"(複数ある場合のみ)";
//
// tboxProductCode2Foreign3
//
this->tboxProductCode2Foreign3->Enabled = false;
this->tboxProductCode2Foreign3->Location = System::Drawing::Point(165, 118);
this->tboxProductCode2Foreign3->MaxLength = 4;
this->tboxProductCode2Foreign3->Name = L"tboxProductCode2Foreign3";
this->tboxProductCode2Foreign3->Size = System::Drawing::Size(46, 19);
this->tboxProductCode2Foreign3->TabIndex = 43;
//
// tboxProductCode2Foreign2
//
this->tboxProductCode2Foreign2->Enabled = false;
this->tboxProductCode2Foreign2->Location = System::Drawing::Point(165, 93);
this->tboxProductCode2Foreign2->MaxLength = 4;
this->tboxProductCode2Foreign2->Name = L"tboxProductCode2Foreign2";
this->tboxProductCode2Foreign2->Size = System::Drawing::Size(46, 19);
this->tboxProductCode2Foreign2->TabIndex = 42;
//
// labProductCode2Foreign
//
this->labProductCode2Foreign->AutoSize = true;
this->labProductCode2Foreign->Location = System::Drawing::Point(152, 74);
this->labProductCode2Foreign->Name = L"labProductCode2Foreign";
this->labProductCode2Foreign->Size = System::Drawing::Size(11, 12);
this->labProductCode2Foreign->TabIndex = 41;
this->labProductCode2Foreign->Text = L"-";
//
// cboxReleaseForeign
//
this->cboxReleaseForeign->AutoSize = true;
this->cboxReleaseForeign->Location = System::Drawing::Point(17, 18);
this->cboxReleaseForeign->Name = L"cboxReleaseForeign";
this->cboxReleaseForeign->Size = System::Drawing::Size(144, 16);
this->cboxReleaseForeign->TabIndex = 11;
this->cboxReleaseForeign->Text = L"海外版を発売する(予定)";
this->cboxReleaseForeign->UseVisualStyleBackColor = true;
this->cboxReleaseForeign->CheckedChanged += gcnew System::EventHandler(this, &Form1::cboxReleaseForeign_CheckedChanged);
//
// labProductNameForeign
//
this->labProductNameForeign->AutoSize = true;
this->labProductNameForeign->Location = System::Drawing::Point(15, 43);
this->labProductNameForeign->Name = L"labProductNameForeign";
this->labProductNameForeign->Size = System::Drawing::Size(41, 12);
this->labProductNameForeign->TabIndex = 37;
this->labProductNameForeign->Text = L"製品名";
//
// tboxProductNameForeign
//
this->tboxProductNameForeign->Enabled = false;
this->tboxProductNameForeign->Location = System::Drawing::Point(92, 40);
this->tboxProductNameForeign->Name = L"tboxProductNameForeign";
this->tboxProductNameForeign->Size = System::Drawing::Size(240, 19);
this->tboxProductNameForeign->TabIndex = 12;
//
// labProductCode1Foreign
//
this->labProductCode1Foreign->AutoSize = true;
this->labProductCode1Foreign->Location = System::Drawing::Point(90, 74);
this->labProductCode1Foreign->Name = L"labProductCode1Foreign";
this->labProductCode1Foreign->Size = System::Drawing::Size(37, 12);
this->labProductCode1Foreign->TabIndex = 40;
this->labProductCode1Foreign->Text = L"TWL -";
//
// tboxProductCode1Foreign
//
this->tboxProductCode1Foreign->Enabled = false;
this->tboxProductCode1Foreign->Location = System::Drawing::Point(129, 69);
this->tboxProductCode1Foreign->MaxLength = 1;
this->tboxProductCode1Foreign->Name = L"tboxProductCode1Foreign";
this->tboxProductCode1Foreign->Size = System::Drawing::Size(18, 19);
this->tboxProductCode1Foreign->TabIndex = 13;
//
// labProductCodeForeign
//
this->labProductCodeForeign->AutoSize = true;
this->labProductCodeForeign->Location = System::Drawing::Point(15, 74);
this->labProductCodeForeign->Name = L"labProductCodeForeign";
this->labProductCodeForeign->Size = System::Drawing::Size(56, 12);
this->labProductCodeForeign->TabIndex = 38;
this->labProductCodeForeign->Text = L"製品コード";
//
// tboxProductCode2Foreign1
//
this->tboxProductCode2Foreign1->Enabled = false;
this->tboxProductCode2Foreign1->Location = System::Drawing::Point(165, 68);
this->tboxProductCode2Foreign1->MaxLength = 4;
this->tboxProductCode2Foreign1->Name = L"tboxProductCode2Foreign1";
this->tboxProductCode2Foreign1->Size = System::Drawing::Size(46, 19);
this->tboxProductCode2Foreign1->TabIndex = 14;
//
// gboxShared2Size
//
this->gboxShared2Size->Controls->Add(this->labShared2Size5);
this->gboxShared2Size->Controls->Add(this->labShared2Size4);
this->gboxShared2Size->Controls->Add(this->labShared2Size3);
this->gboxShared2Size->Controls->Add(this->labShared2Size2);
this->gboxShared2Size->Controls->Add(this->labShared2Size1);
this->gboxShared2Size->Controls->Add(this->labShared2Size0);
this->gboxShared2Size->Controls->Add(this->labKB5);
this->gboxShared2Size->Controls->Add(this->labKB4);
this->gboxShared2Size->Controls->Add(this->labKB3);
this->gboxShared2Size->Controls->Add(this->labKB2);
this->gboxShared2Size->Controls->Add(this->labKB1);
this->gboxShared2Size->Controls->Add(this->labKB0);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size5);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size4);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size3);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size2);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size1);
this->gboxShared2Size->Controls->Add(this->tboxShared2Size0);
this->gboxShared2Size->Controls->Add(this->cboxIsShared2);
this->gboxShared2Size->Location = System::Drawing::Point(547, 54);
this->gboxShared2Size->Name = L"gboxShared2Size";
this->gboxShared2Size->Size = System::Drawing::Size(175, 220);
this->gboxShared2Size->TabIndex = 1;
this->gboxShared2Size->TabStop = false;
this->gboxShared2Size->Text = L"Shared2ファイルサイズ";
//
// labShared2Size5
//
this->labShared2Size5->AutoSize = true;
this->labShared2Size5->Location = System::Drawing::Point(7, 180);
this->labShared2Size5->Name = L"labShared2Size5";
this->labShared2Size5->Size = System::Drawing::Size(34, 12);
this->labShared2Size5->TabIndex = 20;
this->labShared2Size5->Text = L"File 5";
//
// labShared2Size4
//
this->labShared2Size4->AutoSize = true;
this->labShared2Size4->Location = System::Drawing::Point(6, 155);
this->labShared2Size4->Name = L"labShared2Size4";
this->labShared2Size4->Size = System::Drawing::Size(34, 12);
this->labShared2Size4->TabIndex = 19;
this->labShared2Size4->Text = L"File 4";
//
// labShared2Size3
//
this->labShared2Size3->AutoSize = true;
this->labShared2Size3->Location = System::Drawing::Point(7, 130);
this->labShared2Size3->Name = L"labShared2Size3";
this->labShared2Size3->Size = System::Drawing::Size(34, 12);
this->labShared2Size3->TabIndex = 18;
this->labShared2Size3->Text = L"File 3";
//
// labShared2Size2
//
this->labShared2Size2->AutoSize = true;
this->labShared2Size2->Location = System::Drawing::Point(7, 105);
this->labShared2Size2->Name = L"labShared2Size2";
this->labShared2Size2->Size = System::Drawing::Size(34, 12);
this->labShared2Size2->TabIndex = 17;
this->labShared2Size2->Text = L"File 2";
//
// labShared2Size1
//
this->labShared2Size1->AutoSize = true;
this->labShared2Size1->Location = System::Drawing::Point(7, 80);
this->labShared2Size1->Name = L"labShared2Size1";
this->labShared2Size1->Size = System::Drawing::Size(34, 12);
this->labShared2Size1->TabIndex = 16;
this->labShared2Size1->Text = L"File 1";
//
// labShared2Size0
//
this->labShared2Size0->AutoSize = true;
this->labShared2Size0->Location = System::Drawing::Point(7, 55);
this->labShared2Size0->Name = L"labShared2Size0";
this->labShared2Size0->Size = System::Drawing::Size(34, 12);
this->labShared2Size0->TabIndex = 15;
this->labShared2Size0->Text = L"File 0";
//
// labKB5
//
this->labKB5->AutoSize = true;
this->labKB5->Location = System::Drawing::Point(142, 180);
this->labKB5->Name = L"labKB5";
this->labKB5->Size = System::Drawing::Size(20, 12);
this->labKB5->TabIndex = 14;
this->labKB5->Text = L"KB";
//
// labKB4
//
this->labKB4->AutoSize = true;
this->labKB4->Location = System::Drawing::Point(142, 155);
this->labKB4->Name = L"labKB4";
this->labKB4->Size = System::Drawing::Size(20, 12);
this->labKB4->TabIndex = 13;
this->labKB4->Text = L"KB";
//
// labKB3
//
this->labKB3->AutoSize = true;
this->labKB3->Location = System::Drawing::Point(142, 130);
this->labKB3->Name = L"labKB3";
this->labKB3->Size = System::Drawing::Size(20, 12);
this->labKB3->TabIndex = 12;
this->labKB3->Text = L"KB";
//
// labKB2
//
this->labKB2->AutoSize = true;
this->labKB2->Location = System::Drawing::Point(142, 105);
this->labKB2->Name = L"labKB2";
this->labKB2->Size = System::Drawing::Size(20, 12);
this->labKB2->TabIndex = 11;
this->labKB2->Text = L"KB";
//
// labKB1
//
this->labKB1->AutoSize = true;
this->labKB1->Location = System::Drawing::Point(142, 80);
this->labKB1->Name = L"labKB1";
this->labKB1->Size = System::Drawing::Size(20, 12);
this->labKB1->TabIndex = 10;
this->labKB1->Text = L"KB";
//
// labKB0
//
this->labKB0->AutoSize = true;
this->labKB0->Location = System::Drawing::Point(142, 55);
this->labKB0->Name = L"labKB0";
this->labKB0->Size = System::Drawing::Size(20, 12);
this->labKB0->TabIndex = 9;
this->labKB0->Text = L"KB";
//
// tboxShared2Size5
//
this->tboxShared2Size5->Location = System::Drawing::Point(46, 177);
this->tboxShared2Size5->Name = L"tboxShared2Size5";
this->tboxShared2Size5->ReadOnly = true;
this->tboxShared2Size5->Size = System::Drawing::Size(90, 19);
this->tboxShared2Size5->TabIndex = 8;
this->tboxShared2Size5->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size4
//
this->tboxShared2Size4->Location = System::Drawing::Point(47, 152);
this->tboxShared2Size4->Name = L"tboxShared2Size4";
this->tboxShared2Size4->ReadOnly = true;
this->tboxShared2Size4->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size4->TabIndex = 7;
this->tboxShared2Size4->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size3
//
this->tboxShared2Size3->Location = System::Drawing::Point(47, 127);
this->tboxShared2Size3->Name = L"tboxShared2Size3";
this->tboxShared2Size3->ReadOnly = true;
this->tboxShared2Size3->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size3->TabIndex = 6;
this->tboxShared2Size3->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size2
//
this->tboxShared2Size2->Location = System::Drawing::Point(47, 102);
this->tboxShared2Size2->Name = L"tboxShared2Size2";
this->tboxShared2Size2->ReadOnly = true;
this->tboxShared2Size2->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size2->TabIndex = 5;
this->tboxShared2Size2->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size1
//
this->tboxShared2Size1->Location = System::Drawing::Point(47, 77);
this->tboxShared2Size1->Name = L"tboxShared2Size1";
this->tboxShared2Size1->ReadOnly = true;
this->tboxShared2Size1->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size1->TabIndex = 4;
this->tboxShared2Size1->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxShared2Size0
//
this->tboxShared2Size0->Location = System::Drawing::Point(47, 52);
this->tboxShared2Size0->Name = L"tboxShared2Size0";
this->tboxShared2Size0->ReadOnly = true;
this->tboxShared2Size0->Size = System::Drawing::Size(89, 19);
this->tboxShared2Size0->TabIndex = 3;
this->tboxShared2Size0->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// cboxIsShared2
//
this->cboxIsShared2->AutoSize = true;
this->cboxIsShared2->Enabled = false;
this->cboxIsShared2->Location = System::Drawing::Point(8, 25);
this->cboxIsShared2->Name = L"cboxIsShared2";
this->cboxIsShared2->Size = System::Drawing::Size(123, 16);
this->cboxIsShared2->TabIndex = 2;
this->cboxIsShared2->Text = L"Shared2ファイル使用";
this->cboxIsShared2->UseVisualStyleBackColor = true;
//
// labLib
//
this->labLib->AutoSize = true;
this->labLib->Location = System::Drawing::Point(335, 174);
this->labLib->Name = L"labLib";
this->labLib->Size = System::Drawing::Size(70, 12);
this->labLib->TabIndex = 31;
this->labLib->Text = L"使用ライブラリ";
//
// tboxSDK
//
this->tboxSDK->Location = System::Drawing::Point(337, 67);
this->tboxSDK->Multiline = true;
this->tboxSDK->Name = L"tboxSDK";
this->tboxSDK->ReadOnly = true;
this->tboxSDK->ScrollBars = System::Windows::Forms::ScrollBars::Both;
this->tboxSDK->Size = System::Drawing::Size(175, 88);
this->tboxSDK->TabIndex = 10;
//
// labSDK
//
this->labSDK->AutoSize = true;
this->labSDK->Location = System::Drawing::Point(335, 52);
this->labSDK->Name = L"labSDK";
this->labSDK->Size = System::Drawing::Size(72, 12);
this->labSDK->TabIndex = 30;
this->labSDK->Text = L"SDKバージョン";
//
// gboxTWLExInfo
//
this->gboxTWLExInfo->Controls->Add(this->labByte5);
this->gboxTWLExInfo->Controls->Add(this->labByte4);
this->gboxTWLExInfo->Controls->Add(this->labByte3);
this->gboxTWLExInfo->Controls->Add(this->labByte2);
this->gboxTWLExInfo->Controls->Add(this->labByte1);
this->gboxTWLExInfo->Controls->Add(this->labHex4);
this->gboxTWLExInfo->Controls->Add(this->labHex3);
this->gboxTWLExInfo->Controls->Add(this->tboxIsCodec);
this->gboxTWLExInfo->Controls->Add(this->labIsCodec);
this->gboxTWLExInfo->Controls->Add(this->labNormalRomOffset);
this->gboxTWLExInfo->Controls->Add(this->tboxNormalRomOffset);
this->gboxTWLExInfo->Controls->Add(this->labKeyTableRomOffset);
this->gboxTWLExInfo->Controls->Add(this->tboxPrivateSize);
this->gboxTWLExInfo->Controls->Add(this->labPrivateSize);
this->gboxTWLExInfo->Controls->Add(this->tboxKeyTableRomOffset);
this->gboxTWLExInfo->Controls->Add(this->labPublicSize);
this->gboxTWLExInfo->Controls->Add(this->tboxPublicSize);
this->gboxTWLExInfo->Location = System::Drawing::Point(231, 54);
this->gboxTWLExInfo->Name = L"gboxTWLExInfo";
this->gboxTWLExInfo->Size = System::Drawing::Size(298, 146);
this->gboxTWLExInfo->TabIndex = 24;
this->gboxTWLExInfo->TabStop = false;
this->gboxTWLExInfo->Text = L"TWL拡張情報";
//
// labByte5
//
this->labByte5->AutoSize = true;
this->labByte5->Location = System::Drawing::Point(261, 121);
this->labByte5->Name = L"labByte5";
this->labByte5->Size = System::Drawing::Size(29, 12);
this->labByte5->TabIndex = 34;
this->labByte5->Text = L"Byte";
//
// labByte4
//
this->labByte4->AutoSize = true;
this->labByte4->Location = System::Drawing::Point(261, 96);
this->labByte4->Name = L"labByte4";
this->labByte4->Size = System::Drawing::Size(29, 12);
this->labByte4->TabIndex = 33;
this->labByte4->Text = L"Byte";
//
// labByte3
//
this->labByte3->AutoSize = true;
this->labByte3->Location = System::Drawing::Point(261, 71);
this->labByte3->Name = L"labByte3";
this->labByte3->Size = System::Drawing::Size(29, 12);
this->labByte3->TabIndex = 32;
this->labByte3->Text = L"Byte";
//
// labByte2
//
this->labByte2->AutoSize = true;
this->labByte2->Location = System::Drawing::Point(585, 54);
this->labByte2->Name = L"labByte2";
this->labByte2->Size = System::Drawing::Size(29, 12);
this->labByte2->TabIndex = 31;
this->labByte2->Text = L"Byte";
//
// labByte1
//
this->labByte1->AutoSize = true;
this->labByte1->Location = System::Drawing::Point(585, 29);
this->labByte1->Name = L"labByte1";
this->labByte1->Size = System::Drawing::Size(29, 12);
this->labByte1->TabIndex = 30;
this->labByte1->Text = L"Byte";
//
// labHex4
//
this->labHex4->AutoSize = true;
this->labHex4->Location = System::Drawing::Point(261, 46);
this->labHex4->Name = L"labHex4";
this->labHex4->Size = System::Drawing::Size(11, 12);
this->labHex4->TabIndex = 29;
this->labHex4->Text = L"h";
//
// labHex3
//
this->labHex3->AutoSize = true;
this->labHex3->Location = System::Drawing::Point(261, 21);
this->labHex3->Name = L"labHex3";
this->labHex3->Size = System::Drawing::Size(11, 12);
this->labHex3->TabIndex = 8;
this->labHex3->Text = L"h";
//
// tboxIsCodec
//
this->tboxIsCodec->Location = System::Drawing::Point(172, 118);
this->tboxIsCodec->Name = L"tboxIsCodec";
this->tboxIsCodec->ReadOnly = true;
this->tboxIsCodec->Size = System::Drawing::Size(87, 19);
this->tboxIsCodec->TabIndex = 28;
//
// labIsCodec
//
this->labIsCodec->AutoSize = true;
this->labIsCodec->Location = System::Drawing::Point(55, 121);
this->labIsCodec->Name = L"labIsCodec";
this->labIsCodec->Size = System::Drawing::Size(75, 12);
this->labIsCodec->TabIndex = 27;
this->labIsCodec->Text = L"CODEC Mode";
//
// labNormalRomOffset
//
this->labNormalRomOffset->AutoSize = true;
this->labNormalRomOffset->Location = System::Drawing::Point(7, 21);
this->labNormalRomOffset->Name = L"labNormalRomOffset";
this->labNormalRomOffset->Size = System::Drawing::Size(155, 12);
this->labNormalRomOffset->TabIndex = 9;
this->labNormalRomOffset->Text = L"TWLーマル領域ROMオフセット";
//
// tboxNormalRomOffset
//
this->tboxNormalRomOffset->Location = System::Drawing::Point(172, 18);
this->tboxNormalRomOffset->Name = L"tboxNormalRomOffset";
this->tboxNormalRomOffset->ReadOnly = true;
this->tboxNormalRomOffset->Size = System::Drawing::Size(87, 19);
this->tboxNormalRomOffset->TabIndex = 8;
this->tboxNormalRomOffset->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labKeyTableRomOffset
//
this->labKeyTableRomOffset->AutoSize = true;
this->labKeyTableRomOffset->Location = System::Drawing::Point(7, 46);
this->labKeyTableRomOffset->Name = L"labKeyTableRomOffset";
this->labKeyTableRomOffset->Size = System::Drawing::Size(142, 12);
this->labKeyTableRomOffset->TabIndex = 11;
this->labKeyTableRomOffset->Text = L"TWL専用領域ROMオフセット";
//
// tboxPrivateSize
//
this->tboxPrivateSize->Location = System::Drawing::Point(172, 93);
this->tboxPrivateSize->Name = L"tboxPrivateSize";
this->tboxPrivateSize->ReadOnly = true;
this->tboxPrivateSize->Size = System::Drawing::Size(87, 19);
this->tboxPrivateSize->TabIndex = 13;
this->tboxPrivateSize->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labPrivateSize
//
this->labPrivateSize->AutoSize = true;
this->labPrivateSize->Location = System::Drawing::Point(31, 96);
this->labPrivateSize->Name = L"labPrivateSize";
this->labPrivateSize->Size = System::Drawing::Size(123, 12);
this->labPrivateSize->TabIndex = 15;
this->labPrivateSize->Text = L"Private Save Data Size";
//
// tboxKeyTableRomOffset
//
this->tboxKeyTableRomOffset->Location = System::Drawing::Point(172, 43);
this->tboxKeyTableRomOffset->Name = L"tboxKeyTableRomOffset";
this->tboxKeyTableRomOffset->ReadOnly = true;
this->tboxKeyTableRomOffset->Size = System::Drawing::Size(87, 19);
this->tboxKeyTableRomOffset->TabIndex = 10;
this->tboxKeyTableRomOffset->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labPublicSize
//
this->labPublicSize->AutoSize = true;
this->labPublicSize->Location = System::Drawing::Point(31, 71);
this->labPublicSize->Name = L"labPublicSize";
this->labPublicSize->Size = System::Drawing::Size(118, 12);
this->labPublicSize->TabIndex = 14;
this->labPublicSize->Text = L"Public Save Data Size";
//
// tboxPublicSize
//
this->tboxPublicSize->Location = System::Drawing::Point(172, 68);
this->tboxPublicSize->Name = L"tboxPublicSize";
this->tboxPublicSize->ReadOnly = true;
this->tboxPublicSize->Size = System::Drawing::Size(87, 19);
this->tboxPublicSize->TabIndex = 12;
this->tboxPublicSize->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// cboxIsSubBanner
//
this->cboxIsSubBanner->AutoSize = true;
this->cboxIsSubBanner->Enabled = false;
this->cboxIsSubBanner->Location = System::Drawing::Point(14, 62);
this->cboxIsSubBanner->Name = L"cboxIsSubBanner";
this->cboxIsSubBanner->Size = System::Drawing::Size(131, 16);
this->cboxIsSubBanner->TabIndex = 26;
this->cboxIsSubBanner->Text = L"サブバナーファイル有効";
this->cboxIsSubBanner->UseVisualStyleBackColor = true;
//
// cboxIsWL
//
this->cboxIsWL->AutoSize = true;
this->cboxIsWL->Enabled = false;
this->cboxIsWL->Location = System::Drawing::Point(14, 84);
this->cboxIsWL->Name = L"cboxIsWL";
this->cboxIsWL->Size = System::Drawing::Size(155, 16);
this->cboxIsWL->TabIndex = 25;
this->cboxIsWL->Text = L"NTRホワイトリスト署名有効";
this->cboxIsWL->UseVisualStyleBackColor = true;
//
// cboxIsNormalJump
//
this->cboxIsNormalJump->AutoSize = true;
this->cboxIsNormalJump->Enabled = false;
this->cboxIsNormalJump->Location = System::Drawing::Point(14, 18);
this->cboxIsNormalJump->Name = L"cboxIsNormalJump";
this->cboxIsNormalJump->Size = System::Drawing::Size(121, 16);
this->cboxIsNormalJump->TabIndex = 16;
this->cboxIsNormalJump->Text = L"ノーマルジャンプ許可";
this->cboxIsNormalJump->UseVisualStyleBackColor = true;
//
// cboxIsTmpJump
//
this->cboxIsTmpJump->AutoSize = true;
this->cboxIsTmpJump->Enabled = false;
this->cboxIsTmpJump->Location = System::Drawing::Point(14, 40);
this->cboxIsTmpJump->Name = L"cboxIsTmpJump";
this->cboxIsTmpJump->Size = System::Drawing::Size(103, 16);
this->cboxIsTmpJump->TabIndex = 17;
this->cboxIsTmpJump->Text = L"tmpジャンプ許可";
this->cboxIsTmpJump->UseVisualStyleBackColor = true;
//
// gboxAccess
//
this->gboxAccess->Controls->Add(this->labAccessOther);
this->gboxAccess->Controls->Add(this->tboxAccessOther);
this->gboxAccess->Controls->Add(this->tboxIsGameCardOn);
this->gboxAccess->Controls->Add(this->labIsGameCardOn);
this->gboxAccess->Controls->Add(this->cboxIsNAND);
this->gboxAccess->Controls->Add(this->cboxIsSD);
this->gboxAccess->Location = System::Drawing::Point(231, 211);
this->gboxAccess->Name = L"gboxAccess";
this->gboxAccess->Size = System::Drawing::Size(298, 133);
this->gboxAccess->TabIndex = 0;
this->gboxAccess->TabStop = false;
this->gboxAccess->Text = L"アクセスコントロール情報";
//
// labAccessOther
//
this->labAccessOther->AutoSize = true;
this->labAccessOther->Location = System::Drawing::Point(152, 21);
this->labAccessOther->Name = L"labAccessOther";
this->labAccessOther->Size = System::Drawing::Size(36, 12);
this->labAccessOther->TabIndex = 5;
this->labAccessOther->Text = L"その他";
//
// tboxAccessOther
//
this->tboxAccessOther->Location = System::Drawing::Point(154, 36);
this->tboxAccessOther->Multiline = true;
this->tboxAccessOther->Name = L"tboxAccessOther";
this->tboxAccessOther->ReadOnly = true;
this->tboxAccessOther->Size = System::Drawing::Size(118, 85);
this->tboxAccessOther->TabIndex = 4;
//
// tboxIsGameCardOn
//
this->tboxIsGameCardOn->Location = System::Drawing::Point(8, 102);
this->tboxIsGameCardOn->Name = L"tboxIsGameCardOn";
this->tboxIsGameCardOn->ReadOnly = true;
this->tboxIsGameCardOn->Size = System::Drawing::Size(122, 19);
this->tboxIsGameCardOn->TabIndex = 3;
//
// labIsGameCardOn
//
this->labIsGameCardOn->AutoSize = true;
this->labIsGameCardOn->Location = System::Drawing::Point(7, 83);
this->labIsGameCardOn->Name = L"labIsGameCardOn";
this->labIsGameCardOn->Size = System::Drawing::Size(87, 12);
this->labIsGameCardOn->TabIndex = 2;
this->labIsGameCardOn->Text = L"ゲームカード電源";
//
// cboxIsNAND
//
this->cboxIsNAND->AutoSize = true;
this->cboxIsNAND->Enabled = false;
this->cboxIsNAND->Location = System::Drawing::Point(8, 48);
this->cboxIsNAND->Name = L"cboxIsNAND";
this->cboxIsNAND->Size = System::Drawing::Size(121, 16);
this->cboxIsNAND->TabIndex = 1;
this->cboxIsNAND->Text = L"NANDフラッシュメモリ";
this->cboxIsNAND->UseVisualStyleBackColor = true;
//
// cboxIsSD
//
this->cboxIsSD->AutoSize = true;
this->cboxIsSD->Enabled = false;
this->cboxIsSD->Location = System::Drawing::Point(9, 24);
this->cboxIsSD->Name = L"cboxIsSD";
this->cboxIsSD->Size = System::Drawing::Size(67, 16);
this->cboxIsSD->TabIndex = 0;
this->cboxIsSD->Text = L"SDカード";
this->cboxIsSD->UseVisualStyleBackColor = true;
//
// gboxTitleID
//
this->gboxTitleID->Controls->Add(this->labHex2);
this->gboxTitleID->Controls->Add(this->labHex1);
this->gboxTitleID->Controls->Add(this->tboxTitleIDLo);
this->gboxTitleID->Controls->Add(this->labTitleIDLo);
this->gboxTitleID->Controls->Add(this->labTitleIDHi);
this->gboxTitleID->Controls->Add(this->tboxTitleIDHi);
this->gboxTitleID->Controls->Add(this->tboxAppType);
this->gboxTitleID->Controls->Add(this->labAppType);
this->gboxTitleID->Location = System::Drawing::Point(12, 54);
this->gboxTitleID->Name = L"gboxTitleID";
this->gboxTitleID->Size = System::Drawing::Size(198, 174);
this->gboxTitleID->TabIndex = 23;
this->gboxTitleID->TabStop = false;
this->gboxTitleID->Text = L"TitleID";
//
// labHex2
//
this->labHex2->AutoSize = true;
this->labHex2->Location = System::Drawing::Point(160, 52);
this->labHex2->Name = L"labHex2";
this->labHex2->Size = System::Drawing::Size(11, 12);
this->labHex2->TabIndex = 7;
this->labHex2->Text = L"h";
//
// labHex1
//
this->labHex1->AutoSize = true;
this->labHex1->Location = System::Drawing::Point(160, 23);
this->labHex1->Name = L"labHex1";
this->labHex1->Size = System::Drawing::Size(11, 12);
this->labHex1->TabIndex = 6;
this->labHex1->Text = L"h";
//
// tboxTitleIDLo
//
this->tboxTitleIDLo->Location = System::Drawing::Point(83, 20);
this->tboxTitleIDLo->Name = L"tboxTitleIDLo";
this->tboxTitleIDLo->ReadOnly = true;
this->tboxTitleIDLo->Size = System::Drawing::Size(71, 19);
this->tboxTitleIDLo->TabIndex = 1;
this->tboxTitleIDLo->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// labTitleIDLo
//
this->labTitleIDLo->AutoSize = true;
this->labTitleIDLo->Location = System::Drawing::Point(11, 23);
this->labTitleIDLo->Name = L"labTitleIDLo";
this->labTitleIDLo->Size = System::Drawing::Size(63, 12);
this->labTitleIDLo->TabIndex = 0;
this->labTitleIDLo->Text = L"TitleID Low";
//
// labTitleIDHi
//
this->labTitleIDHi->AutoSize = true;
this->labTitleIDHi->Location = System::Drawing::Point(11, 51);
this->labTitleIDHi->Name = L"labTitleIDHi";
this->labTitleIDHi->Size = System::Drawing::Size(66, 12);
this->labTitleIDHi->TabIndex = 2;
this->labTitleIDHi->Text = L"TitleID High";
//
// tboxTitleIDHi
//
this->tboxTitleIDHi->Location = System::Drawing::Point(83, 48);
this->tboxTitleIDHi->Name = L"tboxTitleIDHi";
this->tboxTitleIDHi->ReadOnly = true;
this->tboxTitleIDHi->Size = System::Drawing::Size(71, 19);
this->tboxTitleIDHi->TabIndex = 3;
this->tboxTitleIDHi->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
//
// tboxAppType
//
this->tboxAppType->Location = System::Drawing::Point(13, 89);
this->tboxAppType->Multiline = true;
this->tboxAppType->Name = L"tboxAppType";
this->tboxAppType->ReadOnly = true;
this->tboxAppType->Size = System::Drawing::Size(158, 72);
this->tboxAppType->TabIndex = 4;
//
// labAppType
//
this->labAppType->AutoSize = true;
this->labAppType->Location = System::Drawing::Point(12, 74);
this->labAppType->Name = L"labAppType";
this->labAppType->Size = System::Drawing::Size(91, 12);
this->labAppType->TabIndex = 5;
this->labAppType->Text = L"Application Type";
//
// labCaptionEx
//
this->labCaptionEx->AutoSize = true;
this->labCaptionEx->Location = System::Drawing::Point(528, 52);
this->labCaptionEx->Name = L"labCaptionEx";
this->labCaptionEx->Size = System::Drawing::Size(53, 12);
this->labCaptionEx->TabIndex = 11;
this->labCaptionEx->Text = L"特記事項";
//
// tboxCaptionEx
//
this->tboxCaptionEx->Location = System::Drawing::Point(530, 67);
this->tboxCaptionEx->Multiline = true;
this->tboxCaptionEx->Name = L"tboxCaptionEx";
this->tboxCaptionEx->ReadOnly = true;
this->tboxCaptionEx->ScrollBars = System::Windows::Forms::ScrollBars::Vertical;
this->tboxCaptionEx->Size = System::Drawing::Size(181, 88);
this->tboxCaptionEx->TabIndex = 10;
//
// gboxProd
//
this->gboxProd->Controls->Add(this->combBackup);
this->gboxProd->Controls->Add(this->labBackup);
this->gboxProd->Controls->Add(this->tboxBackupOther);
this->gboxProd->Location = System::Drawing::Point(361, 51);
this->gboxProd->Name = L"gboxProd";
this->gboxProd->Size = System::Drawing::Size(350, 50);
this->gboxProd->TabIndex = 13;
this->gboxProd->TabStop = false;
this->gboxProd->Text = L"ROM生産情報";
//
// menuStripAbove
//
this->menuStripAbove->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->stripFile, this->stripMaster,
this->stripLang});
this->menuStripAbove->Location = System::Drawing::Point(0, 0);
this->menuStripAbove->Name = L"menuStripAbove";
this->menuStripAbove->Size = System::Drawing::Size(777, 24);
this->menuStripAbove->TabIndex = 33;
this->menuStripAbove->Text = L"menuStrip1";
//
// stripFile
//
this->stripFile->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->stripItemOpenRom,
this->stripItemSaveTemp, this->stripItemLoadTemp});
this->stripFile->Name = L"stripFile";
this->stripFile->Size = System::Drawing::Size(51, 20);
this->stripFile->Text = L"ファイル";
//
// stripItemOpenRom
//
this->stripItemOpenRom->Name = L"stripItemOpenRom";
this->stripItemOpenRom->Size = System::Drawing::Size(211, 22);
this->stripItemOpenRom->Text = L"ROMデータを開く";
this->stripItemOpenRom->Click += gcnew System::EventHandler(this, &Form1::stripItemOpenRom_Click);
//
// stripItemSaveTemp
//
this->stripItemSaveTemp->Name = L"stripItemSaveTemp";
this->stripItemSaveTemp->Size = System::Drawing::Size(211, 22);
this->stripItemSaveTemp->Text = L"提出情報を一時保存する";
//
// stripItemLoadTemp
//
this->stripItemLoadTemp->Name = L"stripItemLoadTemp";
this->stripItemLoadTemp->Size = System::Drawing::Size(211, 22);
this->stripItemLoadTemp->Text = L"一時保存した提出情報を開く";
//
// stripMaster
//
this->stripMaster->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->stripItemMasterRom,
this->stripItemSheet});
this->stripMaster->Name = L"stripMaster";
this->stripMaster->Size = System::Drawing::Size(53, 20);
this->stripMaster->Text = L"マスター";
//
// stripItemMasterRom
//
this->stripItemMasterRom->Name = L"stripItemMasterRom";
this->stripItemMasterRom->Size = System::Drawing::Size(165, 22);
this->stripItemMasterRom->Text = L"マスターROMの作成";
this->stripItemMasterRom->Click += gcnew System::EventHandler(this, &Form1::stripItemMasterRom_Click);
//
// stripItemSheet
//
this->stripItemSheet->Name = L"stripItemSheet";
this->stripItemSheet->Size = System::Drawing::Size(165, 22);
this->stripItemSheet->Text = L"提出書類の作成";
this->stripItemSheet->Click += gcnew System::EventHandler(this, &Form1::stripItemSheet_Click);
//
// stripLang
//
this->stripLang->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->stripItemEnglish,
this->stripItemJapanese});
this->stripLang->Name = L"stripLang";
this->stripLang->Size = System::Drawing::Size(65, 20);
this->stripLang->Text = L"Language";
//
// stripItemEnglish
//
this->stripItemEnglish->Name = L"stripItemEnglish";
this->stripItemEnglish->Size = System::Drawing::Size(119, 22);
this->stripItemEnglish->Text = L"English";
this->stripItemEnglish->Click += gcnew System::EventHandler(this, &Form1::stripItemEnglish_Click);
//
// stripItemJapanese
//
this->stripItemJapanese->Checked = true;
this->stripItemJapanese->CheckState = System::Windows::Forms::CheckState::Checked;
this->stripItemJapanese->Name = L"stripItemJapanese";
this->stripItemJapanese->Size = System::Drawing::Size(119, 22);
this->stripItemJapanese->Text = L"Japanese";
this->stripItemJapanese->Click += gcnew System::EventHandler(this, &Form1::stripItemJapanese_Click);
//
// tabMain
//
this->tabMain->Controls->Add(this->tabRomInfo);
this->tabMain->Controls->Add(this->tabTWLInfo);
this->tabMain->Controls->Add(this->tabRomEditInfo);
this->tabMain->Controls->Add(this->tabPage4);
this->tabMain->Controls->Add(this->tabPage5);
this->tabMain->Controls->Add(this->tabError);
this->tabMain->Location = System::Drawing::Point(12, 93);
this->tabMain->Name = L"tabMain";
this->tabMain->SelectedIndex = 0;
this->tabMain->Size = System::Drawing::Size(749, 377);
this->tabMain->TabIndex = 34;
//
// tabRomInfo
//
this->tabRomInfo->Controls->Add(this->gridLibrary);
this->tabRomInfo->Controls->Add(this->textBox1);
this->tabRomInfo->Controls->Add(this->gboxSrl);
this->tabRomInfo->Controls->Add(this->labLib);
this->tabRomInfo->Controls->Add(this->labCaptionEx);
this->tabRomInfo->Controls->Add(this->tboxCaptionEx);
this->tabRomInfo->Controls->Add(this->gboxCRC);
this->tabRomInfo->Controls->Add(this->tboxSDK);
this->tabRomInfo->Controls->Add(this->labSDK);
this->tabRomInfo->Location = System::Drawing::Point(4, 21);
this->tabRomInfo->Name = L"tabRomInfo";
this->tabRomInfo->Padding = System::Windows::Forms::Padding(3);
this->tabRomInfo->Size = System::Drawing::Size(741, 352);
this->tabRomInfo->TabIndex = 0;
this->tabRomInfo->Text = L"ROM基本情報(確認用)";
this->tabRomInfo->UseVisualStyleBackColor = true;
//
// gridLibrary
//
this->gridLibrary->BackgroundColor = System::Drawing::SystemColors::Control;
this->gridLibrary->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridLibrary->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(2) {this->colLibPublisher,
this->colLibName});
this->gridLibrary->Location = System::Drawing::Point(337, 189);
this->gridLibrary->Name = L"gridLibrary";
this->gridLibrary->RowHeadersVisible = false;
this->gridLibrary->RowTemplate->Height = 21;
this->gridLibrary->Size = System::Drawing::Size(374, 145);
this->gridLibrary->TabIndex = 36;
//
// colLibPublisher
//
this->colLibPublisher->HeaderText = L"Publisher";
this->colLibPublisher->Name = L"colLibPublisher";
//
// colLibName
//
this->colLibName->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colLibName->HeaderText = L"Library Name";
this->colLibName->Name = L"colLibName";
this->colLibName->ReadOnly = true;
//
// textBox1
//
this->textBox1->BackColor = System::Drawing::SystemColors::Info;
this->textBox1->Location = System::Drawing::Point(24, 17);
this->textBox1->Name = L"textBox1";
this->textBox1->ReadOnly = true;
this->textBox1->Size = System::Drawing::Size(687, 19);
this->textBox1->TabIndex = 35;
this->textBox1->Text = L"このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。";
//
// tabTWLInfo
//
this->tabTWLInfo->Controls->Add(this->textBox2);
this->tabTWLInfo->Controls->Add(this->gboxExFlags);
this->tabTWLInfo->Controls->Add(this->gboxShared2Size);
this->tabTWLInfo->Controls->Add(this->gboxTWLExInfo);
this->tabTWLInfo->Controls->Add(this->gboxAccess);
this->tabTWLInfo->Controls->Add(this->gboxTitleID);
this->tabTWLInfo->Location = System::Drawing::Point(4, 21);
this->tabTWLInfo->Name = L"tabTWLInfo";
this->tabTWLInfo->Padding = System::Windows::Forms::Padding(3);
this->tabTWLInfo->Size = System::Drawing::Size(741, 352);
this->tabTWLInfo->TabIndex = 1;
this->tabTWLInfo->Text = L"TWL拡張情報(確認用)";
this->tabTWLInfo->UseVisualStyleBackColor = true;
//
// textBox2
//
this->textBox2->BackColor = System::Drawing::SystemColors::Info;
this->textBox2->Location = System::Drawing::Point(22, 18);
this->textBox2->Name = L"textBox2";
this->textBox2->ReadOnly = true;
this->textBox2->Size = System::Drawing::Size(687, 19);
this->textBox2->TabIndex = 36;
this->textBox2->Text = L"このタブの情報は編集不可です。データに誤りがある場合にはROMデータの作成時の設定を見直してください。";
//
// gboxExFlags
//
this->gboxExFlags->Controls->Add(this->cboxIsNormalJump);
this->gboxExFlags->Controls->Add(this->cboxIsTmpJump);
this->gboxExFlags->Controls->Add(this->cboxIsWL);
this->gboxExFlags->Controls->Add(this->cboxIsSubBanner);
this->gboxExFlags->Location = System::Drawing::Point(12, 236);
this->gboxExFlags->Name = L"gboxExFlags";
this->gboxExFlags->Size = System::Drawing::Size(198, 108);
this->gboxExFlags->TabIndex = 35;
this->gboxExFlags->TabStop = false;
this->gboxExFlags->Text = L"TWL拡張諸フラグ";
//
// tabRomEditInfo
//
this->tabRomEditInfo->Controls->Add(this->textBox3);
this->tabRomEditInfo->Controls->Add(this->gboxParental);
this->tabRomEditInfo->Controls->Add(this->gboxIcon);
this->tabRomEditInfo->Controls->Add(this->gboxEULA);
this->tabRomEditInfo->Location = System::Drawing::Point(4, 21);
this->tabRomEditInfo->Name = L"tabRomEditInfo";
this->tabRomEditInfo->Size = System::Drawing::Size(741, 352);
this->tabRomEditInfo->TabIndex = 2;
this->tabRomEditInfo->Text = L"ROM登録情報(編集可)";
this->tabRomEditInfo->UseVisualStyleBackColor = true;
//
// textBox3
//
this->textBox3->BackColor = System::Drawing::SystemColors::Info;
this->textBox3->Location = System::Drawing::Point(25, 19);
this->textBox3->Name = L"textBox3";
this->textBox3->ReadOnly = true;
this->textBox3->Size = System::Drawing::Size(687, 19);
this->textBox3->TabIndex = 37;
this->textBox3->Text = L"このタブの情報は、マスターROMの作成に必要です。適宜、変更してください。";
//
// gboxParental
//
this->gboxParental->Controls->Add(this->labRegion);
this->gboxParental->Controls->Add(this->combRegion);
this->gboxParental->Controls->Add(this->cboxAlwaysPEGIBBFC);
this->gboxParental->Controls->Add(this->labPEGIBBFC2);
this->gboxParental->Controls->Add(this->cboxPEGIBBFC);
this->gboxParental->Controls->Add(this->labParentalRating);
this->gboxParental->Controls->Add(this->cboxOFLC);
this->gboxParental->Controls->Add(this->labOFLC);
this->gboxParental->Controls->Add(this->cboxAlwaysOFLC);
this->gboxParental->Controls->Add(this->labParentalEnable);
this->gboxParental->Controls->Add(this->cboxAlwaysPEGIPRT);
this->gboxParental->Controls->Add(this->labPEGIBBFC);
this->gboxParental->Controls->Add(this->cboxPEGIPRT);
this->gboxParental->Controls->Add(this->combPEGIBBFC);
this->gboxParental->Controls->Add(this->combCERO);
this->gboxParental->Controls->Add(this->labParentalForceEnable);
this->gboxParental->Controls->Add(this->labCERO);
this->gboxParental->Controls->Add(this->combOFLC);
this->gboxParental->Controls->Add(this->cboxAlwaysPEGI);
this->gboxParental->Controls->Add(this->labPEGIPRT);
this->gboxParental->Controls->Add(this->cboxPEGI);
this->gboxParental->Controls->Add(this->combPEGIPRT);
this->gboxParental->Controls->Add(this->combESRB);
this->gboxParental->Controls->Add(this->cboxCERO);
this->gboxParental->Controls->Add(this->labESRB);
this->gboxParental->Controls->Add(this->cboxAlwaysCERO);
this->gboxParental->Controls->Add(this->cboxAlwaysUSK);
this->gboxParental->Controls->Add(this->labPEGI);
this->gboxParental->Controls->Add(this->cboxUSK);
this->gboxParental->Controls->Add(this->combPEGI);
this->gboxParental->Controls->Add(this->combUSK);
this->gboxParental->Controls->Add(this->cboxESRB);
this->gboxParental->Controls->Add(this->labUSK);
this->gboxParental->Controls->Add(this->cboxAlwaysESRB);
this->gboxParental->Location = System::Drawing::Point(252, 60);
this->gboxParental->Name = L"gboxParental";
this->gboxParental->Size = System::Drawing::Size(440, 272);
this->gboxParental->TabIndex = 33;
this->gboxParental->TabStop = false;
this->gboxParental->Text = L"リージョンとペアレンタルコントロール";
//
// gboxIcon
//
this->gboxIcon->Controls->Add(this->cboxIsWirelessIcon);
this->gboxIcon->Controls->Add(this->cboxIsWiFiIcon);
this->gboxIcon->Location = System::Drawing::Point(19, 138);
this->gboxIcon->Name = L"gboxIcon";
this->gboxIcon->Size = System::Drawing::Size(215, 69);
this->gboxIcon->TabIndex = 32;
this->gboxIcon->TabStop = false;
this->gboxIcon->Text = L"アイコン表示";
//
// gboxEULA
//
this->gboxEULA->Controls->Add(this->cboxIsEULA);
this->gboxEULA->Controls->Add(this->numEULA);
this->gboxEULA->Controls->Add(this->labEULA);
this->gboxEULA->Location = System::Drawing::Point(19, 60);
this->gboxEULA->Name = L"gboxEULA";
this->gboxEULA->Size = System::Drawing::Size(215, 72);
this->gboxEULA->TabIndex = 31;
this->gboxEULA->TabStop = false;
this->gboxEULA->Text = L"EULA";
//
// tabPage4
//
this->tabPage4->Controls->Add(this->textBox4);
this->tabPage4->Controls->Add(this->gboxForeign);
this->tabPage4->Controls->Add(this->tboxCaption);
this->tabPage4->Controls->Add(this->labSubmitVer);
this->tabPage4->Controls->Add(this->labCaption);
this->tabPage4->Controls->Add(this->tboxProductCode2);
this->tabPage4->Controls->Add(this->labCapSubmitVer);
this->tabPage4->Controls->Add(this->gboxUsage);
this->tabPage4->Controls->Add(this->numSubmitVersion);
this->tabPage4->Controls->Add(this->gboxProd);
this->tabPage4->Controls->Add(this->gboxSubmitWay);
this->tabPage4->Controls->Add(this->tboxProductCode1);
this->tabPage4->Controls->Add(this->labSubmiteDate);
this->tabPage4->Controls->Add(this->dateRelease);
this->tabPage4->Controls->Add(this->tboxProductName);
this->tabPage4->Controls->Add(this->labReleaseDate);
this->tabPage4->Controls->Add(this->dateSubmit);
this->tabPage4->Controls->Add(this->labProductCode2);
this->tabPage4->Controls->Add(this->labProductCode);
this->tabPage4->Controls->Add(this->labProductName);
this->tabPage4->Controls->Add(this->labProductCode1);
this->tabPage4->Location = System::Drawing::Point(4, 21);
this->tabPage4->Name = L"tabPage4";
this->tabPage4->Size = System::Drawing::Size(741, 352);
this->tabPage4->TabIndex = 3;
this->tabPage4->Text = L"提出情報(編集可)";
this->tabPage4->UseVisualStyleBackColor = true;
//
// textBox4
//
this->textBox4->BackColor = System::Drawing::SystemColors::Info;
this->textBox4->Location = System::Drawing::Point(24, 19);
this->textBox4->Name = L"textBox4";
this->textBox4->ReadOnly = true;
this->textBox4->Size = System::Drawing::Size(687, 19);
this->textBox4->TabIndex = 38;
this->textBox4->Text = L"このタブの情報は提出書類の作成に必要です。入力してください。";
//
// gboxForeign
//
this->gboxForeign->Controls->Add(this->labMultiForeign2);
this->gboxForeign->Controls->Add(this->cboxReleaseForeign);
this->gboxForeign->Controls->Add(this->labMultiForeign1);
this->gboxForeign->Controls->Add(this->tboxProductCode2Foreign1);
this->gboxForeign->Controls->Add(this->tboxProductCode2Foreign3);
this->gboxForeign->Controls->Add(this->labProductCodeForeign);
this->gboxForeign->Controls->Add(this->tboxProductCode2Foreign2);
this->gboxForeign->Controls->Add(this->tboxProductCode1Foreign);
this->gboxForeign->Controls->Add(this->labProductCode2Foreign);
this->gboxForeign->Controls->Add(this->labProductCode1Foreign);
this->gboxForeign->Controls->Add(this->tboxProductNameForeign);
this->gboxForeign->Controls->Add(this->labProductNameForeign);
this->gboxForeign->Location = System::Drawing::Point(362, 107);
this->gboxForeign->Name = L"gboxForeign";
this->gboxForeign->Size = System::Drawing::Size(349, 141);
this->gboxForeign->TabIndex = 35;
this->gboxForeign->TabStop = false;
this->gboxForeign->Text = L"海外版";
//
// labMultiForeign2
//
this->labMultiForeign2->AutoSize = true;
this->labMultiForeign2->Location = System::Drawing::Point(217, 121);
this->labMultiForeign2->Name = L"labMultiForeign2";
this->labMultiForeign2->Size = System::Drawing::Size(101, 12);
this->labMultiForeign2->TabIndex = 45;
this->labMultiForeign2->Text = L"(複数ある場合のみ)";
//
// tabPage5
//
this->tabPage5->Controls->Add(this->textBox5);
this->tabPage5->Controls->Add(this->cboxIsInputPerson2);
this->tabPage5->Controls->Add(this->gboxPerson1);
this->tabPage5->Controls->Add(this->gboxPerson2);
this->tabPage5->Location = System::Drawing::Point(4, 21);
this->tabPage5->Name = L"tabPage5";
this->tabPage5->Size = System::Drawing::Size(741, 352);
this->tabPage5->TabIndex = 4;
this->tabPage5->Text = L"会社情報(編集可)";
this->tabPage5->UseVisualStyleBackColor = true;
//
// textBox5
//
this->textBox5->BackColor = System::Drawing::SystemColors::Info;
this->textBox5->Location = System::Drawing::Point(26, 21);
this->textBox5->Name = L"textBox5";
this->textBox5->ReadOnly = true;
this->textBox5->Size = System::Drawing::Size(687, 19);
this->textBox5->TabIndex = 39;
this->textBox5->Text = L"このタブの情報は提出書類の作成に必要です。入力してください。";
//
// tabError
//
this->tabError->Controls->Add(this->textBox6);
this->tabError->Controls->Add(this->gboxErrorTiming);
this->tabError->Controls->Add(this->labWarn);
this->tabError->Controls->Add(this->labError);
this->tabError->Controls->Add(this->gridWarn);
this->tabError->Controls->Add(this->gridError);
this->tabError->Location = System::Drawing::Point(4, 21);
this->tabError->Name = L"tabError";
this->tabError->Size = System::Drawing::Size(741, 352);
this->tabError->TabIndex = 5;
this->tabError->Text = L"エラー(要修正)";
this->tabError->UseVisualStyleBackColor = true;
this->tabError->Click += gcnew System::EventHandler(this, &Form1::tabError_Click);
//
// textBox6
//
this->textBox6->BackColor = System::Drawing::SystemColors::Info;
this->textBox6->Location = System::Drawing::Point(24, 24);
this->textBox6->Name = L"textBox6";
this->textBox6->ReadOnly = true;
this->textBox6->Size = System::Drawing::Size(533, 19);
this->textBox6->TabIndex = 40;
this->textBox6->Text = L"このタブの各項目はROMデータの問題と入力の誤りを表しています。";
//
// gboxErrorTiming
//
this->gboxErrorTiming->Controls->Add(this->rErrorCurrent);
this->gboxErrorTiming->Controls->Add(this->rErrorReading);
this->gboxErrorTiming->Location = System::Drawing::Point(573, 11);
this->gboxErrorTiming->Name = L"gboxErrorTiming";
this->gboxErrorTiming->Size = System::Drawing::Size(148, 71);
this->gboxErrorTiming->TabIndex = 41;
this->gboxErrorTiming->TabStop = false;
this->gboxErrorTiming->Text = L"いつの情報を表示するか";
//
// rErrorCurrent
//
this->rErrorCurrent->AutoSize = true;
this->rErrorCurrent->Location = System::Drawing::Point(6, 45);
this->rErrorCurrent->Name = L"rErrorCurrent";
this->rErrorCurrent->Size = System::Drawing::Size(114, 16);
this->rErrorCurrent->TabIndex = 1;
this->rErrorCurrent->TabStop = true;
this->rErrorCurrent->Text = L"現在の入力を反映";
this->rErrorCurrent->UseVisualStyleBackColor = true;
this->rErrorCurrent->CheckedChanged += gcnew System::EventHandler(this, &Form1::rErrorCurrent_CheckedChanged);
//
// rErrorReading
//
this->rErrorReading->AutoSize = true;
this->rErrorReading->Checked = true;
this->rErrorReading->Location = System::Drawing::Point(6, 18);
this->rErrorReading->Name = L"rErrorReading";
this->rErrorReading->Size = System::Drawing::Size(134, 16);
this->rErrorReading->TabIndex = 0;
this->rErrorReading->TabStop = true;
this->rErrorReading->Text = L"ROMデータ読み込み時";
this->rErrorReading->UseVisualStyleBackColor = true;
this->rErrorReading->CheckedChanged += gcnew System::EventHandler(this, &Form1::rErrorReading_CheckedChanged);
//
// labWarn
//
this->labWarn->AutoSize = true;
this->labWarn->ForeColor = System::Drawing::SystemColors::ActiveCaption;
this->labWarn->Location = System::Drawing::Point(22, 213);
this->labWarn->Name = L"labWarn";
this->labWarn->Size = System::Drawing::Size(331, 12);
this->labWarn->TabIndex = 40;
this->labWarn->Text = L"警告(修正は必須ではありませんが情報に誤りがないかご確認ください)";
//
// labError
//
this->labError->AutoSize = true;
this->labError->ForeColor = System::Drawing::SystemColors::ActiveCaption;
this->labError->Location = System::Drawing::Point(22, 78);
this->labError->Name = L"labError";
this->labError->Size = System::Drawing::Size(137, 12);
this->labError->TabIndex = 39;
this->labError->Text = L"エラー(必ず修正してください)";
//
// gridWarn
//
this->gridWarn->BackgroundColor = System::Drawing::SystemColors::Control;
this->gridWarn->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridWarn->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(4) {this->colWarnName,
this->colWarnBegin, this->colWarnEnd, this->colWarnCause});
this->gridWarn->GridColor = System::Drawing::SystemColors::Control;
this->gridWarn->Location = System::Drawing::Point(24, 228);
this->gridWarn->Name = L"gridWarn";
this->gridWarn->ReadOnly = true;
this->gridWarn->RowHeadersVisible = false;
this->gridWarn->RowTemplate->Height = 21;
this->gridWarn->Size = System::Drawing::Size(699, 106);
this->gridWarn->TabIndex = 38;
//
// colWarnName
//
this->colWarnName->HeaderText = L"項目名";
this->colWarnName->Name = L"colWarnName";
this->colWarnName->ReadOnly = true;
this->colWarnName->Width = 120;
//
// colWarnBegin
//
this->colWarnBegin->HeaderText = L"開始";
this->colWarnBegin->Name = L"colWarnBegin";
this->colWarnBegin->ReadOnly = true;
this->colWarnBegin->Width = 60;
//
// colWarnEnd
//
this->colWarnEnd->HeaderText = L"終了";
this->colWarnEnd->Name = L"colWarnEnd";
this->colWarnEnd->ReadOnly = true;
this->colWarnEnd->Width = 60;
//
// colWarnCause
//
this->colWarnCause->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colWarnCause->HeaderText = L"要因";
this->colWarnCause->Name = L"colWarnCause";
this->colWarnCause->ReadOnly = true;
//
// gridError
//
this->gridError->BackgroundColor = System::Drawing::SystemColors::Control;
this->gridError->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->gridError->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(4) {this->colErrorName,
this->colErrorBegin, this->colErrorEnd, this->colErrorCause});
this->gridError->GridColor = System::Drawing::SystemColors::Control;
this->gridError->Location = System::Drawing::Point(24, 93);
this->gridError->Name = L"gridError";
this->gridError->ReadOnly = true;
this->gridError->RowHeadersVisible = false;
this->gridError->RowTemplate->Height = 21;
this->gridError->Size = System::Drawing::Size(699, 103);
this->gridError->TabIndex = 37;
//
// labFile
//
this->labFile->AutoSize = true;
this->labFile->Location = System::Drawing::Point(22, 53);
this->labFile->Name = L"labFile";
this->labFile->Size = System::Drawing::Size(92, 12);
this->labFile->TabIndex = 36;
this->labFile->Text = L"ROMデータファイル";
//
// colErrorCause
//
this->colErrorCause->AutoSizeMode = System::Windows::Forms::DataGridViewAutoSizeColumnMode::Fill;
this->colErrorCause->HeaderText = L"要因";
this->colErrorCause->Name = L"colErrorCause";
this->colErrorCause->ReadOnly = true;
//
// colErrorEnd
//
this->colErrorEnd->HeaderText = L"終了";
this->colErrorEnd->Name = L"colErrorEnd";
this->colErrorEnd->ReadOnly = true;
this->colErrorEnd->Width = 60;
//
// colErrorBegin
//
this->colErrorBegin->HeaderText = L"開始";
this->colErrorBegin->Name = L"colErrorBegin";
this->colErrorBegin->ReadOnly = true;
this->colErrorBegin->Width = 60;
//
// colErrorName
//
this->colErrorName->HeaderText = L"項目名";
this->colErrorName->Name = L"colErrorName";
this->colErrorName->ReadOnly = true;
this->colErrorName->Width = 120;
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(777, 519);
this->Controls->Add(this->labFile);
this->Controls->Add(this->tabMain);
this->Controls->Add(this->tboxFile);
this->Controls->Add(this->tboxMsg);
this->Controls->Add(this->menuStripAbove);
this->MainMenuStrip = this->menuStripAbove;
this->Name = L"Form1";
this->Text = L"TWL MasterEditor";
this->gboxSrl->ResumeLayout(false);
this->gboxSrl->PerformLayout();
this->gboxCRC->ResumeLayout(false);
this->gboxCRC->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numEULA))->EndInit();
this->gboxPerson2->ResumeLayout(false);
this->gboxPerson2->PerformLayout();
this->gboxPerson1->ResumeLayout(false);
this->gboxPerson1->PerformLayout();
this->gboxUsage->ResumeLayout(false);
this->gboxUsage->PerformLayout();
this->gboxSubmitWay->ResumeLayout(false);
this->gboxSubmitWay->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numSubmitVersion))->EndInit();
this->gboxShared2Size->ResumeLayout(false);
this->gboxShared2Size->PerformLayout();
this->gboxTWLExInfo->ResumeLayout(false);
this->gboxTWLExInfo->PerformLayout();
this->gboxAccess->ResumeLayout(false);
this->gboxAccess->PerformLayout();
this->gboxTitleID->ResumeLayout(false);
this->gboxTitleID->PerformLayout();
this->gboxProd->ResumeLayout(false);
this->gboxProd->PerformLayout();
this->menuStripAbove->ResumeLayout(false);
this->menuStripAbove->PerformLayout();
this->tabMain->ResumeLayout(false);
this->tabRomInfo->ResumeLayout(false);
this->tabRomInfo->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridLibrary))->EndInit();
this->tabTWLInfo->ResumeLayout(false);
this->tabTWLInfo->PerformLayout();
this->gboxExFlags->ResumeLayout(false);
this->gboxExFlags->PerformLayout();
this->tabRomEditInfo->ResumeLayout(false);
this->tabRomEditInfo->PerformLayout();
this->gboxParental->ResumeLayout(false);
this->gboxParental->PerformLayout();
this->gboxIcon->ResumeLayout(false);
this->gboxIcon->PerformLayout();
this->gboxEULA->ResumeLayout(false);
this->gboxEULA->PerformLayout();
this->tabPage4->ResumeLayout(false);
this->tabPage4->PerformLayout();
this->gboxForeign->ResumeLayout(false);
this->gboxForeign->PerformLayout();
this->tabPage5->ResumeLayout(false);
this->tabPage5->PerformLayout();
this->tabError->ResumeLayout(false);
this->tabError->PerformLayout();
this->gboxErrorTiming->ResumeLayout(false);
this->gboxErrorTiming->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridWarn))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->gridError))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
/////////////////////////////////////////////
// 内部メソッド
/////////////////////////////////////////////
private:
// ----------------------------------------------
// ファイルのR/W
// ----------------------------------------------
// 設定ファイルの読み込み
void loadInit(void)
{
System::Xml::XmlDocument ^doc = gcnew System::Xml::XmlDocument();
// xmlファイルの読み込み
try
{
doc->Load( "../resource/ini.xml" );
}
catch( System::IO::FileNotFoundException ^s )
{
(void)s;
this->tboxMsg->Text = "設定ファイルを開くことができませんでした。";
return;
}
// <init>タグ : ルート
System::Xml::XmlElement ^root = doc->DocumentElement;
System::String ^msg = gcnew System::String("");
// <rw>タグ
System::Xml::XmlNodeList ^rwlist = root->GetElementsByTagName( "rw" );
if( rwlist != nullptr )
{
System::Xml::XmlNode ^rw = rwlist->Item(0);
if( rw->FirstChild->Value->Equals( "r" ) )
{
// リードオンリモード
this->disableForms();
if( !System::String::IsNullOrEmpty(msg) )
{
msg += "";
}
msg += "リードオンリモード";
}
}
// <output>タグ
System::Xml::XmlNodeList ^outlist = root->GetElementsByTagName( "output" );
if( outlist != nullptr )
{
System::Xml::XmlNode ^out = outlist->Item(0);
if( out->FirstChild->Value->Equals( "XML" ) )
{
// ーマルXML出力モード
this->disableForms();
if( !System::String::IsNullOrEmpty(msg) )
{
msg += "";
}
msg += "XML文書出力モード";
}
}
if( !System::String::IsNullOrEmpty(msg) )
{
msg += "で動作しています。";
}
this->tboxMsg->Text = msg;
}
private:
// SRLのオープン
System::Void loadSrl( System::String ^filename )
{
ECSrlResult result = this->hSrl->readFromFile( filename );
if( result != ECSrlResult::NOERROR )
{
switch( result )
{
case ECSrlResult::ERROR_PLATFORM:
if( this->stripItemJapanese->Checked == true )
this->errMsg( "本ツールはTWL対応ROM専用です。NTR専用ROMなどのTWL対応ROM以外を読み込むことはできません。" );
else
this->errMsg( "This tool can only read TWL ROM. This can't read Other data e.g. NTR limited ROM." );
break;
default:
if( this->stripItemJapanese->Checked == true )
this->errMsg( "リードに失敗しました。" );
else
this->errMsg( "Reading the file failed." );
break;
}
return; // 前のファイルが正常である保証なしなので前のファイルも上書き保存できないようにする
}
this->tboxFile->Text = filename;
// GUIにROM情報を格納
this->setSrlForms();
// 全体のCRCを算出
u16 crc;
if( !getWholeCRCInFile( filename, &crc ) )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "CRCの計算に失敗しました。" );
else
this->errMsg( "Calc CRC failed." );
return;
}
System::UInt16 ^hcrc = gcnew System::UInt16( crc );
this->tboxWholeCRC->Clear();
this->tboxWholeCRC->AppendText( "0x" );
this->tboxWholeCRC->AppendText( hcrc->ToString("X") );
if( this->stripItemJapanese->Checked == true )
this->tboxMsg->Text = "ファイルオープンに成功しました。";
else
this->tboxMsg->Text = "Opening the file succeeded.";
} // openSrl
private:
// SRLの保存
System::Void saveSrl( System::String ^filename )
{
// ROM情報をフォームから取得してSRLバイナリに反映させる
this->setSrlProperties();
// マスタ書類情報をフォームから取得して書類に反映させる -> 必要なし
//this->setDeliverableProperties();
// ファイルをコピー
if( !(filename->Equals( this->tboxFile->Text )) )
{
System::IO::File::Copy( this->tboxFile->Text, filename, true );
}
// コピーしたファイルにROMヘッダを上書き
if( this->hSrl->writeToFile( filename ) != ECSrlResult::NOERROR )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "保存に失敗しました。" );
else
this->errMsg( "Saving the file failed." );
return;
}
if( this->stripItemJapanese->Checked == true )
this->tboxMsg->Text = "保存が成功しました。";
else
this->tboxMsg->Text = "Saving the file succeeded.";
this->tboxFile->Text = filename;
// 再リード
this->loadSrl( filename );
}
private:
// ----------------------------------------------
// フォームの初期設定
// ----------------------------------------------
// 設定/選択可能なフォームをすべて disable にする
void disableForms( void )
{
this->cboxIsEULA->Enabled = false;
this->numEULA->Enabled = false;
this->cboxIsWirelessIcon->Enabled = false;
this->cboxIsWiFiIcon->Enabled = false;
this->combCERO->Enabled = false;
this->cboxCERO->Enabled = false;
this->cboxAlwaysCERO->Enabled = false;
this->combESRB->Enabled = false;
this->cboxESRB->Enabled = false;
this->cboxAlwaysESRB->Enabled = false;
this->combUSK->Enabled = false;
this->cboxUSK->Enabled = false;
this->cboxAlwaysUSK->Enabled = false;
this->combPEGI->Enabled = false;
this->cboxPEGI->Enabled = false;
this->cboxAlwaysPEGI->Enabled = false;
this->combPEGIPRT->Enabled = false;
this->cboxPEGIPRT->Enabled = false;
this->cboxAlwaysPEGIPRT->Enabled = false;
this->combPEGIBBFC->Enabled = false;
this->cboxPEGIBBFC->Enabled = false;
this->cboxAlwaysPEGIBBFC->Enabled = false;
this->combOFLC->Enabled = false;
this->cboxOFLC->Enabled = false;
this->cboxAlwaysOFLC->Enabled = false;
}
private:
// ----------------------------------------------
// フォームとSRL内情報を矛盾なく一致させる
// ----------------------------------------------
// ROM情報をフォームから取得してSRLクラスのプロパティに反映させる
// (ROMヘッダへの反映やCRCと署名の再計算をしない)
void setSrlProperties(void)
{
// ROMヘッダの[0,0x160)の領域はRead Onlyで変更しない
// TWL拡張領域のいくつかの情報をROMヘッダに反映させる
this->hSrl->hIsEULA = this->cboxIsEULA->Checked;
this->hSrl->hEULAVersion = gcnew System::Byte( System::Decimal::ToByte( this->numEULA->Value ) );
this->hSrl->hIsWiFiIcon = this->cboxIsWiFiIcon->Checked;
this->hSrl->hIsWirelessIcon = this->cboxIsWirelessIcon->Checked;
// Srlクラスのプロパティへの反映
this->setParentalSrlProperties();
}
// SRLのROM情報をフォームに反映させる(ファイルが読み込まれていることが前提)
void setSrlForms(void)
{
// NTR互換情報
this->tboxTitleName->Text = this->hSrl->hTitleName;
this->tboxGameCode->Text = this->hSrl->hGameCode;
this->tboxMakerCode->Text = this->hSrl->hMakerCode;
this->tboxPlatform->Text = this->hSrl->hPlatform;
this->tboxRomSize->Text = this->hSrl->hRomSize;
this->tboxRomLatency->Text = this->hSrl->hLatency;
if( *(this->hSrl->hRomVersion) == 0xE0 )
{
this->tboxRemasterVer->Text = gcnew System::String("E");
this->cboxRemasterVerE->Checked = true;
}
else
{
this->tboxRemasterVer->Text = this->hSrl->hRomVersion->ToString();
this->cboxRemasterVerE->Checked = false;
}
this->tboxHeaderCRC->Clear();
this->tboxHeaderCRC->AppendText( "0x" );
this->tboxHeaderCRC->AppendText( this->hSrl->hHeaderCRC->ToString("X") );
if( this->hSrl->hPlatform == nullptr )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "プラットホーム指定が不正です。ROMデータのビルド設定を見直してください。" );
else
this->errMsg( "Illegal Platform: Please check build settings of the ROM data." );
}
// TWL拡張情報
this->tboxTitleIDLo->Text = this->hSrl->hTitleIDLo->ToString("X8");
this->tboxTitleIDHi->Text = this->hSrl->hTitleIDHi->ToString("X8");
this->tboxNormalRomOffset->Text = this->hSrl->hNormalRomOffset->ToString("X8");
this->tboxKeyTableRomOffset->Text = this->hSrl->hKeyTableRomOffset->ToString("X8");
this->tboxPublicSize->Text = this->hSrl->hPublicSize->ToString();
this->tboxPrivateSize->Text = this->hSrl->hPrivateSize->ToString();
this->cboxIsNormalJump->Checked = *(this->hSrl->hIsNormalJump);
this->cboxIsTmpJump->Checked = *(this->hSrl->hIsTmpJump);
this->cboxIsSubBanner->Checked = *(this->hSrl->hIsSubBanner);
this->cboxIsWL->Checked = *(this->hSrl->hIsWL);
this->cboxIsEULA->Checked = *(this->hSrl->hIsEULA);
this->numEULA->Value = *(this->hSrl->hEULAVersion);
this->cboxIsWiFiIcon->Checked = *(this->hSrl->hIsWiFiIcon);
this->cboxIsWirelessIcon->Checked = *(this->hSrl->hIsWirelessIcon);
if( *(this->hSrl->hIsCodecTWL) == true )
{
this->tboxIsCodec->Text = gcnew System::String( "TWL" );
}
else
{
this->tboxIsCodec->Text = gcnew System::String( "NTR" );
}
this->cboxIsSD->Checked = *(this->hSrl->hIsSD);
this->cboxIsNAND->Checked = *(this->hSrl->hIsNAND);
if( *(this->hSrl->hIsGameCardNitro) == true )
{
this->tboxIsGameCardOn->Text = gcnew System::String( "ON(NTR)" );
}
else if( *(this->hSrl->hIsGameCardOn) == true )
{
this->tboxIsGameCardOn->Text = gcnew System::String( "ON(normal)" );
}
else
{
this->tboxIsGameCardOn->Text = gcnew System::String( "OFF" );
}
this->cboxIsShared2->Checked = *(this->hSrl->hIsShared2);
this->tboxShared2Size0->Text = this->hSrl->hShared2Size0->ToString();
this->tboxShared2Size1->Text = this->hSrl->hShared2Size1->ToString();
this->tboxShared2Size2->Text = this->hSrl->hShared2Size2->ToString();
this->tboxShared2Size3->Text = this->hSrl->hShared2Size3->ToString();
this->tboxShared2Size4->Text = this->hSrl->hShared2Size4->ToString();
this->tboxShared2Size5->Text = this->hSrl->hShared2Size5->ToString();
// アプリ種別
System::String ^app = gcnew System::String("");
if( *(this->hSrl->hIsAppUser) == true )
{
app += "Type:User. ";
}
if( *(this->hSrl->hIsAppSystem) == true )
{
app += "Type:System. ";
}
if( *(this->hSrl->hIsAppLauncher) == true )
{
app += "Type:Launcher. ";
}
if( *(this->hSrl->hIsAppSecure) == true )
{
app += "Type:Secure. ";
}
if( *(this->hSrl->hIsMediaNand) == true )
{
app += "Media:NAND. ";
}
else
{
app += "Media:Card. ";
}
if( *(this->hSrl->hIsLaunch) == true )
{
app += "Launch. ";
}
else
{
app += "Not-Launch. ";
}
if( *(this->hSrl->hIsDataOnly) == true )
{
app += "DataOnly. ";
}
this->tboxAppType->Text = app;
// アクセスコントロール その他
System::String ^acc = gcnew System::String("");
if( *(this->hSrl->hIsCommonClientKey) == true )
{
acc += "commonClientKey. ";
}
if( *(this->hSrl->hIsAesSlotBForES) == true )
{
acc += "AES-SlotB(ES). ";
}
if( *(this->hSrl->hIsAesSlotCForNAM) == true )
{
acc += "AES-SlotC(NAM). ";
}
if( *(this->hSrl->hIsAesSlotBForJpegEnc) == true )
{
acc += "AES-SlotB(JpegEnc.). ";
}
if( *(this->hSrl->hIsAesSlotAForSSL) == true )
{
acc += "AES-SlotA(SSL). ";
}
if( *(this->hSrl->hIsCommonClientKeyForDebugger) == true )
{
acc += "commonClientKey(Debug.). ";
}
this->tboxAccessOther->Text = acc;
// 特殊な設定をテキストボックスに反映
this->setSrlFormsCaptionEx();
// SDKバージョンとライブラリ
if( this->hSrl->hSDKList != nullptr )
{
this->tboxSDK->Clear();
for each( RCSDKVersion ^ver in this->hSrl->hSDKList )
{
if( ver->IsStatic )
this->tboxSDK->Text += ver->Version + " (main static)\r\n";
else
this->tboxSDK->Text += ver->Version + "\r\n";
}
}
if( this->hSrl->hLicenseList != nullptr )
{
for each( RCLicense ^lic in this->hSrl->hLicenseList )
{
this->gridLibrary->Rows->Add( gcnew cli::array<System::Object^>{lic->Publisher, lic->Name} );
}
}
// ペアレンタルコントロール関連
this->setParentalForms();
}
// SRLの特殊な設定をフォームにセットする(言語切り替えで表示を変えたいので独立させる)
void setSrlFormsCaptionEx()
{
// 特殊な設定は備考欄に書き加えておく
this->tboxCaptionEx->Clear();
if( (this->hSrl->hHasDSDLPlaySign != nullptr) && (*(this->hSrl->hHasDSDLPlaySign) == true) )
{
if( this->stripItemJapanese->Checked == true )
this->tboxCaptionEx->Text += gcnew System::String( "DSクローンブート対応. " );
else
this->tboxCaptionEx->Text += gcnew System::String( "DS Clone Boot. " );
}
}
// ペアレンタルコントロール情報はSRL内にあるが設定が大変なので切り出す
// ペアレンタルコントロール関連の情報をフォームから取得してSRLに反映させる
void setParentalSrlProperties(void)
{
// リージョン
this->hSrl->hIsRegionJapan = gcnew System::Boolean(false);
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(false);
this->hSrl->hIsRegionEurope = gcnew System::Boolean(false);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(false);
switch( this->combRegion->SelectedIndex )
{
case 0:
this->hSrl->hIsRegionJapan = gcnew System::Boolean(true);
break;
case 1:
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(true);
break;
case 2:
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
break;
case 3:
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
case 4:
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
this->hSrl->hIsRegionJapan = gcnew System::Boolean(true);
this->hSrl->hIsRegionAmerica = gcnew System::Boolean(true);
this->hSrl->hIsRegionEurope = gcnew System::Boolean(true);
this->hSrl->hIsRegionAustralia = gcnew System::Boolean(true);
break;
#endif
default:
break;
}
System::Byte rating;
// CERO
switch( this->combCERO->SelectedIndex )
{
case 0: rating = 0; break;
case 1: rating = 12; break;
case 2: rating = 15; break;
case 3: rating = 17; break;
case 4: rating = 18; break;
default:
rating = 0; // 未審査
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_CERO] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_CERO] = gcnew System::Boolean( this->cboxCERO->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_CERO] = gcnew System::Boolean( this->cboxAlwaysCERO->Checked );
// ESRB
switch( this->combESRB->SelectedIndex )
{
case 0: rating = 3; break;
case 1: rating = 6; break;
case 2: rating = 10; break;
case 3: rating = 13; break;
case 4: rating = 17; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_ESRB] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_ESRB] = gcnew System::Boolean( this->cboxESRB->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_ESRB] = gcnew System::Boolean( this->cboxAlwaysESRB->Checked );
// USK
switch( this->combUSK->SelectedIndex )
{
case 0: rating = 0; break;
case 1: rating = 6; break;
case 2: rating = 12; break;
case 3: rating = 16; break;
case 4: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_USK] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_USK] = gcnew System::Boolean( this->cboxUSK->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_USK] = gcnew System::Boolean( this->cboxAlwaysUSK->Checked );
// PEGI
switch( this->combPEGI->SelectedIndex )
{
case 0: rating = 3; break;
case 1: rating = 7; break;
case 2: rating = 12; break;
case 3: rating = 16; break;
case 4: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_PEGI_GEN] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_PEGI_GEN] = gcnew System::Boolean( this->cboxPEGI->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_PEGI_GEN] = gcnew System::Boolean( this->cboxAlwaysPEGI->Checked );
// PEGIPRT
switch( this->combPEGIPRT->SelectedIndex )
{
case 0: rating = 4; break;
case 1: rating = 6; break;
case 2: rating = 12; break;
case 3: rating = 16; break;
case 4: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_PEGI_PRT] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_PEGI_PRT] = gcnew System::Boolean( this->cboxPEGIPRT->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_PEGI_PRT] = gcnew System::Boolean( this->cboxAlwaysPEGIPRT->Checked );
// PEGIBBFC
switch( this->combPEGIBBFC->SelectedIndex )
{
case 0: rating = 3; break;
case 1: rating = 4; break;
case 2: rating = 7; break;
case 3: rating = 8; break;
case 4: rating = 12; break;
case 5: rating = 15; break;
case 6: rating = 16; break;
case 7: rating = 18; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_PEGI_BBFC] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_PEGI_BBFC] = gcnew System::Boolean( this->cboxPEGIBBFC->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_PEGI_BBFC] = gcnew System::Boolean( this->cboxAlwaysPEGIBBFC->Checked );
// OFLC
switch( this->combOFLC->SelectedIndex )
{
case 0: rating = 0; break;
case 1: rating = 7; break;
case 2: rating = 14; break;
case 3: rating = 15; break;
default:
rating = 0;
break;
}
this->hSrl->hArrayParentalRating[OS_TWL_PCTL_OGN_OFLC] = gcnew System::Byte( rating );
this->hSrl->hArrayParentalEffect[OS_TWL_PCTL_OGN_OFLC] = gcnew System::Boolean( this->cboxOFLC->Checked );
this->hSrl->hArrayParentalAlways[OS_TWL_PCTL_OGN_OFLC] = gcnew System::Boolean( this->cboxAlwaysOFLC->Checked );
}
// SRL内のペアレンタルコントロール情報を抜き出してフォームに反映させる
void setParentalForms(void)
{
System::Int32 index;
// リージョン
System::Boolean isJapan = *(this->hSrl->hIsRegionJapan);
System::Boolean isAmerica = *(this->hSrl->hIsRegionAmerica);
System::Boolean isEurope = *(this->hSrl->hIsRegionEurope);
System::Boolean isAustralia = *(this->hSrl->hIsRegionAustralia);
if( isJapan && !isAmerica && !isEurope && !isAustralia )
index = 0;
else if( !isJapan && isAmerica && !isEurope && !isAustralia )
index = 1;
else if( !isJapan && !isAmerica && isEurope && !isAustralia )
index = 2;
else if( !isJapan && !isAmerica && !isEurope && isAustralia )
index = 3;
else if( !isJapan && !isAmerica && isEurope && isAustralia )
index = 4;
else
index = -1; // 不正
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
if( isJapan && isAmerica && isEurope && isAustralia )
index = 5;
#endif
this->combRegion->SelectedIndex = index;
this->maskParentalForms();
// CERO
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_CERO ]) )
{
case 0:
if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_CERO ]) ) // 全年齢か未審査か判定
index = 0;
else
index = 5;
break;
case 12: index = 1; break;
case 15: index = 2; break;
case 17: index = 3; break;
case 18: index = 4; break;
default:
index = 5; // リード時のチェックがあるため起こり得ない
break;
}
this->combCERO->SelectedIndex = index;
this->cboxCERO->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_CERO ]);
this->cboxAlwaysCERO->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_CERO ]);
// ESRB
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_ESRB ]) )
{
case 3: index = 0; break;
case 6: index = 1; break;
case 10: index = 2; break;
case 13: index = 3; break;
case 17: index = 4; break;
case 0: index = 5; break; // 0はデフォルト値なのでエラーメッセージを出さない(自動的に未審査扱い)
default:
index = 5;
break;
}
this->combESRB->SelectedIndex = index;
this->cboxESRB->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_ESRB ]);
this->cboxAlwaysESRB->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_ESRB ]);
// USK
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_USK ]) )
{
case 0:
if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_USK ]) )
index = 0;
else
index = 5;
break;
case 6: index = 1; break;
case 12: index = 2; break;
case 16: index = 3; break;
case 18: index = 4; break;
default:
index = 5;
break;
}
this->combUSK->SelectedIndex = index;
this->cboxUSK->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_USK ]);
this->cboxAlwaysUSK->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_USK ]);
// PEGI_GEN
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_GEN ]) )
{
case 3: index = 0; break;
case 7: index = 1; break;
case 12: index = 2; break;
case 16: index = 3; break;
case 18: index = 4; break;
case 0: index = 5; break;
default:
index = 5;
break;
}
this->combPEGI->SelectedIndex = index;
this->cboxPEGI->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_GEN ]);
this->cboxAlwaysPEGI->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_GEN ]);
// PEGI_PRT
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_PRT ]) )
{
case 4: index = 0; break;
case 6: index = 1; break;
case 12: index = 2; break;
case 16: index = 3; break;
case 18: index = 4; break;
case 0: index = 5; break;
default:
index = 5;
break;
}
this->combPEGIPRT->SelectedIndex = index;
this->cboxPEGIPRT->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_PRT ]);
this->cboxAlwaysPEGIPRT->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_PRT ]);
// PEGI_BBFC
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_PEGI_BBFC ]) )
{
case 3: index = 0; break;
case 4: index = 1; break;
case 7: index = 2; break;
case 8: index = 3; break;
case 12: index = 4; break;
case 15: index = 5; break;
case 16: index = 6; break;
case 18: index = 7; break;
case 0: index = 8; break;
default:
index = 8;
break;
}
this->combPEGIBBFC->SelectedIndex = index;
this->cboxPEGIBBFC->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_PEGI_BBFC ]);
this->cboxAlwaysPEGIBBFC->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_PEGI_BBFC ]);
// OFLC
switch( *(hSrl->hArrayParentalRating[ OS_TWL_PCTL_OGN_OFLC ]) )
{
case 0:
if( *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_OFLC ]) )
index = 0;
else
index = 4;
break;
case 7: index = 1; break;
case 14: index = 2; break;
case 15: index = 3; break;
default:
index = 4; break;
break;
}
this->combOFLC->SelectedIndex = index;
this->cboxOFLC->Checked = *(hSrl->hArrayParentalEffect[ OS_TWL_PCTL_OGN_OFLC ]);
this->cboxAlwaysOFLC->Checked = *(hSrl->hArrayParentalAlways[ OS_TWL_PCTL_OGN_OFLC ]);
}
// リージョン情報からペアレンタルコントロールの編集可能団体をマスクする
void maskParentalForms(void)
{
this->enableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->enableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
switch( this->combRegion->SelectedIndex )
{
case 0:
// 日本
this->enableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 1:
// 米国
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->enableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 2:
// 欧州
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->disableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 3:
// 豪州
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->disableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->disableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->disableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->disableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
case 4:
// 欧州と豪州
this->disableParental( this->combCERO, this->cboxCERO, this->cboxAlwaysCERO );
this->disableParental( this->combESRB, this->cboxESRB, this->cboxAlwaysESRB );
this->enableParental( this->combUSK, this->cboxUSK, this->cboxAlwaysUSK );
this->enableParental( this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI );
this->enableParental( this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT );
this->enableParental( this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC );
this->enableParental( this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC );
break;
default:
break;
}
}
// ----------------------------------------------
// SRL関連のフォームのチェック
// ----------------------------------------------
// テキスト入力がされているかチェック
System::Boolean checkTextForm( System::String ^formtext, System::String ^labelJ, System::String ^labelE )
{
System::String ^msgJ = gcnew System::String( "入力されていません。" );
System::String ^msgE = gcnew System::String( "No setting. Please retry to input." );
System::String ^tmp = formtext->Replace( " ", "" ); // スペースのみの文字列もエラー
if( (formtext == nullptr) || formtext->Equals("") || tmp->Equals("") )
{
this->hErrorList->Add( gcnew RCMRCError( labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true ) );
return false;
}
return true;
}
// 数値入力が正常かどうかチェック
System::Boolean checkNumRange( System::Int32 val, System::Int32 min, System::Int32 max, System::String ^labelJ, System::String ^labelE )
{
System::String ^msgJ = gcnew System::String( "値の範囲が不正です。やり直してください。" );
System::String ^msgE = gcnew System::String( "Invalidate range of value. Please retry." );
if( (val < min) || (max < val) )
{
this->hErrorList->Add( gcnew RCMRCError( labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true ) );
return false;
}
return true;
}
System::Boolean checkNumRange( System::String ^strval, System::Int32 min, System::Int32 max, System::String ^labelJ, System::String ^labelE )
{
try
{
System::Int32 i = System::Int32::Parse(strval);
return (this->checkNumRange( i, min, max, labelJ, labelE ));
}
catch ( System::FormatException ^ex )
{
(void)ex;
return (this->checkNumRange( max+1, min, max, labelJ, labelE ));
}
}
// コンボボックスをチェック
System::Boolean checkBoxIndex( System::Windows::Forms::ComboBox ^box, System::String ^labelJ, System::String ^labelE )
{
System::String ^msgJ = gcnew System::String( "選択されていません。やり直してください。" );
System::String ^msgE = gcnew System::String( "Not selected. Please retry." );
if( box->SelectedIndex < 0 )
{
this->hWarnList->Add( gcnew RCMRCError(
labelJ, METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE, msgJ, labelE, msgE, true ) );
}
return true;
}
// フォームの入力をチェックする
System::Boolean checkSrlForms(void)
{
// リージョン
if( this->checkBoxIndex( this->combRegion, LANG_REGION_J, LANG_REGION_E ) == false )
return false;
// リージョンを決める
System::Boolean bJapan = false;
System::Boolean bAmerica = false;
System::Boolean bEurope = false;
System::Boolean bAustralia = false;
switch( this->combRegion->SelectedIndex )
{
case 0:
bJapan = true;
break;
case 1:
bAmerica = true;
break;
case 2:
bEurope = true;
break;
case 3:
bAustralia = true;
break;
case 4:
bEurope = true;
bAustralia = true;
break;
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
case 5:
bJapan = true;
bAmerica = true;
bEurope = true;
bAustralia = true;
break;
#endif
default:
break;
}
// ペアレンタルコントロール
this->checkParentalForms( bJapan, this->combCERO, this->cboxCERO, this->cboxAlwaysCERO, this->labCERO->Text );
this->checkParentalForms( bAmerica, this->combESRB, this->cboxESRB, this->cboxAlwaysESRB, this->labESRB->Text );
this->checkParentalForms( bEurope, this->combUSK, this->cboxUSK, this->cboxAlwaysUSK, this->labUSK->Text );
this->checkParentalForms( bEurope, this->combPEGI, this->cboxPEGI, this->cboxAlwaysPEGI, this->labPEGI->Text );
this->checkParentalForms( bEurope, this->combPEGIPRT, this->cboxPEGIPRT, this->cboxAlwaysPEGIPRT, this->labPEGIPRT->Text );
this->checkParentalForms( bEurope, this->combPEGIBBFC, this->cboxPEGIBBFC, this->cboxAlwaysPEGIBBFC,
this->labPEGIBBFC->Text + " " + this->labPEGIBBFC2->Text );
this->checkParentalForms( bAustralia, this->combOFLC, this->cboxOFLC, this->cboxAlwaysOFLC, this->labOFLC->Text );
return (this->hErrorList->Count > 0);
}
// ペアレンタルコントロール関連のフォーム入力が正しいか書き込み前チェック
void checkParentalForms(
System::Boolean inRegion, System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable, System::Windows::Forms::CheckBox ^always, System::String ^msg )
{
// リージョンに含まれていないとき: 0クリアが保証されるのでチェック必要なし
if( !inRegion )
return;
if( !enable->Checked ) // 有効フラグが立っていないとき
{
// 何も設定されていない
if( !always->Checked && (comb->SelectedIndex == (comb->Items->Count - 1)) )
{
this->hWarnList->Add( gcnew RCMRCError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": レーティング審査を必要としないソフトであるとみなしてデータを保存します。",
"Parental Control", msg + ": Save ROM data as Game soft which needs rating examinination.", true ) );
}
else
{
this->hErrorList->Add( gcnew RCMRCError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": 制限が無効であるにもかかわらずレーティング情報が設定されています。",
"Parental Control", msg + "Rating can be set only when control is enable.", true ) );
}
}
else // 有効フラグが立っているとき
{
if( !always->Checked && (comb->SelectedIndex == (comb->Items->Count - 1)) )
{
this->hErrorList->Add( gcnew RCMRCError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": 制限が有効であるにもかかわらずレーティング情報が設定されていません。",
"Parental Control", msg + ": Rating must be set when control is enable.", true ) );
}
else if( always->Checked )
{
this->hWarnList->Add( gcnew RCMRCError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
msg + ": Rating Pendingが指定されています。レーティング年齢が審査されしだい、再度、ROMを提出してください。",
"Parental Control", ": Rating Pending is setting. When rating age is examined, Please submit again.", true ) );
}
else if( comb->SelectedIndex == (comb->Items->Count - 1) )
{
this->hErrorList->Add( gcnew RCMRCError(
"ペアレンタルコントロール情報", METWL_ERRLIST_NORANGE, METWL_ERRLIST_NORANGE,
": Rating Pending指定とレーティング年齢を同時に指定することはできません。",
"Parental Control", ": Rating setting is either rating pending or rating age.", true ) );
}
}
} //checkParentalForms()
// ----------------------------------------------
// マスタ書類情報をフォームから取得
// ----------------------------------------------
void setDeliverableProperties(void)
{
// 提出情報
this->hDeliv->hProductName = this->tboxProductName->Text;
this->hDeliv->hProductCode1 = this->tboxProductCode1->Text;
this->hDeliv->hProductCode2 = this->tboxProductCode2->Text;
this->hDeliv->hReleaseForeign = gcnew System::Boolean( this->cboxReleaseForeign->Checked );
if( this->cboxReleaseForeign->Checked == true )
{
this->hDeliv->hProductNameForeign = this->tboxProductNameForeign->Text;
this->hDeliv->hProductCode1Foreign = this->tboxProductCode1Foreign->Text;
this->hDeliv->hProductCode2Foreign = gcnew System::String("");
this->hDeliv->hProductCode2Foreign = this->tboxProductCode2Foreign1->Text;
if( !System::String::IsNullOrEmpty( this->tboxProductCode2Foreign2->Text ) )
{
this->hDeliv->hProductCode2Foreign += ("/" + this->tboxProductCode2Foreign2->Text);
}
if( !System::String::IsNullOrEmpty( this->tboxProductCode2Foreign2->Text ) )
{
this->hDeliv->hProductCode2Foreign += ("/" + this->tboxProductCode2Foreign3->Text);
}
}
else
{
this->hDeliv->hProductNameForeign = nullptr;
this->hDeliv->hProductCode1Foreign = nullptr;
this->hDeliv->hProductCode2Foreign = nullptr;
}
this->hDeliv->hReleaseYear = gcnew System::Int32( this->dateRelease->Value.Year );
this->hDeliv->hReleaseMonth = gcnew System::Int32( this->dateRelease->Value.Month );
this->hDeliv->hReleaseDay = gcnew System::Int32( this->dateRelease->Value.Day );
this->hDeliv->hSubmitYear = gcnew System::Int32( this->dateSubmit->Value.Year );
this->hDeliv->hSubmitMonth = gcnew System::Int32( this->dateSubmit->Value.Month );
this->hDeliv->hSubmitDay = gcnew System::Int32( this->dateSubmit->Value.Day );
this->hDeliv->hSubmitVersion = gcnew System::Int32( System::Decimal::ToInt32( this->numSubmitVersion->Value ) );
// SDK
this->hDeliv->hSDK = nullptr;
if( this->hSrl->hSDKList )
{
for each( RCSDKVersion ^sdk in this->hSrl->hSDKList ) // 書類には ARM9 static のバージョン情報を記入する
{
if( sdk->IsStatic )
this->hDeliv->hSDK = sdk->Version;
}
}
if( this->hDeliv->hSDK == nullptr )
{
this->hDeliv->hSDK = gcnew System::String( "Undefined" );
}
// 提出方法
if( this->rSubmitPost->Checked == true )
{
this->hDeliv->hSubmitWay = this->rSubmitPost->Text;
}
else
{
this->hDeliv->hSubmitWay = this->rSubmitHand->Text;
}
// 用途
if( this->rUsageSale->Checked == true )
{
this->hDeliv->hUsage = this->rUsageSale->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageSample->Checked == true )
{
this->hDeliv->hUsage = this->rUsageSample->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageDst->Checked == true )
{
this->hDeliv->hUsage = this->rUsageDst->Text;
this->hDeliv->hUsageOther = nullptr;
}
else if( this->rUsageOther->Checked == true )
{
this->hDeliv->hUsage = this->rUsageOther->Text;
this->hDeliv->hUsageOther = this->tboxUsageOther->Text;
}
// 会社情報
this->hDeliv->hCompany1 = this->tboxCompany1->Text;
this->hDeliv->hDepart1 = this->tboxDepart1->Text;
this->hDeliv->hPerson1 = this->tboxPerson1->Text;
if( this->stripItemJapanese->Checked == true )
{
this->hDeliv->hFurigana1 = this->tboxFurigana1->Text;
}
else
{
this->hDeliv->hFurigana1 = nullptr;
}
this->hDeliv->hTel1 = this->tboxTel1->Text;
this->hDeliv->hFax1 = this->tboxFax1->Text;
this->hDeliv->hMail1 = this->tboxMail1->Text;
this->hDeliv->hNTSC1 = this->tboxNTSC1->Text;
this->hDeliv->hIsPerson2 = gcnew System::Boolean( this->cboxIsInputPerson2->Checked );
if( this->cboxIsInputPerson2->Checked == true )
{
this->hDeliv->hCompany2 = this->tboxCompany2->Text;
this->hDeliv->hDepart2 = this->tboxDepart2->Text;
this->hDeliv->hPerson2 = this->tboxPerson2->Text;
if( this->stripItemJapanese->Checked == true )
{
this->hDeliv->hFurigana2 = this->tboxFurigana2->Text;
}
else
{
this->hDeliv->hFurigana2 = nullptr;
}
this->hDeliv->hTel2 = this->tboxTel2->Text;
this->hDeliv->hFax2 = this->tboxFax2->Text;
this->hDeliv->hMail2 = this->tboxMail2->Text;
this->hDeliv->hNTSC2 = this->tboxNTSC2->Text;
}
else
{
this->hDeliv->hCompany2 = nullptr;
this->hDeliv->hDepart2 = nullptr;
this->hDeliv->hPerson2 = nullptr;
this->hDeliv->hFurigana2 = nullptr;
this->hDeliv->hTel2 = nullptr;
this->hDeliv->hFax2 = nullptr;
this->hDeliv->hMail2 = nullptr;
this->hDeliv->hNTSC2 = nullptr;
}
// 備考
System::String ^tmp = this->tboxCaption->Text->Replace( " ", "" );
if( this->tboxCaption->Text->Equals("") || tmp->Equals("") ) // スペースのみの文字列は含めない
{
this->hDeliv->hCaption = nullptr;
}
else
{
this->hDeliv->hCaption = this->tboxCaption->Text;
}
// 備考欄に特殊な設定を追記
tmp = this->tboxCaptionEx->Text->Replace( " ", "" );
if( !(this->tboxCaptionEx->Text->Equals("")) && !(tmp->Equals("")) )
{
this->hDeliv->hCaption += (" " + this->tboxCaptionEx->Text);
}
// 一部のROM情報を登録
if( this->combBackup->SelectedIndex != (this->combBackup->Items->Count - 1) )
{
this->hDeliv->hBackupMemory = this->combBackup->SelectedItem->ToString();
}
else
{
this->hDeliv->hBackupMemory = this->tboxBackupOther->Text;
}
}
// フォームの入力をチェックする
System::Boolean checkDeliverableForms(void)
{
// 不正な場合はダイアログで注意してreturn
// 提出情報
this->checkTextForm( this->tboxProductName->Text, LANG_PRODUCT_NAME_J, LANG_PRODUCT_NAME_E );
this->checkTextForm( this->tboxProductCode1->Text, LANG_PRODUCT_CODE_J, LANG_PRODUCT_CODE_E );
this->checkTextForm( this->tboxProductCode2->Text, LANG_PRODUCT_CODE_J, LANG_PRODUCT_CODE_E );
if( this->cboxReleaseForeign->Checked == true )
{
this->checkTextForm( this->tboxProductNameForeign->Text, LANG_PRODUCT_NAME_F_J, LANG_PRODUCT_NAME_F_E );
this->checkTextForm( this->tboxProductCode1Foreign->Text, LANG_PRODUCT_CODE_F_J, LANG_PRODUCT_CODE_F_E );
this->checkTextForm( this->tboxProductCode2Foreign1->Text, LANG_PRODUCT_CODE_F_J, LANG_PRODUCT_CODE_F_E );
}
if( this->rUsageOther->Checked == true )
{
this->checkTextForm( this->tboxUsageOther->Text, LANG_USAGE_J, LANG_USAGE_E );
}
// 会社情報
this->checkTextForm( this->tboxPerson1->Text, LANG_PERSON_1_J, LANG_PERSON_1_E );
this->checkTextForm( this->tboxCompany1->Text, LANG_COMPANY_J, LANG_COMPANY_E );
this->checkTextForm( this->tboxDepart1->Text, LANG_DEPART_J, LANG_DEPART_E );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxFurigana1->Text, LANG_FURIGANA_J, LANG_FURIGANA_J );
}
this->checkTextForm( this->tboxTel1->Text, LANG_TEL_J, LANG_TEL_E );
this->checkTextForm( this->tboxFax1->Text, LANG_FAX_J, LANG_FAX_E );
this->checkTextForm( this->tboxMail1->Text, LANG_MAIL_J, LANG_MAIL_E );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxNTSC1->Text, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, LANG_NTSC_1_J + " " + LANG_NTSC_2_J );
}
if( this->cboxIsInputPerson2->Checked == true )
{
this->checkTextForm( this->tboxPerson2->Text, LANG_PERSON_2_J, LANG_PERSON_2_E );
this->checkTextForm( this->tboxCompany2->Text, LANG_COMPANY_J, LANG_COMPANY_E );
this->checkTextForm( this->tboxDepart2->Text, LANG_DEPART_J, LANG_DEPART_E );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxFurigana2->Text, LANG_FURIGANA_J, LANG_FURIGANA_J );
}
this->checkTextForm( this->tboxTel2->Text, LANG_TEL_J, LANG_TEL_E );
this->checkTextForm( this->tboxFax2->Text, LANG_FAX_J, LANG_FAX_E );
this->checkTextForm( this->tboxMail2->Text, LANG_MAIL_J, LANG_MAIL_E );
if( this->stripItemJapanese->Checked == true )
{
this->checkTextForm( this->tboxNTSC2->Text, LANG_NTSC_1_J + " " + LANG_NTSC_2_J, LANG_NTSC_1_J + " " + LANG_NTSC_2_J );
}
}
// 一部のROM情報(SRLバイナリに反映されない情報)をここでチェックする
this->checkBoxIndex( this->combBackup, LANG_BACKUP_J, LANG_BACKUP_E );
if( this->combBackup->SelectedIndex == (this->combBackup->Items->Count - 1) )
{
this->checkTextForm( this->tboxBackupOther->Text, LANG_BACKUP_J, LANG_BACKUP_E );
}
return (this->hErrorList->Count > 0);
}
// ----------------------------------------------
// エラー処理
// ----------------------------------------------
// エラーメッセージを出力
void errMsg( System::String ^str )
{
MessageBox::Show( str, "Error", MessageBoxButtons::OK, MessageBoxIcon::Error );
}
private:
// ----------------------------------------------
// 日英両対応
// ----------------------------------------------
// 日本語版への切り替え
void changeJapanese(void)
{
System::Int32 index;
// フロントパネル上部
this->gboxSrl->Text = gcnew System::String( "ROMデータ情報" );
this->labTitleName->Text = gcnew System::String( "ソフトタイトル" );
this->labGameCode->Text = gcnew System::String( "イニシャルコード" );
this->labMakerCode->Text = gcnew System::String( "メーカコード" );
this->labPlatform->Text = gcnew System::String( "プラットフォーム" );
this->labRomType->Text = gcnew System::String( "ROMタイプ設定" );
this->labRomSize->Text = gcnew System::String( "ROM容量" );
this->labRemasterVer->Text = gcnew System::String( "リマスターバージョン" );
this->cboxRemasterVerE->Text = gcnew System::String( "E(準備版)" );
this->labBackup->Text = gcnew System::String( "バックアップメモリ" );
this->labHeaderCRC->Text = gcnew System::String( "ヘッダCRC" );
this->labRomCRC->Text = gcnew System::String( "全体のCRC" );
index = this->combBackup->SelectedIndex;
// バックアップメモリ
this->gboxProd->Text = gcnew System::String( "ROM生産情報(必ず入力してください)" );
this->combBackup->Items->Clear();
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"4Kbit EEPROM", L"64Kbit EEPROM", L"512Kbit EEPROM",
L"256Kbit FRAM", L"2Mbit FLASH", L"4Mbit FLASH", L"8Mbit FLASH", L"なし", L"その他"});
this->combBackup->SelectedIndex = index;
// 提出情報タブ
this->labProductName->Text = gcnew System::String( "製品名" );
this->labProductCode->Text = gcnew System::String( "製品コード" );
this->labReleaseDate->Text = gcnew System::String( "発売予定日" );
this->labSubmiteDate->Text = gcnew System::String( "書類提出日" );
this->gboxSubmitWay->Text = gcnew System::String( "提出方法" );
this->rSubmitPost->Text = gcnew System::String( "郵送" );
this->rSubmitHand->Text = gcnew System::String( "手渡し" );
this->gboxUsage->Text = gcnew System::String( "用途" );
this->rUsageSale->Text = gcnew System::String( "一般販売用" );
this->rUsageSample->Text = gcnew System::String( "試遊台用" );
this->rUsageDst->Text = gcnew System::String( "データ配信用" );
this->rUsageOther->Text = gcnew System::String( "その他" );
this->labSubmitVer->Text = gcnew System::String( "提出バージョン" );
this->labCapSubmitVer->Text = gcnew System::String( "* リマスターバージョンが上がると再び0からカウント" );
this->labProductNameForeign->Text = gcnew System::String( "製品名" );
this->labProductCodeForeign->Text = gcnew System::String( "製品コード" );
this->cboxReleaseForeign->Text = gcnew System::String( "海外版を発売する(予定)" );
this->labMultiForeign1->Text = gcnew System::String( "* 複数ある場合のみ" );
this->labMultiForeign2->Text = gcnew System::String( "* 複数ある場合のみ" );
this->labCaption->Text = gcnew System::String( "備考欄 - その他連絡事項があればご記入ください" );
// 会社情報タブ
this->gboxPerson1->Text = gcnew System::String( "担当者1" );
this->gboxPerson2->Text = gcnew System::String( "担当者2" );
this->cboxIsInputPerson2->Text = gcnew System::String( "担当者2を入力する" );
this->labCompany1->Text = gcnew System::String( "貴社名" );
this->labDepart1->Text = gcnew System::String( "部署名" );
this->labPerson1->Text = gcnew System::String( "ご氏名" );
this->labCompany2->Text = gcnew System::String( "貴社名" );
this->labDepart2->Text = gcnew System::String( "部署名" );
this->labPerson2->Text = gcnew System::String( "ご氏名" );
// ふりがな情報を有効にする
this->tboxFurigana1->Enabled = true;
this->labFurigana1->Text = gcnew System::String("ふりがな");
this->tboxFurigana2->Enabled = true;
this->labFurigana2->Text = gcnew System::String("ふりがな");
// TWL仕様
this->gboxTWLExInfo->Text = gcnew System::String( "TWL拡張情報" );
this->labNormalRomOffset->Text = gcnew System::String( "TWLーマル領域ROMオフセット" );
this->labKeyTableRomOffset->Text = gcnew System::String( "TWL専用領域ROMオフセット" );
this->cboxIsNormalJump->Text = gcnew System::String( "ノーマルジャンプ許可" );
this->cboxIsTmpJump->Text = gcnew System::String( "tmpジャンプ許可" );
this->cboxIsSubBanner->Text = gcnew System::String( "サブバナーファイル有効" );
this->cboxIsWL->Text = gcnew System::String( "NTRホワイトリスト署名有効" );
this->gboxAccess->Text = gcnew System::String( "アクセスコントロール情報" );
this->cboxIsSD->Text = gcnew System::String( "SDカード" );
this->cboxIsNAND->Text = gcnew System::String( "NANDフラッシュメモリ" );
this->labIsGameCardOn->Text = gcnew System::String( "ゲームカード電源" );
this->labAccessOther->Text = gcnew System::String( "その他" );
this->gboxShared2Size->Text = gcnew System::String( "Shared2ファイルサイズ" );
this->cboxIsShared2->Text = gcnew System::String( "Shared2ファイル使用" );
this->labSDK->Text = gcnew System::String( "SDKバージョン" );
this->labLib->Text = gcnew System::String( "使用ライブラリ" );
this->labCaptionEx->Text = gcnew System::String( "特記事項" );
// ROMデータ編集可能情報
this->labEULA->Text = gcnew System::String( "EULA同意バージョン" );
this->cboxIsEULA->Text = gcnew System::String( "EULA同意" );
this->cboxIsWirelessIcon->Text = gcnew System::String( "DSワイヤレス通信アイコン表示" );
this->cboxIsWiFiIcon->Text = gcnew System::String( "Wi-Fi通信アイコン表示" );
this->labRegion->Text = gcnew System::String( "カードリージョン" );
index = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5)
{L"日本のみ", L"米国のみ", L"欧州のみ", L"豪州のみ", L"欧州および豪州"});
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
this->combRegion->Items->Add( gcnew System::String( L"全リージョン" ) );
#endif
this->combRegion->SelectedIndex = index;
// ペアレンタルコントロール
this->labParentalRating->Text = gcnew System::String( "レーティング" );
this->labParentalEnable->Text = gcnew System::String( "制限を有効" );
this->labParentalForceEnable->Text = gcnew System::String( "Rating Pending" );
index = this->combCERO->SelectedIndex; // いったんclearすると現在のindexに意味がなくなるので退避
this->combCERO->Items->Clear();
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"A (全年齢)", L"B (12歳以上)", L"C (15歳以上)", L"D (17歳以上)",
L"Z (18歳以上)", L"未審査"});
this->combCERO->SelectedIndex = index;
index = this->combESRB->SelectedIndex;
this->combESRB->Items->Clear();
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"EC (3歳以上)", L"E (6歳以上)", L"E10+ (10歳以上)", L"T (13歳以上)",
L"M (17歳以上)", L"未審査"});
this->combESRB->SelectedIndex = index;
index = this->combUSK->SelectedIndex;
this->combUSK->Items->Clear();
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"年齢制限なし", L"6歳以上", L"12歳以上", L"16歳以上", L"青少年には不適切",
L"未審査"});
this->combUSK->SelectedIndex = index;
index = this->combPEGI->SelectedIndex;
this->combPEGI->Items->Clear();
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"3歳以上", L"7歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGI->SelectedIndex = index;
index = this->combPEGIPRT->SelectedIndex;
this->combPEGIPRT->Items->Clear();
this->combPEGIPRT->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"4歳以上", L"6歳以上", L"12歳以上", L"16歳以上", L"18歳以上",
L"未審査"});
this->combPEGIPRT->SelectedIndex = index;
index = this->combPEGIBBFC->SelectedIndex;
this->combPEGIBBFC->Items->Clear();
this->combPEGIBBFC->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"3歳以上", L"4歳以上推奨", L"7歳以上", L"8歳以上推奨", L"12歳以上",
L"15歳以上", L"16歳以上", L"18歳以上", L"未審査"});
this->combPEGIBBFC->SelectedIndex = index;
index = this->combOFLC->SelectedIndex;
this->combOFLC->Items->Clear();
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"G", L"PG", L"M", L"MA15+", L"未審査"});
this->combOFLC->SelectedIndex = index;
// 特殊な設定用のテキストボックスの表記を変更
this->setSrlFormsCaptionEx();
}
private:
// 英語版への切り替え
void changeEnglish(void)
{
System::Int32 index;
// フロントパネル上部
this->gboxSrl->Text = gcnew System::String( "ROM Info." );
this->labTitleName->Text = gcnew System::String( "Game title" );
this->labGameCode->Text = gcnew System::String( "Game code" );
this->labMakerCode->Text = gcnew System::String( "Maker code" );
this->labPlatform->Text = gcnew System::String( "Platform" );
this->labRomType->Text = gcnew System::String( "ROM type" );
this->labRomSize->Text = gcnew System::String( "ROM size" );
this->labRemasterVer->Text = gcnew System::String( "Release ver." );
this->cboxRemasterVerE->Text = gcnew System::String( "E(Preliminary ver.)" );
this->labBackup->Text = gcnew System::String( "Backup memory" );
this->labHeaderCRC->Text = gcnew System::String( "Header CRC" );
this->labRomCRC->Text = gcnew System::String( "ROM CRC" );
index = this->combBackup->SelectedIndex;
// バックアップメモリ
this->gboxProd->Text = gcnew System::String( "ROM Production Info.(Please input certainly)" );
this->combBackup->Items->Clear();
this->combBackup->Items->AddRange(gcnew cli::array< System::Object^ >(9) {L"4Kbit EEPROM", L"64Kbit EEPROM", L"512Kbit EEPROM",
L"256Kbit FRAM", L"2Mbit FLASH", L"4Mbit FLASH", L"8Mbit FLASH", L"Nothing", L"Other"});
this->combBackup->SelectedIndex = index;
// 提出情報タブ
this->labProductName->Text = gcnew System::String( "Product name" );
this->labProductCode->Text = gcnew System::String( "Product code" );
this->labReleaseDate->Text = gcnew System::String( "Release date" );
this->labSubmiteDate->Text = gcnew System::String( "Submission date" );
this->gboxSubmitWay->Text = gcnew System::String( "How to submit" );
this->rSubmitPost->Text = gcnew System::String( "Mail" );
this->rSubmitHand->Text = gcnew System::String( "Handover" );
this->gboxUsage->Text = gcnew System::String( "Purpose" );
this->rUsageSale->Text = gcnew System::String( "For Sale" );
this->rUsageSample->Text = gcnew System::String( "For Trial" );
this->rUsageDst->Text = gcnew System::String( "For Network distribution" );
this->rUsageOther->Text = gcnew System::String( "Other" );
this->labSubmitVer->Text = gcnew System::String( "Submission ver." );
this->labCapSubmitVer->Text = gcnew System::String( "* return to 0 when release ver. is updated." );
this->labProductNameForeign->Text = gcnew System::String( "Product name" );
this->labProductCodeForeign->Text = gcnew System::String( "Product code" );
this->cboxReleaseForeign->Text = gcnew System::String( "Foreign ver. is scheduled to go on sale" );
this->labMultiForeign1->Text = gcnew System::String( "* Only release multi ver." );
this->labMultiForeign2->Text = gcnew System::String( "* Only release multi ver." );
this->labCaption->Text = gcnew System::String( "Remarks item - Please write further information." );
// 会社情報タブ
this->gboxPerson1->Text = gcnew System::String( "Account1" );
this->gboxPerson2->Text = gcnew System::String( "Account2" );
this->cboxIsInputPerson2->Text = gcnew System::String( "Input Account2" );
this->labCompany1->Text = gcnew System::String( "Company" );
this->labDepart1->Text = gcnew System::String( "Dept." );
this->labPerson1->Text = gcnew System::String( "Name" );
this->labCompany2->Text = gcnew System::String( "Company" );
this->labDepart2->Text = gcnew System::String( "Dept." );
this->labPerson2->Text = gcnew System::String( "Name" );
// ふりがな情報を削除
this->tboxFurigana1->Clear();
this->tboxFurigana1->Enabled = false;
this->labFurigana1->Text = gcnew System::String("");
this->tboxFurigana2->Clear();
this->tboxFurigana2->Enabled = false;
this->labFurigana2->Text = gcnew System::String("");
// TWL仕様
this->gboxTWLExInfo->Text = gcnew System::String( "TWL Extended Info" );
this->labNormalRomOffset->Text = gcnew System::String( "TWL normal area ROM offset" );
this->labKeyTableRomOffset->Text = gcnew System::String( "TWL secure area ROM offset" );
this->cboxIsNormalJump->Text = gcnew System::String( "Enable Normal app. jump" );
this->cboxIsTmpJump->Text = gcnew System::String( "Enable Temp. app. jump" );
this->cboxIsSubBanner->Text = gcnew System::String( "Enable SubBanner file" );
this->cboxIsWL->Text = gcnew System::String( "Enable NTR WhiteList signature" );
this->gboxAccess->Text = gcnew System::String( "Access Control" );
this->cboxIsSD->Text = gcnew System::String( "SD Card" );
this->cboxIsNAND->Text = gcnew System::String( "NAND Flash Memory" );
this->labIsGameCardOn->Text = gcnew System::String( "Card Power" );
this->labAccessOther->Text = gcnew System::String( "Others" );
this->gboxShared2Size->Text = gcnew System::String( "Size of Shared2 Files" );
this->cboxIsShared2->Text = gcnew System::String( "Use Shared2 files" );
this->labSDK->Text = gcnew System::String( "SDK ver." );
this->labLib->Text = gcnew System::String( "Libraries used by the program" );
this->labCaptionEx->Text = gcnew System::String( "Special note" );
// ROMデータ編集可能情報
this->labEULA->Text = gcnew System::String( "EULA agreement ver." );
this->cboxIsEULA->Text = gcnew System::String( "Agree EULA" );
this->cboxIsWirelessIcon->Text = gcnew System::String( "Display an Icon of DS Wireless" );
this->cboxIsWiFiIcon->Text = gcnew System::String( "Display an Icon of Wi-Fi connection" );
this->labRegion->Text = gcnew System::String( "Card Region" );
index = this->combRegion->SelectedIndex;
this->combRegion->Items->Clear();
this->combRegion->Items->AddRange(gcnew cli::array< System::Object^ >(5)
{L"Japan Only", L"USA Only", L"Europe Only", L"Australia Only", L"Europe and Australia"});
#if defined(METWL_VER_APPTYPE_SYSTEM) || defined(METWL_VER_APPTYPE_SECURE) || defined(METWL_VER_APPTYPE_LAUNCHER)
this->combRegion->Items->Add( gcnew System::String( L"All Region" ) );
#endif
this->combRegion->SelectedIndex = index;
// ペアレンタルコントロール
this->labParentalRating->Text = gcnew System::String( "Rating" );
this->labParentalEnable->Text = gcnew System::String( "Enable Control" );
this->labParentalForceEnable->Text = gcnew System::String( "Rating Pending" );
index = this->combCERO->SelectedIndex; // いったんclearすると現在のindexに意味がなくなるので退避
this->combCERO->Items->Clear();
this->combCERO->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{ L"A (All ages)", L"B (aged 12 or older)", L"C (aged 15 or older)", L"D (aged 17 or older)", L"Z (aged 18 or older)", L"Unexamined"});
this->combCERO->SelectedIndex = index;
index = this->combESRB->SelectedIndex;
this->combESRB->Items->Clear();
this->combESRB->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"EC (aged 3 or older)", L"E (aged 6 or older)", L"E10+ (aged 10 or older)", L"T (aged 13 or older)", L"M (aged 17 or older)", L"Unexamined"});
this->combESRB->SelectedIndex = index;
index = this->combUSK->SelectedIndex;
this->combUSK->Items->Clear();
this->combUSK->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"All ages", L"aged 6 or older", L"aged 12 or older", L"aged 16 or older", L"Inadequent for young", L"Unexamined"});
this->combUSK->SelectedIndex = index;
index = this->combPEGI->SelectedIndex;
this->combPEGI->Items->Clear();
this->combPEGI->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"aged 3 or older", L"aged 7 or older", L"aged 12 or older", L"aged 16 or older", L"aged 18 or older", L"Unexamined"});
this->combPEGI->SelectedIndex = index;
index = this->combPEGIPRT->SelectedIndex;
this->combPEGIPRT->Items->Clear();
this->combPEGIPRT->Items->AddRange(gcnew cli::array< System::Object^ >(6)
{L"aged 4 or older", L"aged 6 or older", L"aged 12 or older", L"aged 16 or older", L"aged 18 or older", L"Unexamined"});
this->combPEGIPRT->SelectedIndex = index;
index = this->combPEGIBBFC->SelectedIndex;
this->combPEGIBBFC->Items->Clear();
this->combPEGIBBFC->Items->AddRange(gcnew cli::array< System::Object^ >(9)
{L"aged 3 or older", L"aged 4 or older recommended", L"aged 7 or older", L"aged 8 or older recommended",
L"aged 12 or older", L"aged 15 or older", L"aged 16 or older", L"aged 18 or older", L"Unexamined"});
this->combPEGIBBFC->SelectedIndex = index;
index = this->combOFLC->SelectedIndex;
this->combOFLC->Items->Clear();
this->combOFLC->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"G", L"PG", L"M", L"MA15+", L"Unexamined"});
this->combOFLC->SelectedIndex = index;
// 特殊な設定用のテキストボックスの表記を変更
this->setSrlFormsCaptionEx();
}
// --------------------------------------------------------
// 読み込み時エラー情報の登録
// --------------------------------------------------------
public:
void setGridError( void )
{
this->gridError->Rows->Clear();
if( this->hSrl->hErrorList != nullptr )
{
for each( RCMRCError ^err in this->hSrl->hErrorList )
{
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
}
}
}
void setGridWarn( void )
{
this->gridWarn->Rows->Clear();
if( this->hSrl->hWarnList != nullptr )
{
for each( RCMRCError ^err in this->hSrl->hWarnList )
{
this->gridWarn->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
}
}
}
// --------------------------------------------------------
// 読み込み時に修正可能なエラーに現在の入力を重ね合わせ
// --------------------------------------------------------
public:
void overloadGridError( void )
{
this->gridError->Rows->Clear();
if( this->hSrl->hErrorList != nullptr )
{
for each( RCMRCError ^err in this->hSrl->hErrorList )
{
if( !err->EnableModify ) // 修正可能な情報は表示しない
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
}
}
if( this->hErrorList != nullptr )
{
for each( RCMRCError ^err in this->hErrorList )
{
this->gridError->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
}
}
}
void overloadGridWarn( void )
{
this->gridWarn->Rows->Clear();
if( this->hSrl->hWarnList != nullptr )
{
for each( RCMRCError ^err in this->hSrl->hWarnList )
{
if( !err->EnableModify )
this->gridWarn->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
}
}
if( this->hWarnList != nullptr )
{
for each( RCMRCError ^err in this->hWarnList )
{
this->gridWarn->Rows->Add( err->getAll( this->stripItemJapanese->Checked ) );
}
}
}
/////////////////////////////////////////////
// フォーム操作メソッド
/////////////////////////////////////////////
// ファイルパス表示用テキストボックス
private:
// ドラッグされてまだマウスのボタンが離されていないとき
System::Void tboxFile_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e)
{
if( e->Data->GetDataPresent( DataFormats::FileDrop ) )
{
e->Effect = DragDropEffects::All;
}
}
// ドラッグされたあとマウスのボタンが離されたとき
System::Void tboxFile_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e)
{
array<String^> ^files = dynamic_cast< array<String^> ^>(e->Data->GetData( DataFormats::FileDrop ) );
String ^filename = files[0];
if( System::IO::File::Exists(filename) == false )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "ファイルが存在しませんので開くことができません。" );
else
this->errMsg( "The file is not found, therefore the file can not be opened." );
return;
}
this->loadSrl( filename ); // ドラッグアンドドロップの時点でボタンを押さなくてもファイルを開く
this->tboxFile->Text = filename;
}
// チェックボタンを押したときに他のフォームを有効にする
private:
System::Void cboxIsInputPerson2_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->gboxPerson2->Enabled = this->cboxIsInputPerson2->Checked;
if( this->cboxIsInputPerson2->Checked == true )
{
if( (this->tboxCompany1->Text != nullptr) && !(this->tboxCompany1->Text->Equals("")) )
{
this->tboxCompany2->Text = gcnew System::String( this->tboxCompany1->Text );
}
if( (this->tboxDepart1->Text != nullptr) && !(this->tboxDepart1->Text->Equals("")) )
{
this->tboxDepart2->Text = gcnew System::String( this->tboxDepart1->Text );
}
}
else
{
this->tboxCompany2->Clear();
this->tboxDepart2->Clear();
this->tboxPerson2->Clear();
this->tboxFurigana2->Clear();
this->tboxTel2->Clear();
this->tboxFax2->Clear();
this->tboxMail2->Clear();
this->tboxNTSC2->Clear();
}
}
private:
System::Void rUsageOther_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->tboxUsageOther->Enabled = this->rUsageOther->Checked;
if( this->rUsageOther->Checked == false )
{
this->tboxUsageOther->Clear();
}
}
private:
System::Void cboxRemasterVerE_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
//this->numRemasterVer->Enabled = !(this->cboxRemasterVerE->Checked);
//if( this->cboxRemasterVerE->Checked == false )
//{
// this->numRemasterVer->Value = 0;
//}
}
private:
System::Void combBackup_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
{
if( this->combBackup->SelectedIndex == (this->combBackup->Items->Count - 1) )
{
this->tboxBackupOther->Enabled = true;
}
else
{
this->tboxBackupOther->Enabled = false;
this->tboxBackupOther->Clear();
}
}
private:
// ペアレンタルコントロール情報をクリアする
void clearParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable,
System::Windows::Forms::CheckBox ^rp )
{
comb->SelectedIndex = comb->Items->Count - 1; // 「未審査」にする
enable->Checked = false;
rp->Checked = false;
}
private:
// ペアレンタルコントロール情報を編集できるようにする
void enableParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable,
System::Windows::Forms::CheckBox ^rp )
{
comb->Enabled = true;
enable->Enabled = true;
rp->Enabled = true;
}
// ペアレンタルコントロール情報を編集できなくする
void disableParental( System::Windows::Forms::ComboBox ^comb,
System::Windows::Forms::CheckBox ^enable,
System::Windows::Forms::CheckBox ^rp )
{
this->clearParental( comb, enable, rp );
comb->Enabled = false;
enable->Enabled = false;
rp->Enabled = false;
}
private:
System::Void combRegion_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
{
this->maskParentalForms();
}
private:
System::Void cboxReleaseForeign_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->tboxProductNameForeign->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode1Foreign->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode2Foreign1->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode2Foreign2->Enabled = this->cboxReleaseForeign->Checked;
this->tboxProductCode2Foreign3->Enabled = this->cboxReleaseForeign->Checked;
if( this->cboxReleaseForeign->Checked == false )
{
this->tboxProductNameForeign->Clear();
this->tboxProductCode1Foreign->Clear();
this->tboxProductCode2Foreign1->Clear();
this->tboxProductCode2Foreign2->Clear();
this->tboxProductCode2Foreign3->Clear();
}
}
/////////////////////////////////////////////
// タイトルバー操作メソッド
/////////////////////////////////////////////
private:
System::Void stripItemEnglish_Click(System::Object^ sender, System::EventArgs^ e)
{
this->changeEnglish();
this->stripItemEnglish->Checked = true;
this->stripItemJapanese->Checked = false;
}
private:
System::Void stripItemJapanese_Click(System::Object^ sender, System::EventArgs^ e)
{
this->changeJapanese();
this->stripItemEnglish->Checked = false;
this->stripItemJapanese->Checked = true;
}
private:
System::Void stripItemOpenRom_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String^ filename;
// ドラッグアンドドロップ以外ではダイアログから入力する
{
System::Windows::Forms::OpenFileDialog ^dlg = gcnew (OpenFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = (this->stripItemJapanese->Checked == true)?"srl形式 (*.srl)|*.srl|All files (*.*)|*.*"
:"srl format (*.srl)|*.srl|All files (*.*)|*.*";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "ファイルオープンがキャンセルされました。" );
else
this->errMsg( "Opening the file is canceled." );
return;
}
filename = dlg->FileName;
}
this->loadSrl( filename );
// 読み込み時エラーを登録する
this->rErrorReading->Checked = true;
this->setGridError();
this->setGridWarn();
} //stripItemOpenRom_Click()
private:
System::Void stripItemMasterRom_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String^ filename;
// SRLが読み込まれていないときにはリードさせない
if( System::String::IsNullOrEmpty( this->tboxFile->Text ) )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "ROMデータファイルがオープンされていません。" );
else
this->errMsg( "ROM file has not opened yet." );
return;
}
// SRL関連フォーム入力をチェックする
if( this->checkSrlForms() == false )
{
return;
}
// ダイアログで決めたファイルにSRLを保存
{
System::Windows::Forms::SaveFileDialog ^dlg = gcnew (SaveFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = (this->stripItemJapanese->Checked == true)?"srl形式 (*.srl)|*.srl"
:"srl format (*.srl)|*.srl";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "保存がキャンセルされましたのでROMファイルデータは作成(更新)されません。" );
else
this->errMsg( "ROM file is not updated since saving the file is canceled." );
return;
}
filename = dlg->FileName;
if( !(dlg->FileName->EndsWith( ".srl" )) )
{
filename += ".srl";
}
}
this->saveSrl( filename );
} //stripItemMasterRom_Click()
private:
System::Void stripItemSheet_Click(System::Object^ sender, System::EventArgs^ e)
{
System::String ^delivfile;
ECDeliverableResult result;
System::String ^srlfile;
System::UInt16 ^hcrc;
cli::array<System::String^> ^paths;
// SRLが読み込まれていないときにはリードさせない
if( System::String::IsNullOrEmpty( this->tboxFile->Text ) )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "ROMデータファイルがオープンされていません。" );
else
this->errMsg( "ROM file has not opened yet." );
return;
}
// SRLと書類の両方のフォーム入力をチェックする
if( this->checkSrlForms() == false )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "ROMデータに不正な設定があるためROMデータを保存できません。" );
else
this->errMsg( "This ROM data can't be saved, since it has illegal info." );
return;
}
if( this->checkDeliverableForms() == false )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "入力情報に不正な設定があるため提出書類を作成できません。" );
else
this->errMsg( "Making a submission sheet can't be done, since input data is illegal." );
return;
}
// 注意書き
{
System::String ^stmp;
if( this->stripItemJapanese->Checked == true )
stmp = "Step1/2: ROMデータファイル(SRL)と提出書類の情報を一致させるため、まず、入力情報を反映させたSRLを作成します。\n(キャンセルされたとき、SRLおよび提出書類は作成されません。)";
else
stmp = "Step1/2: Firstly, We save ROM file(SRL) because several information in a submission sheet are match those in the SRL.\n(When it is canceled, both the SRL and a submission sheet are not made.)";
MessageBox::Show( stmp, "Caution", MessageBoxButtons::OK, MessageBoxIcon::Information );
}
// ダイアログからSrl名を取得する
{
System::Windows::Forms::SaveFileDialog ^dlg = gcnew (SaveFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = "srl形式 (*.srl)|*.srl";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "SRLの保存がキャンセルされましたので提出書類は作成されません。");
else
this->errMsg( "A submission sheet can not be made, since saving SRL is canceled." );
return;
}
srlfile = dlg->FileName;
if( !(dlg->FileName->EndsWith( ".srl" )) )
{
srlfile += ".srl";
}
}
// マスタ提出書類に必要な情報をフォームから取得して更新
this->setSrlProperties(); // 先にSrlを更新しておく
this->setDeliverableProperties();
// 注意書き
{
System::String ^stmp;
if( this->stripItemJapanese->Checked == true )
stmp = "Step2/2: 続いて提出書類を作成します。\nここでキャンセルされたとき、提出書類はもとよりSRLも作成(更新)されませんのでご注意ください。";
else
stmp = "Step2/2: Secondly, We should make a submission sheet. \n(CAUTION: When it is canceled, not only a submission sheet is not made, but also the SRL is selected previously.)";
MessageBox::Show( stmp, "Caution", MessageBoxButtons::OK, MessageBoxIcon::Information );
}
// ダイアログでファイルパスを決定
{
System::Windows::Forms::SaveFileDialog ^dlg = gcnew (SaveFileDialog);
dlg->InitialDirectory = "c:\\";
dlg->Filter = "xml形式 (*.xml)|*.xml";
dlg->FilterIndex = 1;
dlg->RestoreDirectory = true;
if( dlg->ShowDialog() != System::Windows::Forms::DialogResult::OK )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "提出書類の作成がキャンセルされました。" );
else
this->errMsg( "Making a submission sheet is canceled." );
return;
}
delivfile = dlg->FileName;
if( !(dlg->FileName->EndsWith( ".xml" )) )
{
delivfile += ".xml";
}
}
// SRLを更新
this->saveSrl( srlfile );
u16 crc; // SRL全体のCRCを計算する(書類に記述するため)
if( !getWholeCRCInFile( srlfile, &crc ) )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "CRCの計算に失敗しました。提出書類の作成をキャンセルします。" );
else
this->errMsg( "Calc CRC is failed. Therefore, Making a submission sheet is canceled." );
return;
}
hcrc = gcnew System::UInt16( crc );
this->tboxWholeCRC->Clear();
this->tboxWholeCRC->AppendText( "0x" );
this->tboxWholeCRC->AppendText( hcrc->ToString("X") );
// 書類作成
paths = srlfile->Split(L'\\'); // 余分なパスを削除
srlfile = paths[ paths->Length - 1 ];
//result = this->hDeliv->write( delivfile, this->hSrl, hcrc, srlfile, !(this->stripItemJapanese->Checked) );
result = this->hDeliv->writeSpreadsheet( delivfile, this->hSrl, hcrc, srlfile, !(this->stripItemJapanese->Checked) );
if( result != ECDeliverableResult::NOERROR )
{
if( this->stripItemJapanese->Checked == true )
this->errMsg( "書類の作成に失敗しました。" );
else
this->errMsg( "Making a submission sheet is failed." );
return;
}
this->tboxMsg->Text = "書類の作成に成功しました。";
} //stripItemSheet_Click()
private:
System::Void rErrorReading_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->setGridError();
this->setGridWarn();
}
private:
System::Void rErrorCurrent_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
this->hErrorList->Clear();
this->hWarnList->Clear();
this->checkSrlForms();
this->checkDeliverableForms();
this->overloadGridError();
this->overloadGridWarn();
}
private:
System::Void tabError_Click(System::Object^ sender, System::EventArgs^ e)
{
// 常に最新情報に更新
if( this->rErrorReading->Checked == true )
{
this->setGridError();
this->setGridWarn();
}
else
{
this->hErrorList->Clear();
this->hWarnList->Clear();
this->checkSrlForms();
this->checkDeliverableForms();
this->overloadGridError();
this->overloadGridWarn();
}
}
}; // enf of ref class Form1
} // end of namespace MasterEditorTWL