#pragma once
#pragma		warning (disable:4146)
#include "DotNetString.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::Text;

namespace ObjDataEdit
{
	/// <summary> 
	/// Summary for SetForm
	///
	/// 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>
	public __gc class SetForm : public System::Windows::Forms::Form
	{
	public: 
		SetForm(void)
		{
			InitializeComponent();
			IsChange = false;
		}
        
	protected: 
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}
    private: System::Windows::Forms::Label *  label1;
	private: System::Windows::Forms::TextBox*  TB_DataPath;

    private: System::Windows::Forms::Button *  button1;
    private: System::Windows::Forms::Button *  button2;
	private: System::Windows::Forms::TextBox*  TB_ResourcePath;

    private: System::Windows::Forms::Label *  label2;
	private: System::Windows::Forms::GroupBox*  groupBox1;
	private: System::Windows::Forms::CheckedListBox*  CList_Language;


	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container* components;

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->label1 = (new System::Windows::Forms::Label());
			this->TB_DataPath = (new System::Windows::Forms::TextBox());
			this->button1 = (new System::Windows::Forms::Button());
			this->button2 = (new System::Windows::Forms::Button());
			this->TB_ResourcePath = (new System::Windows::Forms::TextBox());
			this->label2 = (new System::Windows::Forms::Label());
			this->groupBox1 = (new System::Windows::Forms::GroupBox());
			this->CList_Language = (new System::Windows::Forms::CheckedListBox());
			this->groupBox1->SuspendLayout();
			this->SuspendLayout();
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(144, 32);
			this->label1->Name = S"label1";
			this->label1->Size = System::Drawing::Size(53, 12);
			this->label1->TabIndex = 0;
			this->label1->Text = S"工作目錄";
			// 
			// TB_DataPath
			// 
			this->TB_DataPath->Location = System::Drawing::Point(208, 24);
			this->TB_DataPath->Name = S"TB_DataPath";
			this->TB_DataPath->Size = System::Drawing::Size(344, 22);
			this->TB_DataPath->TabIndex = 1;
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(368, 80);
			this->button1->Name = S"button1";
			this->button1->Size = System::Drawing::Size(75, 24);
			this->button1->TabIndex = 2;
			this->button1->Text = S"確定";
			this->button1->Click += new System::EventHandler(this, &SetForm::SaveSetting);
			// 
			// button2
			// 
			this->button2->Location = System::Drawing::Point(456, 80);
			this->button2->Name = S"button2";
			this->button2->Size = System::Drawing::Size(75, 24);
			this->button2->TabIndex = 3;
			this->button2->Text = S"取消";
			this->button2->Click += new System::EventHandler(this, &SetForm::CloseForm);
			// 
			// TB_ResourcePath
			// 
			this->TB_ResourcePath->Location = System::Drawing::Point(208, 50);
			this->TB_ResourcePath->Name = S"TB_ResourcePath";
			this->TB_ResourcePath->Size = System::Drawing::Size(344, 22);
			this->TB_ResourcePath->TabIndex = 5;
			this->TB_ResourcePath->TextChanged += new System::EventHandler(this, &SetForm::textBox1_TextChanged);
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(144, 58);
			this->label2->Name = S"label2";
			this->label2->Size = System::Drawing::Size(56, 12);
			this->label2->TabIndex = 4;
			this->label2->Text = S" 圖形目錄";
			// 
			// groupBox1
			// 
			this->groupBox1->Controls->Add(this->CList_Language);
			this->groupBox1->Location = System::Drawing::Point(12, 12);
			this->groupBox1->Name = S"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(126, 116);
			this->groupBox1->TabIndex = 6;
			this->groupBox1->TabStop = false;
			this->groupBox1->Text = S"檢視語系";
			// 
			// CList_Language
			// 
			this->CList_Language->CheckOnClick = true;
			this->CList_Language->Dock = System::Windows::Forms::DockStyle::Fill;
			this->CList_Language->FormattingEnabled = true;
			System::Object* __mcTemp__1[] = new System::Object*[4];
			__mcTemp__1[0] = S"繁體語系";
			__mcTemp__1[1] = S"簡體語系";
			__mcTemp__1[2] = S"英語系";
			__mcTemp__1[3] = S"日語系";
			this->CList_Language->Items->AddRange(__mcTemp__1);
			this->CList_Language->Location = System::Drawing::Point(3, 18);
			this->CList_Language->Name = S"CList_Language";
			this->CList_Language->Size = System::Drawing::Size(120, 89);
			this->CList_Language->TabIndex = 0;
			// 
			// SetForm
			// 
			this->AutoScaleBaseSize = System::Drawing::Size(5, 15);
			this->ClientSize = System::Drawing::Size(564, 133);
			this->Controls->Add(this->groupBox1);
			this->Controls->Add(this->TB_ResourcePath);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->button2);
			this->Controls->Add(this->button1);
			this->Controls->Add(this->TB_DataPath);
			this->Controls->Add(this->label1);
			this->Name = S"SetForm";
			this->Text = S"SetForm";
			this->Load += new System::EventHandler(this, &SetForm::LoadSetting);
			this->groupBox1->ResumeLayout(false);
			this->ResumeLayout(false);
			this->PerformLayout();

		}		
	protected:
		bool	IsChange;
	private: System::Void textBox1_TextChanged(System::Object *  sender, System::EventArgs *  e)
			 {
				IsChange = true;
			 }
    private: System::Void LoadSetting(System::Object *  sender, System::EventArgs *  e);
    private: System::Void SaveSetting(System::Object *  sender, System::EventArgs *  e);
    private: System::Void CloseForm(System::Object *  sender, System::EventArgs *  e)
             {
                 this->Close();
             }

	
	public:

};
}