#pragma once

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;


namespace ObjDataEdit
{
	/// <summary> 
	/// Summary for SelectMoveForm
	///
	/// 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 SelectMoveForm : public System::Windows::Forms::Form
	{
	public: 
		SelectMoveForm(void)
		{
			InitializeComponent();
            _IsAccept = false;
		}
        
	protected: 
		void Dispose(Boolean disposing)
		{
			if (disposing && components)
			{
				components->Dispose();
			}
			__super::Dispose(disposing);
		}
    private: System::Windows::Forms::Button *  button2;
    private: System::Windows::Forms::Button *  button1;
    private: System::Windows::Forms::ComboBox *  comboBox1;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container* components;
	private: System::Windows::Forms::Label*  label1;
	private: System::Windows::Forms::Label*  label2;
	private: System::Windows::Forms::TextBox*  textBox1;
	private: System::Windows::Forms::TextBox*  textBox2;
			 bool    _IsAccept;

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->button2 = (new System::Windows::Forms::Button());
			this->button1 = (new System::Windows::Forms::Button());
			this->label1 = (new System::Windows::Forms::Label());
			this->label2 = (new System::Windows::Forms::Label());
			this->textBox1 = (new System::Windows::Forms::TextBox());
			this->textBox2 = (new System::Windows::Forms::TextBox());
			this->SuspendLayout();
			// 
			// button2
			// 
			this->button2->DialogResult = System::Windows::Forms::DialogResult::Cancel;
			this->button2->Location = System::Drawing::Point(127, 34);
			this->button2->Name = S"button2";
			this->button2->Size = System::Drawing::Size(75, 24);
			this->button2->TabIndex = 7;
			this->button2->Text = S"取消";
			this->button2->Click += new System::EventHandler(this, &SelectMoveForm::Cancel_Click);
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(39, 34);
			this->button1->Name = S"button1";
			this->button1->Size = System::Drawing::Size(75, 24);
			this->button1->TabIndex = 6;
			this->button1->Text = S"確定";
			this->button1->Click += new System::EventHandler(this, &SelectMoveForm::Ok_Click);
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(2, 9);
			this->label1->Name = S"label1";
			this->label1->Size = System::Drawing::Size(53, 12);
			this->label1->TabIndex = 8;
			this->label1->Text = S"物件號碼";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(134, 12);
			this->label2->Name = S"label2";
			this->label2->Size = System::Drawing::Size(17, 12);
			this->label2->TabIndex = 9;
			this->label2->Text = S"至";
			// 
			// textBox1
			// 
			this->textBox1->Location = System::Drawing::Point(59, 6);
			this->textBox1->Name = S"textBox1";
			this->textBox1->Size = System::Drawing::Size(69, 22);
			this->textBox1->TabIndex = 10;
			// 
			// textBox2
			// 
			this->textBox2->Location = System::Drawing::Point(156, 6);
			this->textBox2->Name = S"textBox2";
			this->textBox2->Size = System::Drawing::Size(78, 22);
			this->textBox2->TabIndex = 11;
			// 
			// SelectMoveForm
			// 
			this->AutoScaleBaseSize = System::Drawing::Size(5, 15);
			this->ClientSize = System::Drawing::Size(237, 62);
			this->Controls->Add(this->textBox2);
			this->Controls->Add(this->textBox1);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->label1);
			this->Controls->Add(this->button2);
			this->Controls->Add(this->button1);
			this->Name = S"SelectMoveForm";
			this->Text = S"SelectMoveForm";
			this->ResumeLayout(false);
			this->PerformLayout();

		}		


    private: System::Void Cancel_Click(System::Object *  sender, System::EventArgs *  e)
             {
                 Close();
             }

    private: System::Void Ok_Click(System::Object *  sender, System::EventArgs *  e)
             {
                 _IsAccept = true;
                 Close();
             }


    public:
		int		BeginGUID();
		int		EndGUID();
        bool    IsAccept(){ return _IsAccept; }

    };
}