#pragma once
#include "DataSet3.h"
#include "BaseFormControl.h"
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
using namespace System::Data::SqlClient;
using namespace System::Collections;
using namespace System::Runtime::InteropServices;

enum
{
	EM_STROUT_STATUS_NORMAL,
	EM_STROUT_STATUS_NO_SUCH_LANGUAGE,
	EM_STROUT_STATUS_OPEN_DB_FILE_FAILED,
	EM_STROUT_STATUS_STRING_FROMAT_CHECK_FAILED
};

enum
{
	EM_STROUT_STEP_NONE,
	EM_STROUT_STEP_BEGIN,
	EM_STROUT_STEP_SYS_STRING,
	EM_STROUT_STEP_CLI_STRING_TYPE_0,
	EM_STROUT_STEP_CLI_STRING_TYPE_3,
	EM_STROUT_STEP_ZIPPING,
	EM_STROUT_STEP_END
};

namespace ObjDataEdit
{
	/// <summary> 
	/// Summary for StringForm
	///
	/// WARNING: If you change the name of this class, you will need to change the 
	///          'Resource File Name' property for the managed resource compiler tool 
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>


#ifndef _Just_Show_DotNet_Form_
    public __gc class StringForm : public System::Windows::Forms::Form
#else 
    public __gc class StringForm : public BaseFormControl
#endif	
	{
	public: 
        StringForm( char* FormName , char* DBName , char* OutputFile  , bool IsReadOnly ) :  BaseFormControl( FormName , DBName , OutputFile , IsReadOnly )
        {
            InitializeComponent();
			sqlConnection1->ConnectionString = Global::GetDBSource();
            sqlConnection1->Open();
			g_StringForm = this;
			CB_SelectType->SelectedIndex = 0;

			_sbList = new ArrayList();
        }  

	protected: 
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}
	private: System::Windows::Forms::Panel*  panel1;
	protected: 

	private: System::Windows::Forms::Panel*  panel3;


	private: System::Windows::Forms::TextBox*  TB_NewNote;

	private: System::Windows::Forms::Label*  label2;
	private: System::Windows::Forms::TextBox*  TB_NewKey;

	private: System::Windows::Forms::Label*  label1;
	private: System::Windows::Forms::Button*  button1;
	private: System::Windows::Forms::TextBox*  TB_SelectKey;

	private: System::Windows::Forms::CheckBox*  CKB_SelectKeyChecked;

	private: System::Windows::Forms::Panel*  panel2;
	private: DevExpress::XtraGrid::GridControl*  gridControl1;
	private: DevExpress::XtraGrid::Views::Grid::GridView*  gridView1;
	private: System::Data::SqlClient::SqlCommand*  sqlSelectCommand1;
	private: System::Data::SqlClient::SqlConnection*  sqlConnection1;
	private: System::Data::SqlClient::SqlCommand*  sqlUpdateCommand1;
	private: System::Data::SqlClient::SqlCommand*  sqlDeleteCommand1;
	private: System::Data::SqlClient::SqlDataAdapter*  sqlDataAdapter1;





	private: System::Windows::Forms::Timer*  timer1;
	private: ObjDataEdit::DataSet3*  dataSet31;
	private: System::Data::SqlClient::SqlCommand*  sqlCommand1;
	private: System::Data::SqlClient::SqlCommand*  sqlInsertCommand1;
	private: DevExpress::XtraEditors::Repository::RepositoryItemMemoEdit*  repositoryItemMemoEdit_Content;
	private: DevExpress::XtraEditors::Repository::RepositoryItemComboBox*  repositoryItemComboBox_Type;
	private: DevExpress::XtraEditors::Repository::RepositoryItemDateEdit*  repositoryItemDateEdit1;
	private: System::Windows::Forms::TextBox*  TB_NewContent;
	protected: System::Windows::Forms::MainMenu*  mainMenu1;
	private: 
	protected: System::Windows::Forms::MenuItem*  menuItem1_Base;
	private: System::Windows::Forms::MenuItem*  menuItem1;
	protected: 
	private: System::Windows::Forms::MenuItem*  menuItem2;
	private: System::Windows::Forms::ComboBox*  CB_NewType;
	private: System::Windows::Forms::Label*  label3;
	private: System::Windows::Forms::Button*  button2;
	private: System::Windows::Forms::ComboBox*  CB_SelectType;
	private: System::Windows::Forms::MenuItem*  menuItem3;
	private: System::Windows::Forms::MenuItem*  menuItem4;
	private: System::Windows::Forms::MenuItem*  menuItem5;



	
	//private: System::Windows::Forms::TextBox*  Edit_SubType;

	private: System::Windows::Forms::TextBox*  TB_SubType;
	private: System::Windows::Forms::Label*  label4;
	private: System::Windows::Forms::MenuItem*  menuItem6;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colKeyStr;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colType;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colContent;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colNote;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colSubType;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colDirZoneID;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colDirTagID;
	private: DevExpress::XtraGrid::Columns::GridColumn*  colDirVersionID;
	protected: System::Windows::Forms::ComboBox*  CB_DirVersionID;
	private: 
	protected: System::Windows::Forms::Label*  label8;
	protected: System::Windows::Forms::ComboBox*  CB_DirTagID;
	protected: System::Windows::Forms::Label*  label7;
	protected: System::Windows::Forms::Label*  label6;
	protected: System::Windows::Forms::ComboBox*  CB_DirZoneID;
	private: DevExpress::XtraEditors::Repository::RepositoryItemMemoEdit*  repositoryItemMemoEdit1;
	private: System::Windows::Forms::MenuItem*  menuItem7;
	private: System::Windows::Forms::MenuItem*  menuItem8;
	private: System::Windows::Forms::MenuItem*  menuItem9;
	private: System::Windows::Forms::MenuItem*  menuItem10;
	private: System::Windows::Forms::MenuItem*  menuItem11;
	private: System::Windows::Forms::MenuItem*  menuItem12;
	private: System::Windows::Forms::MenuItem*  menuItem13;
	private: System::Windows::Forms::MenuItem*  menuItem14;
	private: System::Windows::Forms::MenuItem*  menuItem15;
private: System::Windows::Forms::CheckBox*  checkBoxTranslate;
private: DevExpress::XtraGrid::Columns::GridColumn*  colTranslate;
private: DevExpress::XtraEditors::Repository::RepositoryItemCheckEdit*  repositoryItemCheckEdit1;
private: System::Windows::Forms::MenuItem*  menuItem16;
private: System::Windows::Forms::MenuItem*  menuItem17;
private: System::Windows::Forms::MenuItem*  menuItem18;
private: System::Windows::Forms::MenuItem*  menuItem19;
private: System::Windows::Forms::MenuItem*  menuItem20;
private: System::Windows::Forms::MenuItem*  menuItem21;
private: System::Windows::Forms::MenuItem*  menuItem22;
private: System::Windows::Forms::MenuItem*  menuItem23;
public: System::Windows::Forms::Button*  BT_Select;
private: 



	private: System::ComponentModel::IContainer*  components;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>


		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->components = (new System::ComponentModel::Container());
			System::ComponentModel::ComponentResourceManager*  resources = (new System::ComponentModel::ComponentResourceManager(__typeof(StringForm)));
			this->panel1 = (new System::Windows::Forms::Panel());
			this->checkBoxTranslate = (new System::Windows::Forms::CheckBox());
			this->CB_DirVersionID = (new System::Windows::Forms::ComboBox());
			this->label8 = (new System::Windows::Forms::Label());
			this->CB_DirTagID = (new System::Windows::Forms::ComboBox());
			this->label7 = (new System::Windows::Forms::Label());
			this->label6 = (new System::Windows::Forms::Label());
			this->CB_DirZoneID = (new System::Windows::Forms::ComboBox());
			this->TB_SubType = (new System::Windows::Forms::TextBox());
			this->label4 = (new System::Windows::Forms::Label());
			this->label3 = (new System::Windows::Forms::Label());
			this->CB_NewType = (new System::Windows::Forms::ComboBox());
			this->TB_NewContent = (new System::Windows::Forms::TextBox());
			this->TB_NewNote = (new System::Windows::Forms::TextBox());
			this->label2 = (new System::Windows::Forms::Label());
			this->TB_NewKey = (new System::Windows::Forms::TextBox());
			this->label1 = (new System::Windows::Forms::Label());
			this->button1 = (new System::Windows::Forms::Button());
			this->panel3 = (new System::Windows::Forms::Panel());
			this->CB_SelectType = (new System::Windows::Forms::ComboBox());
			this->button2 = (new System::Windows::Forms::Button());
			this->TB_SelectKey = (new System::Windows::Forms::TextBox());
			this->CKB_SelectKeyChecked = (new System::Windows::Forms::CheckBox());
			this->panel2 = (new System::Windows::Forms::Panel());
			this->gridControl1 = (new DevExpress::XtraGrid::GridControl());
			this->dataSet31 = (new ObjDataEdit::DataSet3());
			this->gridView1 = (new DevExpress::XtraGrid::Views::Grid::GridView());
			this->colKeyStr = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->colType = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->colContent = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->repositoryItemMemoEdit_Content = (new DevExpress::XtraEditors::Repository::RepositoryItemMemoEdit());
			this->colNote = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->colSubType = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->colDirZoneID = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->colDirTagID = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->colDirVersionID = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->colTranslate = (new DevExpress::XtraGrid::Columns::GridColumn());
			this->repositoryItemCheckEdit1 = (new DevExpress::XtraEditors::Repository::RepositoryItemCheckEdit());
			this->repositoryItemComboBox_Type = (new DevExpress::XtraEditors::Repository::RepositoryItemComboBox());
			this->repositoryItemDateEdit1 = (new DevExpress::XtraEditors::Repository::RepositoryItemDateEdit());
			this->repositoryItemMemoEdit1 = (new DevExpress::XtraEditors::Repository::RepositoryItemMemoEdit());
			this->sqlSelectCommand1 = (new System::Data::SqlClient::SqlCommand());
			this->sqlConnection1 = (new System::Data::SqlClient::SqlConnection());
			this->sqlUpdateCommand1 = (new System::Data::SqlClient::SqlCommand());
			this->sqlDeleteCommand1 = (new System::Data::SqlClient::SqlCommand());
			this->sqlDataAdapter1 = (new System::Data::SqlClient::SqlDataAdapter());
			this->sqlInsertCommand1 = (new System::Data::SqlClient::SqlCommand());
			this->timer1 = (new System::Windows::Forms::Timer(this->components));
			this->sqlCommand1 = (new System::Data::SqlClient::SqlCommand());
			this->mainMenu1 = (new System::Windows::Forms::MainMenu(this->components));
			this->menuItem1_Base = (new System::Windows::Forms::MenuItem());
			this->menuItem15 = (new System::Windows::Forms::MenuItem());
			this->menuItem1 = (new System::Windows::Forms::MenuItem());
			this->menuItem2 = (new System::Windows::Forms::MenuItem());
			this->menuItem3 = (new System::Windows::Forms::MenuItem());
			this->menuItem4 = (new System::Windows::Forms::MenuItem());
			this->menuItem5 = (new System::Windows::Forms::MenuItem());
			this->menuItem6 = (new System::Windows::Forms::MenuItem());
			this->menuItem7 = (new System::Windows::Forms::MenuItem());
			this->menuItem8 = (new System::Windows::Forms::MenuItem());
			this->menuItem9 = (new System::Windows::Forms::MenuItem());
			this->menuItem10 = (new System::Windows::Forms::MenuItem());
			this->menuItem11 = (new System::Windows::Forms::MenuItem());
			this->menuItem12 = (new System::Windows::Forms::MenuItem());
			this->menuItem13 = (new System::Windows::Forms::MenuItem());
			this->menuItem14 = (new System::Windows::Forms::MenuItem());
			this->menuItem16 = (new System::Windows::Forms::MenuItem());
			this->menuItem17 = (new System::Windows::Forms::MenuItem());
			this->menuItem18 = (new System::Windows::Forms::MenuItem());
			this->menuItem19 = (new System::Windows::Forms::MenuItem());
			this->menuItem20 = (new System::Windows::Forms::MenuItem());
			this->menuItem21 = (new System::Windows::Forms::MenuItem());
			this->menuItem22 = (new System::Windows::Forms::MenuItem());
			this->menuItem23 = (new System::Windows::Forms::MenuItem());
			this->BT_Select = (new System::Windows::Forms::Button());
			this->panel1->SuspendLayout();
			this->panel3->SuspendLayout();
			this->panel2->SuspendLayout();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->gridControl1))->BeginInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->dataSet31))->BeginInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->gridView1))->BeginInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemMemoEdit_Content))->BeginInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemCheckEdit1))->BeginInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemComboBox_Type))->BeginInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemDateEdit1))->BeginInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemMemoEdit1))->BeginInit();
			this->SuspendLayout();
			// 
			// panel1
			// 
			this->panel1->AutoScroll = true;
			this->panel1->Controls->Add(this->checkBoxTranslate);
			this->panel1->Controls->Add(this->CB_DirVersionID);
			this->panel1->Controls->Add(this->label8);
			this->panel1->Controls->Add(this->CB_DirTagID);
			this->panel1->Controls->Add(this->label7);
			this->panel1->Controls->Add(this->label6);
			this->panel1->Controls->Add(this->CB_DirZoneID);
			this->panel1->Controls->Add(this->TB_SubType);
			this->panel1->Controls->Add(this->label4);
			this->panel1->Controls->Add(this->label3);
			this->panel1->Controls->Add(this->CB_NewType);
			this->panel1->Controls->Add(this->TB_NewContent);
			this->panel1->Controls->Add(this->TB_NewNote);
			this->panel1->Controls->Add(this->label2);
			this->panel1->Controls->Add(this->TB_NewKey);
			this->panel1->Controls->Add(this->label1);
			this->panel1->Controls->Add(this->button1);
			this->panel1->Dock = System::Windows::Forms::DockStyle::Top;
			this->panel1->Location = System::Drawing::Point(0, 0);
			this->panel1->Name = S"panel1";
			this->panel1->Size = System::Drawing::Size(1379, 147);
			this->panel1->TabIndex = 0;
			// 
			// checkBoxTranslate
			// 
			this->checkBoxTranslate->AutoSize = true;
			this->checkBoxTranslate->Location = System::Drawing::Point(615, 11);
			this->checkBoxTranslate->Name = S"checkBoxTranslate";
			this->checkBoxTranslate->Size = System::Drawing::Size(72, 16);
			this->checkBoxTranslate->TabIndex = 121;
			this->checkBoxTranslate->Tag = S"Translate";
			this->checkBoxTranslate->Text = S"是否翻譯";
			this->checkBoxTranslate->UseVisualStyleBackColor = true;
			// 
			// CB_DirVersionID
			// 
			this->CB_DirVersionID->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->CB_DirVersionID->FormattingEnabled = true;
			System::Object* __mcTemp__1[] = new System::Object*[2];
			__mcTemp__1[0] = S"DEFAULT-0";
			__mcTemp__1[1] = S"DEFAULT-1";
			this->CB_DirVersionID->Items->AddRange(__mcTemp__1);
			this->CB_DirVersionID->Location = System::Drawing::Point(69, 58);
			this->CB_DirVersionID->Name = S"CB_DirVersionID";
			this->CB_DirVersionID->Size = System::Drawing::Size(98, 20);
			this->CB_DirVersionID->TabIndex = 120;
			this->CB_DirVersionID->Tag = S"DirVersionID";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Font = (new System::Drawing::Font(S"PMingLiU", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				(System::Byte)136));
			this->label8->ForeColor = System::Drawing::SystemColors::ActiveCaption;
			this->label8->Location = System::Drawing::Point(5, 62);
			this->label8->Name = S"label8";
			this->label8->Size = System::Drawing::Size(62, 12);
			this->label8->TabIndex = 119;
			this->label8->Text = S"VersionID";
			// 
			// CB_DirTagID
			// 
			this->CB_DirTagID->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->CB_DirTagID->FormattingEnabled = true;
			System::Object* __mcTemp__2[] = new System::Object*[2];
			__mcTemp__2[0] = S"DEFAULT-0";
			__mcTemp__2[1] = S"DEFAULT-1";
			this->CB_DirTagID->Items->AddRange(__mcTemp__2);
			this->CB_DirTagID->Location = System::Drawing::Point(69, 32);
			this->CB_DirTagID->Name = S"CB_DirTagID";
			this->CB_DirTagID->Size = System::Drawing::Size(98, 20);
			this->CB_DirTagID->TabIndex = 118;
			this->CB_DirTagID->Tag = S"DirTagID";
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Font = (new System::Drawing::Font(S"PMingLiU", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				(System::Byte)136));
			this->label7->ForeColor = System::Drawing::SystemColors::ActiveCaption;
			this->label7->Location = System::Drawing::Point(5, 12);
			this->label7->Name = S"label7";
			this->label7->Size = System::Drawing::Size(47, 12);
			this->label7->TabIndex = 117;
			this->label7->Text = S"ZoneID";
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Font = (new System::Drawing::Font(S"PMingLiU", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				(System::Byte)136));
			this->label6->ForeColor = System::Drawing::SystemColors::ActiveCaption;
			this->label6->Location = System::Drawing::Point(5, 37);
			this->label6->Name = S"label6";
			this->label6->Size = System::Drawing::Size(40, 12);
			this->label6->TabIndex = 116;
			this->label6->Text = S"TagID";
			// 
			// CB_DirZoneID
			// 
			this->CB_DirZoneID->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->CB_DirZoneID->FormattingEnabled = true;
			System::Object* __mcTemp__3[] = new System::Object*[2];
			__mcTemp__3[0] = S"DEFAULT-0";
			__mcTemp__3[1] = S"DEFAULT-1";
			this->CB_DirZoneID->Items->AddRange(__mcTemp__3);
			this->CB_DirZoneID->Location = System::Drawing::Point(69, 6);
			this->CB_DirZoneID->Name = S"CB_DirZoneID";
			this->CB_DirZoneID->Size = System::Drawing::Size(98, 20);
			this->CB_DirZoneID->TabIndex = 115;
			this->CB_DirZoneID->Tag = S"DirZoneID";
			// 
			// TB_SubType
			// 
			this->TB_SubType->Location = System::Drawing::Point(998, 8);
			this->TB_SubType->MaxLength = 32;
			this->TB_SubType->Name = S"TB_SubType";
			this->TB_SubType->Size = System::Drawing::Size(53, 22);
			this->TB_SubType->TabIndex = 9;
			this->TB_SubType->Text = S"0";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Location = System::Drawing::Point(963, 11);
			this->label4->Name = S"label4";
			this->label4->Size = System::Drawing::Size(29, 12);
			this->label4->TabIndex = 8;
			this->label4->Text = S"分類";
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Location = System::Drawing::Point(173, 12);
			this->label3->Name = S"label3";
			this->label3->Size = System::Drawing::Size(29, 12);
			this->label3->TabIndex = 6;
			this->label3->Text = S"類型";
			// 
			// CB_NewType
			// 
			this->CB_NewType->FormattingEnabled = true;
			System::Object* __mcTemp__4[] = new System::Object*[6];
			__mcTemp__4[0] = S"0 - Lua介面字串 ( String.lua )";
			__mcTemp__4[1] = S"1 - 物件系統 ( 不能用 )";
			__mcTemp__4[2] = S"2 - 系統字串 ( String.DB )";
			__mcTemp__4[3] = S"3 - Lua登入介面字串 (Client Login)";
			__mcTemp__4[4] = S"4 - 對話字串 ( String.DB )";
			__mcTemp__4[5] = S"5 - 任務模版 ( 不是用手編的 )";
			this->CB_NewType->Items->AddRange(__mcTemp__4);
			this->CB_NewType->Location = System::Drawing::Point(208, 8);
			this->CB_NewType->Name = S"CB_NewType";
			this->CB_NewType->Size = System::Drawing::Size(165, 20);
			this->CB_NewType->TabIndex = 5;
			// 
			// TB_NewContent
			// 
			this->TB_NewContent->Dock = System::Windows::Forms::DockStyle::Bottom;
			this->TB_NewContent->Location = System::Drawing::Point(0, 87);
			this->TB_NewContent->MaxLength = 1024;
			this->TB_NewContent->Multiline = true;
			this->TB_NewContent->Name = S"TB_NewContent";
			this->TB_NewContent->Size = System::Drawing::Size(1379, 60);
			this->TB_NewContent->TabIndex = 2;
			// 
			// TB_NewNote
			// 
			this->TB_NewNote->Location = System::Drawing::Point(208, 37);
			this->TB_NewNote->MaxLength = 1024;
			this->TB_NewNote->Name = S"TB_NewNote";
			this->TB_NewNote->Size = System::Drawing::Size(843, 22);
			this->TB_NewNote->TabIndex = 4;
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(173, 40);
			this->label2->Name = S"label2";
			this->label2->Size = System::Drawing::Size(29, 12);
			this->label2->TabIndex = 3;
			this->label2->Text = S"註解";
			// 
			// TB_NewKey
			// 
			this->TB_NewKey->Location = System::Drawing::Point(411, 8);
			this->TB_NewKey->MaxLength = 63;
			this->TB_NewKey->Name = S"TB_NewKey";
			this->TB_NewKey->Size = System::Drawing::Size(189, 22);
			this->TB_NewKey->TabIndex = 2;
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(381, 10);
			this->label1->Name = S"label1";
			this->label1->Size = System::Drawing::Size(24, 12);
			this->label1->TabIndex = 1;
			this->label1->Text = S"Key";
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(222, 62);
			this->button1->Name = S"button1";
			this->button1->Size = System::Drawing::Size(205, 23);
			this->button1->TabIndex = 0;
			this->button1->Text = S"新增";
			this->button1->UseVisualStyleBackColor = true;
			this->button1->Click += new System::EventHandler(this, &StringForm::OnAddNewData);
			// 
			// panel3
			// 
			this->panel3->Controls->Add(this->BT_Select);
			this->panel3->Controls->Add(this->CB_SelectType);
			this->panel3->Controls->Add(this->button2);
			this->panel3->Controls->Add(this->TB_SelectKey);
			this->panel3->Controls->Add(this->CKB_SelectKeyChecked);
			this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
			this->panel3->Location = System::Drawing::Point(0, 147);
			this->panel3->Name = S"panel3";
			this->panel3->Size = System::Drawing::Size(1379, 30);
			this->panel3->TabIndex = 2;
			// 
			// CB_SelectType
			// 
			this->CB_SelectType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->CB_SelectType->FormattingEnabled = true;
			System::Object* __mcTemp__5[] = new System::Object*[3];
			__mcTemp__5[0] = S"Key";
			__mcTemp__5[1] = S"內容";
			__mcTemp__5[2] = S"說明";
			this->CB_SelectType->Items->AddRange(__mcTemp__5);
			this->CB_SelectType->Location = System::Drawing::Point(103, 3);
			this->CB_SelectType->Name = S"CB_SelectType";
			this->CB_SelectType->Size = System::Drawing::Size(93, 20);
			this->CB_SelectType->TabIndex = 3;
			this->CB_SelectType->SelectedIndexChanged += new System::EventHandler(this, &StringForm::CB_SelectType_SelectedIndexChanged);
			// 
			// button2
			// 
			this->button2->Dock = System::Windows::Forms::DockStyle::Right;
			this->button2->Location = System::Drawing::Point(1283, 0);
			this->button2->Name = S"button2";
			this->button2->Size = System::Drawing::Size(96, 30);
			this->button2->TabIndex = 2;
			this->button2->Text = S"刪除選擇物件";
			this->button2->UseVisualStyleBackColor = true;
			this->button2->Click += new System::EventHandler(this, &StringForm::DelString_Click);
			// 
			// TB_SelectKey
			// 
			this->TB_SelectKey->Location = System::Drawing::Point(202, 3);
			this->TB_SelectKey->Name = S"TB_SelectKey";
			this->TB_SelectKey->Size = System::Drawing::Size(253, 22);
			this->TB_SelectKey->TabIndex = 1;
			this->TB_SelectKey->TextChanged += new System::EventHandler(this, &StringForm::TB_SelectKey_TextChanged);
			// 
			// CKB_SelectKeyChecked
			// 
			this->CKB_SelectKeyChecked->AutoSize = true;
			this->CKB_SelectKeyChecked->Checked = true;
			this->CKB_SelectKeyChecked->CheckState = System::Windows::Forms::CheckState::Checked;
			this->CKB_SelectKeyChecked->Location = System::Drawing::Point(13, 7);
			this->CKB_SelectKeyChecked->Name = S"CKB_SelectKeyChecked";
			this->CKB_SelectKeyChecked->Size = System::Drawing::Size(91, 16);
			this->CKB_SelectKeyChecked->TabIndex = 0;
			this->CKB_SelectKeyChecked->Text = S"Key內容篩選";
			this->CKB_SelectKeyChecked->UseVisualStyleBackColor = true;
			this->CKB_SelectKeyChecked->CheckedChanged += new System::EventHandler(this, &StringForm::OnKeySelectCheckChanged);
			// 
			// panel2
			// 
			this->panel2->Controls->Add(this->gridControl1);
			this->panel2->Dock = System::Windows::Forms::DockStyle::Fill;
			this->panel2->Location = System::Drawing::Point(0, 177);
			this->panel2->Name = S"panel2";
			this->panel2->Size = System::Drawing::Size(1379, 480);
			this->panel2->TabIndex = 3;
			// 
			// gridControl1
			// 
			this->gridControl1->DataMember = S"StringDB";
			this->gridControl1->DataSource = this->dataSet31;
			this->gridControl1->Dock = System::Windows::Forms::DockStyle::Fill;
			this->gridControl1->EmbeddedNavigator->Name = S"";
			this->gridControl1->Location = System::Drawing::Point(0, 0);
			this->gridControl1->MainView = this->gridView1;
			this->gridControl1->Name = S"gridControl1";
			DevExpress::XtraEditors::Repository::RepositoryItem* __mcTemp__6[] = new DevExpress::XtraEditors::Repository::RepositoryItem*[5];
			__mcTemp__6[0] = this->repositoryItemComboBox_Type;
			__mcTemp__6[1] = this->repositoryItemDateEdit1;
			__mcTemp__6[2] = this->repositoryItemMemoEdit_Content;
			__mcTemp__6[3] = this->repositoryItemMemoEdit1;
			__mcTemp__6[4] = this->repositoryItemCheckEdit1;
			this->gridControl1->RepositoryItems->AddRange(__mcTemp__6);
			this->gridControl1->Size = System::Drawing::Size(1379, 480);
			this->gridControl1->TabIndex = 0;
			DevExpress::XtraGrid::Views::Base::BaseView* __mcTemp__7[] = new DevExpress::XtraGrid::Views::Base::BaseView*[1];
			__mcTemp__7[0] = this->gridView1;
			this->gridControl1->ViewCollection->AddRange(__mcTemp__7);
			// 
			// dataSet31
			// 
			this->dataSet31->DataSetName = S"DataSet3";
			this->dataSet31->SchemaSerializationMode = System::Data::SchemaSerializationMode::ExcludeSchema;
			// 
			// gridView1
			// 
			this->gridView1->Appearance->ColumnFilterButton->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->ColumnFilterButton->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->ColumnFilterButton->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->ColumnFilterButton->Options->UseBackColor = true;
			this->gridView1->Appearance->ColumnFilterButton->Options->UseBorderColor = true;
			this->gridView1->Appearance->ColumnFilterButton->Options->UseForeColor = true;
			this->gridView1->Appearance->ColumnFilterButtonActive->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)221, 
				(System::Int32)(System::Byte)231, (System::Int32)(System::Byte)234);
			this->gridView1->Appearance->ColumnFilterButtonActive->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)221, 
				(System::Int32)(System::Byte)231, (System::Int32)(System::Byte)234);
			this->gridView1->Appearance->ColumnFilterButtonActive->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->ColumnFilterButtonActive->Options->UseBackColor = true;
			this->gridView1->Appearance->ColumnFilterButtonActive->Options->UseBorderColor = true;
			this->gridView1->Appearance->ColumnFilterButtonActive->Options->UseForeColor = true;
			this->gridView1->Appearance->Empty->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->Empty->BackColor2 = System::Drawing::Color::White;
			this->gridView1->Appearance->Empty->Options->UseBackColor = true;
			this->gridView1->Appearance->EvenRow->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)221, (System::Int32)(System::Byte)231, 
				(System::Int32)(System::Byte)234);
			this->gridView1->Appearance->EvenRow->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)221, (System::Int32)(System::Byte)231, 
				(System::Int32)(System::Byte)234);
			this->gridView1->Appearance->EvenRow->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->EvenRow->Options->UseBackColor = true;
			this->gridView1->Appearance->EvenRow->Options->UseBorderColor = true;
			this->gridView1->Appearance->EvenRow->Options->UseForeColor = true;
			this->gridView1->Appearance->FilterCloseButton->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)179);
			this->gridView1->Appearance->FilterCloseButton->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)179);
			this->gridView1->Appearance->FilterCloseButton->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->FilterCloseButton->Options->UseBackColor = true;
			this->gridView1->Appearance->FilterCloseButton->Options->UseBorderColor = true;
			this->gridView1->Appearance->FilterCloseButton->Options->UseForeColor = true;
			this->gridView1->Appearance->FilterPanel->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->FilterPanel->BackColor2 = System::Drawing::Color::White;
			this->gridView1->Appearance->FilterPanel->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->FilterPanel->Options->UseBackColor = true;
			this->gridView1->Appearance->FilterPanel->Options->UseForeColor = true;
			this->gridView1->Appearance->FixedLine->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)122, (System::Int32)(System::Byte)114, 
				(System::Int32)(System::Byte)113);
			this->gridView1->Appearance->FixedLine->Options->UseBackColor = true;
			this->gridView1->Appearance->FocusedCell->BackColor = System::Drawing::Color::White;
			this->gridView1->Appearance->FocusedCell->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->FocusedCell->Options->UseBackColor = true;
			this->gridView1->Appearance->FocusedCell->Options->UseForeColor = true;
			this->gridView1->Appearance->FocusedRow->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)200, (System::Int32)(System::Byte)192, 
				(System::Int32)(System::Byte)157);
			this->gridView1->Appearance->FocusedRow->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)226, (System::Int32)(System::Byte)219, 
				(System::Int32)(System::Byte)188);
			this->gridView1->Appearance->FocusedRow->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->FocusedRow->Options->UseBackColor = true;
			this->gridView1->Appearance->FocusedRow->Options->UseBorderColor = true;
			this->gridView1->Appearance->FocusedRow->Options->UseForeColor = true;
			this->gridView1->Appearance->FooterPanel->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)170);
			this->gridView1->Appearance->FooterPanel->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)170);
			this->gridView1->Appearance->FooterPanel->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->FooterPanel->Options->UseBackColor = true;
			this->gridView1->Appearance->FooterPanel->Options->UseBorderColor = true;
			this->gridView1->Appearance->FooterPanel->Options->UseForeColor = true;
			this->gridView1->Appearance->GroupButton->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)179);
			this->gridView1->Appearance->GroupButton->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)179);
			this->gridView1->Appearance->GroupButton->Options->UseBackColor = true;
			this->gridView1->Appearance->GroupButton->Options->UseBorderColor = true;
			this->gridView1->Appearance->GroupFooter->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->GroupFooter->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->GroupFooter->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->GroupFooter->Options->UseBackColor = true;
			this->gridView1->Appearance->GroupFooter->Options->UseBorderColor = true;
			this->gridView1->Appearance->GroupFooter->Options->UseForeColor = true;
			this->gridView1->Appearance->GroupPanel->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)246, (System::Int32)(System::Byte)242, 
				(System::Int32)(System::Byte)213);
			this->gridView1->Appearance->GroupPanel->BackColor2 = System::Drawing::Color::White;
			this->gridView1->Appearance->GroupPanel->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->GroupPanel->Options->UseBackColor = true;
			this->gridView1->Appearance->GroupPanel->Options->UseForeColor = true;
			this->gridView1->Appearance->GroupRow->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->GroupRow->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->GroupRow->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->GroupRow->Options->UseBackColor = true;
			this->gridView1->Appearance->GroupRow->Options->UseBorderColor = true;
			this->gridView1->Appearance->GroupRow->Options->UseForeColor = true;
			this->gridView1->Appearance->HeaderPanel->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)170);
			this->gridView1->Appearance->HeaderPanel->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)170);
			this->gridView1->Appearance->HeaderPanel->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->HeaderPanel->Options->UseBackColor = true;
			this->gridView1->Appearance->HeaderPanel->Options->UseBorderColor = true;
			this->gridView1->Appearance->HeaderPanel->Options->UseForeColor = true;
			this->gridView1->Appearance->HideSelectionRow->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)237, (System::Int32)(System::Byte)230, 
				(System::Int32)(System::Byte)203);
			this->gridView1->Appearance->HideSelectionRow->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)237, (System::Int32)(System::Byte)230, 
				(System::Int32)(System::Byte)203);
			this->gridView1->Appearance->HideSelectionRow->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->HideSelectionRow->Options->UseBackColor = true;
			this->gridView1->Appearance->HideSelectionRow->Options->UseBorderColor = true;
			this->gridView1->Appearance->HideSelectionRow->Options->UseForeColor = true;
			this->gridView1->Appearance->HorzLine->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)170);
			this->gridView1->Appearance->HorzLine->Options->UseBackColor = true;
			this->gridView1->Appearance->OddRow->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)242, (System::Int32)(System::Byte)244, 
				(System::Int32)(System::Byte)236);
			this->gridView1->Appearance->OddRow->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)242, (System::Int32)(System::Byte)244, 
				(System::Int32)(System::Byte)236);
			this->gridView1->Appearance->OddRow->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->OddRow->Options->UseBackColor = true;
			this->gridView1->Appearance->OddRow->Options->UseBorderColor = true;
			this->gridView1->Appearance->OddRow->Options->UseForeColor = true;
			this->gridView1->Appearance->Preview->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)251, (System::Int32)(System::Byte)252, 
				(System::Int32)(System::Byte)247);
			this->gridView1->Appearance->Preview->Font = (new System::Drawing::Font(S"Verdana", 7.5F));
			this->gridView1->Appearance->Preview->ForeColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)148, (System::Int32)(System::Byte)148, 
				(System::Int32)(System::Byte)148);
			this->gridView1->Appearance->Preview->Options->UseBackColor = true;
			this->gridView1->Appearance->Preview->Options->UseFont = true;
			this->gridView1->Appearance->Preview->Options->UseForeColor = true;
			this->gridView1->Appearance->Row->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)242, (System::Int32)(System::Byte)244, 
				(System::Int32)(System::Byte)236);
			this->gridView1->Appearance->Row->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->Row->Options->UseBackColor = true;
			this->gridView1->Appearance->Row->Options->UseForeColor = true;
			this->gridView1->Appearance->RowSeparator->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)236, (System::Int32)(System::Byte)232, 
				(System::Int32)(System::Byte)201);
			this->gridView1->Appearance->RowSeparator->BackColor2 = System::Drawing::Color::White;
			this->gridView1->Appearance->RowSeparator->Options->UseBackColor = true;
			this->gridView1->Appearance->SelectedRow->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)221, (System::Int32)(System::Byte)215, 
				(System::Int32)(System::Byte)188);
			this->gridView1->Appearance->SelectedRow->BorderColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)237, (System::Int32)(System::Byte)230, 
				(System::Int32)(System::Byte)203);
			this->gridView1->Appearance->SelectedRow->ForeColor = System::Drawing::Color::Black;
			this->gridView1->Appearance->SelectedRow->Options->UseBackColor = true;
			this->gridView1->Appearance->SelectedRow->Options->UseBorderColor = true;
			this->gridView1->Appearance->SelectedRow->Options->UseForeColor = true;
			this->gridView1->Appearance->TopNewRow->BackColor = System::Drawing::Color::White;
			this->gridView1->Appearance->TopNewRow->Options->UseBackColor = true;
			this->gridView1->Appearance->VertLine->BackColor = System::Drawing::Color::FromArgb((System::Int32)(System::Byte)216, (System::Int32)(System::Byte)209, 
				(System::Int32)(System::Byte)170);
			this->gridView1->Appearance->VertLine->Options->UseBackColor = true;
			DevExpress::XtraGrid::Columns::GridColumn* __mcTemp__8[] = new DevExpress::XtraGrid::Columns::GridColumn*[9];
			__mcTemp__8[0] = this->colKeyStr;
			__mcTemp__8[1] = this->colType;
			__mcTemp__8[2] = this->colContent;
			__mcTemp__8[3] = this->colNote;
			__mcTemp__8[4] = this->colSubType;
			__mcTemp__8[5] = this->colDirZoneID;
			__mcTemp__8[6] = this->colDirTagID;
			__mcTemp__8[7] = this->colDirVersionID;
			__mcTemp__8[8] = this->colTranslate;
			this->gridView1->Columns->AddRange(__mcTemp__8);
			this->gridView1->CustomizationFormBounds = System::Drawing::Rectangle(1344, 630, 208, 175);
			this->gridView1->GridControl = this->gridControl1;
			this->gridView1->Name = S"gridView1";
			this->gridView1->OptionsView->ColumnAutoWidth = false;
			this->gridView1->OptionsView->EnableAppearanceEvenRow = true;
			this->gridView1->OptionsView->EnableAppearanceOddRow = true;
			this->gridView1->OptionsView->RowAutoHeight = true;
			this->gridView1->PaintStyleName = S"Office2003";
			this->gridView1->FocusedRowChanged += new DevExpress::XtraGrid::Views::Base::FocusedRowChangedEventHandler(this, &StringForm::gridView1_FocusedRowChanged);
			// 
			// colKeyStr
			// 
			this->colKeyStr->Caption = S"Key";
			this->colKeyStr->FieldName = S"KeyStr";
			this->colKeyStr->Name = S"colKeyStr";
			this->colKeyStr->Visible = true;
			this->colKeyStr->VisibleIndex = 5;
			this->colKeyStr->Width = 239;
			// 
			// colType
			// 
			this->colType->Caption = S"類型";
			this->colType->FieldName = S"Type";
			this->colType->Name = S"colType";
			this->colType->Visible = true;
			this->colType->VisibleIndex = 0;
			// 
			// colContent
			// 
			this->colContent->Caption = S"內容";
			this->colContent->ColumnEdit = this->repositoryItemMemoEdit_Content;
			this->colContent->FieldName = S"Content";
			this->colContent->Name = S"colContent";
			this->colContent->Visible = true;
			this->colContent->VisibleIndex = 6;
			this->colContent->Width = 486;
			// 
			// repositoryItemMemoEdit_Content
			// 
			this->repositoryItemMemoEdit_Content->Name = S"repositoryItemMemoEdit_Content";
			// 
			// colNote
			// 
			this->colNote->Caption = S"說明";
			this->colNote->ColumnEdit = this->repositoryItemMemoEdit_Content;
			this->colNote->FieldName = S"Note";
			this->colNote->Name = S"colNote";
			this->colNote->Visible = true;
			this->colNote->VisibleIndex = 7;
			this->colNote->Width = 282;
			// 
			// colSubType
			// 
			this->colSubType->Caption = S"分類";
			this->colSubType->FieldName = S"SubType";
			this->colSubType->Name = S"colSubType";
			this->colSubType->Visible = true;
			this->colSubType->VisibleIndex = 8;
			// 
			// colDirZoneID
			// 
			this->colDirZoneID->Caption = S"ZoneID";
			this->colDirZoneID->FieldName = S"DirZoneID";
			this->colDirZoneID->Name = S"colDirZoneID";
			this->colDirZoneID->Visible = true;
			this->colDirZoneID->VisibleIndex = 2;
			this->colDirZoneID->Width = 71;
			// 
			// colDirTagID
			// 
			this->colDirTagID->Caption = S"TagID";
			this->colDirTagID->FieldName = S"DirTagID";
			this->colDirTagID->Name = S"colDirTagID";
			this->colDirTagID->Visible = true;
			this->colDirTagID->VisibleIndex = 3;
			// 
			// colDirVersionID
			// 
			this->colDirVersionID->Caption = S"VersionID";
			this->colDirVersionID->FieldName = S"DirVersionID";
			this->colDirVersionID->Name = S"colDirVersionID";
			this->colDirVersionID->Visible = true;
			this->colDirVersionID->VisibleIndex = 4;
			// 
			// colTranslate
			// 
			this->colTranslate->Caption = S"翻譯";
			this->colTranslate->ColumnEdit = this->repositoryItemCheckEdit1;
			this->colTranslate->FieldName = S"Translate";
			this->colTranslate->Name = S"colTranslate";
			this->colTranslate->Visible = true;
			this->colTranslate->VisibleIndex = 1;
			// 
			// repositoryItemCheckEdit1
			// 
			this->repositoryItemCheckEdit1->AutoHeight = false;
			this->repositoryItemCheckEdit1->Name = S"repositoryItemCheckEdit1";
			// 
			// repositoryItemComboBox_Type
			// 
			this->repositoryItemComboBox_Type->AutoHeight = false;
			DevExpress::XtraEditors::Controls::EditorButton* __mcTemp__9[] = new DevExpress::XtraEditors::Controls::EditorButton*[1];
			__mcTemp__9[0] = (new DevExpress::XtraEditors::Controls::EditorButton(DevExpress::XtraEditors::Controls::ButtonPredefines::Combo));
			this->repositoryItemComboBox_Type->Buttons->AddRange(__mcTemp__9);
			System::Object* __mcTemp__10[] = new System::Object*[4];
			__mcTemp__10[0] = S"Type0";
			__mcTemp__10[1] = S"Type1";
			__mcTemp__10[2] = S"Type2";
			__mcTemp__10[3] = S"Type3";
			this->repositoryItemComboBox_Type->Items->AddRange(__mcTemp__10);
			this->repositoryItemComboBox_Type->Name = S"repositoryItemComboBox_Type";
			// 
			// repositoryItemDateEdit1
			// 
			this->repositoryItemDateEdit1->AutoHeight = false;
			DevExpress::XtraEditors::Controls::EditorButton* __mcTemp__11[] = new DevExpress::XtraEditors::Controls::EditorButton*[1];
			__mcTemp__11[0] = (new DevExpress::XtraEditors::Controls::EditorButton(DevExpress::XtraEditors::Controls::ButtonPredefines::Combo));
			this->repositoryItemDateEdit1->Buttons->AddRange(__mcTemp__11);
			this->repositoryItemDateEdit1->Name = S"repositoryItemDateEdit1";
			// 
			// repositoryItemMemoEdit1
			// 
			this->repositoryItemMemoEdit1->Name = S"repositoryItemMemoEdit1";
			// 
			// sqlSelectCommand1
			// 
			this->sqlSelectCommand1->CommandText = S"SELECT         KeyStr, Type, SubType, DirZoneID, DirTagID, DirVersionID, [Content" 
				S"], Note, \r\n                          Translate\r\nFROM             StringDB";
			this->sqlSelectCommand1->Connection = this->sqlConnection1;
			// 
			// sqlConnection1
			// 
			this->sqlConnection1->ConnectionString = S"Data Source=db1;Initial Catalog=ObjectData;Persist Security Info=True;User ID=sa;" 
				S"Password=rw20040813";
			this->sqlConnection1->FireInfoMessageEventOnUserErrors = false;
			// 
			// sqlUpdateCommand1
			// 
			this->sqlUpdateCommand1->CommandText = resources->GetString(S"sqlUpdateCommand1.CommandText");
			this->sqlUpdateCommand1->Connection = this->sqlConnection1;
			System::Data::SqlClient::SqlParameter* __mcTemp__12[] = new System::Data::SqlClient::SqlParameter*[14];
			__mcTemp__12[0] = (new System::Data::SqlClient::SqlParameter(S"@KeyStr", System::Data::SqlDbType::VarChar, 63, S"KeyStr"));
			__mcTemp__12[1] = (new System::Data::SqlClient::SqlParameter(S"@Type", System::Data::SqlDbType::Int, 4, S"Type"));
			__mcTemp__12[2] = (new System::Data::SqlClient::SqlParameter(S"@SubType", System::Data::SqlDbType::Int, 4, S"SubType"));
			__mcTemp__12[3] = (new System::Data::SqlClient::SqlParameter(S"@Content", System::Data::SqlDbType::NVarChar, 4000, S"Content"));
			__mcTemp__12[4] = (new System::Data::SqlClient::SqlParameter(S"@Note", System::Data::SqlDbType::NVarChar, 2048, S"Note"));
			__mcTemp__12[5] = (new System::Data::SqlClient::SqlParameter(S"@DirZoneID", System::Data::SqlDbType::Int, 4, S"DirZoneID"));
			__mcTemp__12[6] = (new System::Data::SqlClient::SqlParameter(S"@DirTagID", System::Data::SqlDbType::Int, 4, S"DirTagID"));
			__mcTemp__12[7] = (new System::Data::SqlClient::SqlParameter(S"@DirVersionID", System::Data::SqlDbType::Int, 4, S"DirVersionID"));
			__mcTemp__12[8] = (new System::Data::SqlClient::SqlParameter(S"@Translate", System::Data::SqlDbType::Bit, 1, S"Translate"));
			__mcTemp__12[9] = (new System::Data::SqlClient::SqlParameter(S"@Original_KeyStr", System::Data::SqlDbType::VarChar, 63, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"KeyStr", System::Data::DataRowVersion::Original, 0));
			__mcTemp__12[10] = (new System::Data::SqlClient::SqlParameter(S"@Original_Type", System::Data::SqlDbType::Int, 4, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"Type", System::Data::DataRowVersion::Original, 0));
			__mcTemp__12[11] = (new System::Data::SqlClient::SqlParameter(S"@Original_SubType", System::Data::SqlDbType::Int, 4, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"SubType", System::Data::DataRowVersion::Original, 0));
			__mcTemp__12[12] = (new System::Data::SqlClient::SqlParameter(S"@Original_Content", System::Data::SqlDbType::NVarChar, 4000, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"Content", System::Data::DataRowVersion::Original, 0));
			__mcTemp__12[13] = (new System::Data::SqlClient::SqlParameter(S"@Original_Note", System::Data::SqlDbType::NVarChar, 2048, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"Note", System::Data::DataRowVersion::Original, 0));
			this->sqlUpdateCommand1->Parameters->AddRange(__mcTemp__12);
			// 
			// sqlDeleteCommand1
			// 
			this->sqlDeleteCommand1->CommandText = resources->GetString(S"sqlDeleteCommand1.CommandText");
			this->sqlDeleteCommand1->Connection = this->sqlConnection1;
			System::Data::SqlClient::SqlParameter* __mcTemp__13[] = new System::Data::SqlClient::SqlParameter*[5];
			__mcTemp__13[0] = (new System::Data::SqlClient::SqlParameter(S"@Original_KeyStr", System::Data::SqlDbType::VarChar, 50, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"KeyStr", System::Data::DataRowVersion::Original, 0));
			__mcTemp__13[1] = (new System::Data::SqlClient::SqlParameter(S"@Original_Type", System::Data::SqlDbType::Int, 4, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"Type", System::Data::DataRowVersion::Original, 0));
			__mcTemp__13[2] = (new System::Data::SqlClient::SqlParameter(S"@Original_SubType", System::Data::SqlDbType::Int, 4, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"SubType", System::Data::DataRowVersion::Original, 0));
			__mcTemp__13[3] = (new System::Data::SqlClient::SqlParameter(S"@Original_Content", System::Data::SqlDbType::VarChar, 1024, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"Content", System::Data::DataRowVersion::Original, 0));
			__mcTemp__13[4] = (new System::Data::SqlClient::SqlParameter(S"@Original_Note", System::Data::SqlDbType::VarChar, 1024, System::Data::ParameterDirection::Input, 
				false, (System::Byte)0, (System::Byte)0, S"Note", System::Data::DataRowVersion::Original, 0));
			this->sqlDeleteCommand1->Parameters->AddRange(__mcTemp__13);
			// 
			// sqlDataAdapter1
			// 
			this->sqlDataAdapter1->DeleteCommand = this->sqlDeleteCommand1;
			this->sqlDataAdapter1->InsertCommand = this->sqlInsertCommand1;
			this->sqlDataAdapter1->SelectCommand = this->sqlSelectCommand1;
			System::Data::Common::DataTableMapping* __mcTemp__14[] = new System::Data::Common::DataTableMapping*[1];
			System::Data::Common::DataColumnMapping* __mcTemp__15[] = new System::Data::Common::DataColumnMapping*[9];
			__mcTemp__15[0] = (new System::Data::Common::DataColumnMapping(S"KeyStr", S"KeyStr"));
			__mcTemp__15[1] = (new System::Data::Common::DataColumnMapping(S"Type", S"Type"));
			__mcTemp__15[2] = (new System::Data::Common::DataColumnMapping(S"SubType", S"SubType"));
			__mcTemp__15[3] = (new System::Data::Common::DataColumnMapping(S"DirZoneID", S"DirZoneID"));
			__mcTemp__15[4] = (new System::Data::Common::DataColumnMapping(S"DirTagID", S"DirTagID"));
			__mcTemp__15[5] = (new System::Data::Common::DataColumnMapping(S"DirVersionID", S"DirVersionID"));
			__mcTemp__15[6] = (new System::Data::Common::DataColumnMapping(S"Content", S"Content"));
			__mcTemp__15[7] = (new System::Data::Common::DataColumnMapping(S"Note", S"Note"));
			__mcTemp__15[8] = (new System::Data::Common::DataColumnMapping(S"Translate", S"Translate"));
			__mcTemp__14[0] = (new System::Data::Common::DataTableMapping(S"Table", S"StringDB", __mcTemp__15));
			this->sqlDataAdapter1->TableMappings->AddRange(__mcTemp__14);
			this->sqlDataAdapter1->UpdateCommand = this->sqlUpdateCommand1;
			// 
			// sqlInsertCommand1
			// 
			this->sqlInsertCommand1->CommandText = resources->GetString(S"sqlInsertCommand1.CommandText");
			this->sqlInsertCommand1->Connection = this->sqlConnection1;
			System::Data::SqlClient::SqlParameter* __mcTemp__16[] = new System::Data::SqlClient::SqlParameter*[9];
			__mcTemp__16[0] = (new System::Data::SqlClient::SqlParameter(S"@KeyStr", System::Data::SqlDbType::VarChar, 63, S"KeyStr"));
			__mcTemp__16[1] = (new System::Data::SqlClient::SqlParameter(S"@Type", System::Data::SqlDbType::Int, 4, S"Type"));
			__mcTemp__16[2] = (new System::Data::SqlClient::SqlParameter(S"@Content", System::Data::SqlDbType::NVarChar, 4000, S"Content"));
			__mcTemp__16[3] = (new System::Data::SqlClient::SqlParameter(S"@Note", System::Data::SqlDbType::NVarChar, 2048, S"Note"));
			__mcTemp__16[4] = (new System::Data::SqlClient::SqlParameter(S"@SubType", System::Data::SqlDbType::Int, 4, S"SubType"));
			__mcTemp__16[5] = (new System::Data::SqlClient::SqlParameter(S"@DirZoneID", System::Data::SqlDbType::Int, 4, S"DirZoneID"));
			__mcTemp__16[6] = (new System::Data::SqlClient::SqlParameter(S"@DirTagID", System::Data::SqlDbType::Int, 4, S"DirTagID"));
			__mcTemp__16[7] = (new System::Data::SqlClient::SqlParameter(S"@DirVersionID", System::Data::SqlDbType::Int, 4, S"DirVersionID"));
			__mcTemp__16[8] = (new System::Data::SqlClient::SqlParameter(S"@Translate", System::Data::SqlDbType::Bit, 1, S"Translate"));
			this->sqlInsertCommand1->Parameters->AddRange(__mcTemp__16);
			// 
			// timer1
			// 
			this->timer1->Interval = 500;
			this->timer1->Tick += new System::EventHandler(this, &StringForm::OnTimeProc);
			// 
			// sqlCommand1
			// 
			this->sqlCommand1->Connection = this->sqlConnection1;
			// 
			// mainMenu1
			// 
			System::Windows::Forms::MenuItem* __mcTemp__17[] = new System::Windows::Forms::MenuItem*[1];
			__mcTemp__17[0] = this->menuItem1_Base;
			this->mainMenu1->MenuItems->AddRange(__mcTemp__17);
			// 
			// menuItem1_Base
			// 
			this->menuItem1_Base->Index = 0;
			System::Windows::Forms::MenuItem* __mcTemp__18[] = new System::Windows::Forms::MenuItem*[23];
			__mcTemp__18[0] = this->menuItem15;
			__mcTemp__18[1] = this->menuItem1;
			__mcTemp__18[2] = this->menuItem2;
			__mcTemp__18[3] = this->menuItem3;
			__mcTemp__18[4] = this->menuItem4;
			__mcTemp__18[5] = this->menuItem5;
			__mcTemp__18[6] = this->menuItem6;
			__mcTemp__18[7] = this->menuItem7;
			__mcTemp__18[8] = this->menuItem8;
			__mcTemp__18[9] = this->menuItem9;
			__mcTemp__18[10] = this->menuItem10;
			__mcTemp__18[11] = this->menuItem11;
			__mcTemp__18[12] = this->menuItem12;
			__mcTemp__18[13] = this->menuItem13;
			__mcTemp__18[14] = this->menuItem14;
			__mcTemp__18[15] = this->menuItem16;
			__mcTemp__18[16] = this->menuItem17;
			__mcTemp__18[17] = this->menuItem18;
			__mcTemp__18[18] = this->menuItem19;
			__mcTemp__18[19] = this->menuItem20;
			__mcTemp__18[20] = this->menuItem21;
			__mcTemp__18[21] = this->menuItem22;
			__mcTemp__18[22] = this->menuItem23;
			this->menuItem1_Base->MenuItems->AddRange(__mcTemp__18);
			this->menuItem1_Base->Text = S"資料輸出";
			// 
			// menuItem15
			// 
			this->menuItem15->Index = 0;
			this->menuItem15->Text = S"內部輸出";
			this->menuItem15->Click += new System::EventHandler(this, &StringForm::OutputLanguageDesignClick);
			// 
			// menuItem1
			// 
			this->menuItem1->Index = 1;
			this->menuItem1->Text = S"繁體語系";
			this->menuItem1->Click += new System::EventHandler(this, &StringForm::OutputLanguage0Click);
			// 
			// menuItem2
			// 
			this->menuItem2->Index = 2;
			this->menuItem2->Text = S"簡體語系(radata.runewaker.com)";
			this->menuItem2->Click += new System::EventHandler(this, &StringForm::OutputLanguage1Click);
			// 
			// menuItem3
			// 
			this->menuItem3->Index = 3;
			this->menuItem3->Text = S"英語系US(radata-enus.runewaker.com)";
			this->menuItem3->Click += new System::EventHandler(this, &StringForm::OutputLanguage2Click);
			// 
			// menuItem4
			// 
			this->menuItem4->Index = 4;
			this->menuItem4->Text = S"德語系(radata-de.runewaker.com)";
			this->menuItem4->Click += new System::EventHandler(this, &StringForm::OutputLanguage3Click);
			// 
			// menuItem5
			// 
			this->menuItem5->Index = 5;
			this->menuItem5->Text = S"英語系EN(radata-eneu.runewaker.com)";
			this->menuItem5->Click += new System::EventHandler(this, &StringForm::OutputLanguage4Click);
			// 
			// menuItem6
			// 
			this->menuItem6->Index = 6;
			this->menuItem6->Text = S"日文系( radata-jp.runewaker.com)";
			this->menuItem6->Click += new System::EventHandler(this, &StringForm::OutputLanguage5Click);
			// 
			// menuItem7
			// 
			this->menuItem7->Index = 7;
			this->menuItem7->Text = S"韓文";
			this->menuItem7->Click += new System::EventHandler(this, &StringForm::OutputLanguage6Click);
			// 
			// menuItem8
			// 
			this->menuItem8->Index = 8;
			this->menuItem8->Text = S"巴西";
			this->menuItem8->Click += new System::EventHandler(this, &StringForm::OutputLanguage7Click);
			// 
			// menuItem9
			// 
			this->menuItem9->Index = 9;
			this->menuItem9->Text = S"土耳其";
			this->menuItem9->Click += new System::EventHandler(this, &StringForm::OutputLanguage8Click);
			// 
			// menuItem10
			// 
			this->menuItem10->Index = 10;
			this->menuItem10->Text = S"越南";
			this->menuItem10->Click += new System::EventHandler(this, &StringForm::OutputLanguage9Click);
			// 
			// menuItem11
			// 
			this->menuItem11->Index = 11;
			this->menuItem11->Text = S"俄羅斯";
			this->menuItem11->Click += new System::EventHandler(this, &StringForm::OutputLanguage10Click);
			// 
			// menuItem12
			// 
			this->menuItem12->Index = 12;
			this->menuItem12->Text = S"法國";
			this->menuItem12->Click += new System::EventHandler(this, &StringForm::OutputLanguage12Click);
			// 
			// menuItem13
			// 
			this->menuItem13->Index = 13;
			this->menuItem13->Text = S"印尼";
			this->menuItem13->Click += new System::EventHandler(this, &StringForm::OutputLanguage13Click);
			// 
			// menuItem14
			// 
			this->menuItem14->Index = 14;
			this->menuItem14->Text = S"西班牙";
			this->menuItem14->Click += new System::EventHandler(this, &StringForm::OutputLanguage14Click);
			// 
			// menuItem16
			// 
			this->menuItem16->Index = 15;
			this->menuItem16->Text = S"菲律賓";
			this->menuItem16->Click += new System::EventHandler(this, &StringForm::OutputLanguage15Click);
			// 
			// menuItem17
			// 
			this->menuItem17->Index = 16;
			this->menuItem17->Text = S"泰國";
			this->menuItem17->Click += new System::EventHandler(this, &StringForm::OutputLanguage11Click);
			// 
			// menuItem18
			// 
			this->menuItem18->Index = 17;
			this->menuItem18->Text = S"葡萄牙";
			this->menuItem18->Click += new System::EventHandler(this, &StringForm::OutputLanguage18Click);
			// 
			// menuItem19
			// 
			this->menuItem19->Index = 18;
			this->menuItem19->Text = S"波蘭";
			this->menuItem19->Click += new System::EventHandler(this, &StringForm::OutputLanguage17Click);
			// 
			// menuItem20
			// 
			this->menuItem20->Index = 19;
			this->menuItem20->Text = S"沙烏地阿拉伯";
			this->menuItem20->Click += new System::EventHandler(this, &StringForm::OutputLanguage16Click);
			// 
			// menuItem21
			// 
			this->menuItem21->Index = 20;
			this->menuItem21->Text = S"中南美洲(西班牙)";
			this->menuItem21->Click += new System::EventHandler(this, &StringForm::OutputLanguage19Click);
			// 
			// menuItem22
			// 
			this->menuItem22->Index = 21;
			this->menuItem22->Text = S"中東英文";
			this->menuItem22->Click += new System::EventHandler(this, &StringForm::OutputLanguage20Click);
			// 
			// menuItem23
			// 
			this->menuItem23->Index = 22;
			this->menuItem23->Text = S"中南美洲(葡萄牙)";
			this->menuItem23->Click += new System::EventHandler(this, &StringForm::OutputLanguage21Click);
			// 
			// BT_Select
			// 
			this->BT_Select->Location = System::Drawing::Point(461, 3);
			this->BT_Select->Name = S"BT_Select";
			this->BT_Select->Size = System::Drawing::Size(75, 23);
			this->BT_Select->TabIndex = 4;
			this->BT_Select->Text = S"送出篩選";
			this->BT_Select->UseVisualStyleBackColor = true;
			this->BT_Select->Click += new System::EventHandler(this, &StringForm::SelectString);
			// 
			// StringForm
			// 
			this->AutoScaleBaseSize = System::Drawing::Size(5, 15);
			this->ClientSize = System::Drawing::Size(1379, 657);
			this->Controls->Add(this->panel2);
			this->Controls->Add(this->panel3);
			this->Controls->Add(this->panel1);
			this->Menu = this->mainMenu1;
			this->Name = S"StringForm";
			this->Text = S"StringForm";
			this->WindowState = System::Windows::Forms::FormWindowState::Maximized;
			this->Load += new System::EventHandler(this, &StringForm::StringForm_Load);
			this->panel1->ResumeLayout(false);
			this->panel1->PerformLayout();
			this->panel3->ResumeLayout(false);
			this->panel3->PerformLayout();
			this->panel2->ResumeLayout(false);
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->gridControl1))->EndInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->dataSet31))->EndInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->gridView1))->EndInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemMemoEdit_Content))->EndInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemCheckEdit1))->EndInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemComboBox_Type))->EndInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemDateEdit1))->EndInit();
			(__try_cast<System::ComponentModel::ISupportInitialize*  >(this->repositoryItemMemoEdit1))->EndInit();
			this->ResumeLayout(false);

		}		

	//private:
		//NameValueCollection* sysStringCol;
	//	NameValueCollection* cliStringCol;
	//	NameValueCollection* cliLoginStringCol;

    public:
		static StringForm*  g_StringForm;
		
		void    OutputFile( bool OutputAll );
		void    OutputFileLanguage( int LanagageID );
//		void    OutputFileByStringTable( );

		void	 DataFill();
		void	 UpDateData();

		//for single language output by command line
		void    _OutputFileLanguage();
		void	_OutputFile_SysString( int LanguageID, String* SQLCmd);
		void	_OutputFile_ClientString( int LanguageID, String* FileName , String * SQLCmd );
		bool	_OutputFile_SimplifyProcess( fstream& file , const char* OpenFileName , const char* SubFile );	//without popup message box
		void	_UpdateOutputStep(int iStep);
		void	_UpdateOutputStatus(int iStatus);
		void	_UpdateProgress();
		void	_UpdateErrorString();
		
	private:
		string		GetLanguageString( int iLanguageID );
		int			GetTotalLanguage();
		void		OutputFile_SysString( int iLanguageID, String* SQLCmd , bool OutputAll );
		void		OutputFile_ClientString( int iLanguageID, String* FileName , String * SQLCmd );
		int			GetStringID( const char* pSource, const char* pKey );
		void        PrepareCheckStringFormat();
		void        EndCheckStringFormat();
	private:		
		System::Void OnTimeProc(System::Object*  sender, System::EventArgs*  e);
		System::Void OnKeySelectCheckChanged(System::Object*  sender, System::EventArgs*  e);
		System::Void OnAddNewData(System::Object*  sender, System::EventArgs*  e);
		System::Void StringForm_Load(System::Object*  sender, System::EventArgs*  e);
		System::Void gridView1_FocusedRowChanged(System::Object*  sender, DevExpress::XtraGrid::Views::Base::FocusedRowChangedEventArgs*  e);
//		System::Void OutputDataClick(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage0Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage1Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage2Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage3Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage4Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage5Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage6Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage7Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage8Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage9Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage10Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage11Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage12Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage13Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage14Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage15Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage16Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage17Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage18Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage19Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage20Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage21Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguage22Click(System::Object*  sender, System::EventArgs*  e);
		System::Void OutputLanguageDesignClick(System::Object*  sender, System::EventArgs*  e);
		System::Void SelectString(System::Object*  sender, System::EventArgs*  e);

//		System::Void OutputDataByStringDBClick(System::Object*  sender, System::EventArgs*  e);
		System::Void TB_SelectKey_TextChanged(System::Object*  sender, System::EventArgs*  e);
		System::Void DelString_Click(System::Object*  sender, System::EventArgs*  e);
		System::Void CB_SelectType_SelectedIndexChanged(System::Object*  sender, System::EventArgs*  e);

	private:				
		bool	_IsNeedUpdate;
		bool	_IsNeedFill;
		bool	_ConsoleMode;
		ArrayList* _sbList;

		//for console mode string output
		System::Data::SqlClient::SqlConnection*  _UpdateConnection;
		System::Data::SqlClient::SqlCommand* _UpdateCommand;
		ArrayList* _OutputFileNameList;
		String*	_ErrorString;

		int		_GUID;
		int		_OutputStatus;
		int		_OutputStep;
		int		_CurrentRecordNum;
		int		_TotalRecordNum;
};
}