#pragma once


namespace DockLayout {

	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>
	/// Zusammenfassung für Form1
	///
	/// Warnung: Wenn Sie den Namen dieser Klasse ändern, müssen Sie auch
	///          die Ressourcendateiname-Eigenschaft für das Tool zur Kompilierung verwalteter Ressourcen ändern,
	///          das allen RESX-Dateien zugewiesen ist, von denen diese Klasse abhängt.
	///          Anderenfalls können die Designer nicht korrekt mit den lokalisierten Ressourcen
	///          arbeiten, die diesem Formular zugewiesen sind.
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: Konstruktorcode hier hinzufügen.
			//
		}

	protected:
		/// <summary>
		/// Verwendete Ressourcen bereinigen.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
   private: System::Windows::Forms::Button^  button1;
   protected: 
   private: System::Windows::Forms::Button^  button2;
   private: System::Windows::Forms::Button^  button3;
   private: System::Windows::Forms::Button^  button4;
   private: System::Windows::Forms::Button^  button5;

	private:
		/// <summary>
		/// Erforderliche Designervariable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Erforderliche Methode für die Designerunterstützung.
		/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
		/// </summary>
		void InitializeComponent(void)
		{
         this->button1 = (gcnew System::Windows::Forms::Button());
         this->button2 = (gcnew System::Windows::Forms::Button());
         this->button3 = (gcnew System::Windows::Forms::Button());
         this->button4 = (gcnew System::Windows::Forms::Button());
         this->button5 = (gcnew System::Windows::Forms::Button());
         this->SuspendLayout();
         // 
         // button1
         // 
         this->button1->Dock = System::Windows::Forms::DockStyle::Left;
         this->button1->Location = System::Drawing::Point(0, 0);
         this->button1->Name = L"button1";
         this->button1->Size = System::Drawing::Size(75, 264);
         this->button1->TabIndex = 0;
         this->button1->Text = L"Left";
         this->button1->UseVisualStyleBackColor = true;
         // 
         // button2
         // 
         this->button2->Dock = System::Windows::Forms::DockStyle::Top;
         this->button2->Location = System::Drawing::Point(75, 0);
         this->button2->Name = L"button2";
         this->button2->Size = System::Drawing::Size(316, 23);
         this->button2->TabIndex = 1;
         this->button2->Text = L"Top";
         this->button2->UseVisualStyleBackColor = true;
         // 
         // button3
         // 
         this->button3->Dock = System::Windows::Forms::DockStyle::Right;
         this->button3->Location = System::Drawing::Point(391, 0);
         this->button3->Name = L"button3";
         this->button3->Size = System::Drawing::Size(75, 264);
         this->button3->TabIndex = 2;
         this->button3->Text = L"Right";
         this->button3->UseVisualStyleBackColor = true;
         // 
         // button4
         // 
         this->button4->Dock = System::Windows::Forms::DockStyle::Bottom;
         this->button4->Location = System::Drawing::Point(75, 241);
         this->button4->Name = L"button4";
         this->button4->Size = System::Drawing::Size(316, 23);
         this->button4->TabIndex = 3;
         this->button4->Text = L"Bottom";
         this->button4->UseVisualStyleBackColor = true;
         // 
         // button5
         // 
         this->button5->Dock = System::Windows::Forms::DockStyle::Fill;
         this->button5->Location = System::Drawing::Point(75, 0);
         this->button5->Name = L"button5";
         this->button5->Size = System::Drawing::Size(316, 241);
         this->button5->TabIndex = 4;
         this->button5->Text = L"Fill";
         this->button5->UseVisualStyleBackColor = true;
         // 
         // Form1
         // 
         this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
         this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
         this->ClientSize = System::Drawing::Size(466, 264);
         this->Controls->Add(this->button2);
         this->Controls->Add(this->button5);
         this->Controls->Add(this->button4);
         this->Controls->Add(this->button3);
         this->Controls->Add(this->button1);
         this->Name = L"Form1";
         this->Text = L"Dock-Layout";
         this->ResumeLayout(false);

      }
#pragma endregion
	};
}

