#pragma once
#include "Darsteller.h"
#include "Filmsammlung.h"

namespace Steuerelemente {

	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::IO;
	using namespace System::Text;
	using namespace System::Xml::Serialization;

	public ref class Form1 : public System::Windows::Forms::Form
	{
	private:
		VScrollBar^ vScrollBar1;
		TreeNode^ angeklickterKnoten;

	public:
		Form1(void)
		{
			InitializeComponent();

			tabControl1->SelectedIndex = 22;


#pragma region Button
			{
				button1->Text = "Typische Schaltfläche";
				button1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
				button1->Click += gcnew EventHandler(this, &Form1::btn_Click);      

				button2->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
				button2->ImageList = imageList1;
				button2->ImageIndex = 1;
				button2->Text = "Flache Schaltfläche mit Bild";
				button2->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
				button2->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
				button2->Click += gcnew EventHandler(this, &Form1::btn_Click);
			}
#pragma endregion

#pragma region CheckBox
			{
				checkBox1->Text = "humorvoll";
				checkBox2->Text = "intelligent";
				checkBox3->Text = "freundlich";
			}
#pragma endregion

#pragma region CheckedListBox
			checkedListBox1->Items->Add("humorvoll");
			checkedListBox1->Items->Add("intelligent");
			checkedListBox1->Items->Add("freundlich");

#pragma endregion

#pragma region ComboBox
			comboBox1->DropDownStyle = ComboBoxStyle::DropDown;
			comboBox1->Items->Add("humorvoll");
			comboBox1->Items->Add("intelligent");
			comboBox1->Items->Add("freundlich");

#pragma endregion

#pragma region DataGridView

			/*** Spalten hinzufügen ***/
			DataGridViewTextBoxColumn^ spalte1 = gcnew DataGridViewTextBoxColumn();
			spalte1->Name = "TITEL";
			spalte1->HeaderText = "Filmtitel";
			dataGridView1->Columns->Add(spalte1);

			DataGridViewTextBoxColumn^ spalte2 = gcnew DataGridViewTextBoxColumn();
			spalte2->Name = "REGIE";
			spalte2->HeaderText = "Regisseur";
			dataGridView1->Columns->Add(spalte2);

			DataGridViewComboBoxColumn^ spalte3 = gcnew DataGridViewComboBoxColumn();
			spalte3->Name = "SPRACHE";
			spalte3->HeaderText = "Sprache";
			spalte3->ValueType = Film::Sprache::typeid;
			spalte3->Items->Add(Film::Sprache::Deutsch);
			spalte3->Items->Add(Film::Sprache::Englisch);
			dataGridView1->Columns->Add(spalte3);

			DataGridViewCheckBoxColumn^ spalte4 = gcnew DataGridViewCheckBoxColumn();
			spalte4->Name = "BACKUP";
			spalte4->HeaderText = "Backup";
			dataGridView1->Columns->Add(spalte4);

			// Daten aus XML-Datei einlesen
			Filmsammlung^ temp = gcnew Filmsammlung();
			StreamReader^ sr = gcnew StreamReader("filme.xml");
			XmlSerializer^ xs = gcnew XmlSerializer(Filmsammlung::typeid);
			temp = (Filmsammlung^) xs->Deserialize(sr);
			sr->Close();

			// Tabelle leeren
			dataGridView1->Rows->Clear();

			// Daten in Tabelle schreiben
			for (int i = 0; i < temp->filmliste->Count; i++)
			{
				dataGridView1->Rows->Add();
				dataGridView1["TITEL", i]->Value = temp->filmliste[i]->titel;
				dataGridView1["REGIE", i]->Value = temp->filmliste[i]->regisseur;
				dataGridView1["SPRACHE", i]->Value = temp->filmliste[i]->sprache;
				dataGridView1["BACKUP", i]->Value = temp->filmliste[i]->backup;
			}


#pragma endregion

#pragma region DateTimePicker
			dateTimePicker1->ShowUpDown = false;
			dateTimePicker1->Value = DateTime(1975, 12, 26);
			dateTimePicker1->CustomFormat = "dd. MMM yyyy (hh:mm)";
			dateTimePicker1->Format = DateTimePickerFormat::Custom;
#pragma endregion

#pragma region GroupBox
			groupBox2->Text = "Team B";
			groupBox2->Controls->Add(this->label10);
			groupBox2->Controls->Add(this->label11);
			groupBox2->Controls->Add(this->label12);
			groupBox2->Controls->Add(this->label13);

#pragma endregion

#pragma region Label
			{
				Label^ lb1 = gcnew Label();
				lb1->Parent = tp_Label;
				lb1->Location = System::Drawing::Point(10, 20);
				lb1->AutoSize = true;
				lb1->Text = "Dies ist ein AutoSize-Label";

				Label^ lb2 = gcnew Label();
				lb2->Parent = tp_Label;
				lb2->Location = System::Drawing::Point(10, 60);
				lb2->Size = System::Drawing::Size(200, 30);
				lb2->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
				lb2->Text = "Erklärender rechtsbündiger Text, der\nsich über zwei Zeilen erstreckt.";

				Label^ lb3 = gcnew Label();
				lb3->Parent = tp_Label;
				lb3->Location = System::Drawing::Point(10, 110);
				lb3->Size = System::Drawing::Size(75, 30);
				lb3->ImageList = imageList1;
				lb3->ImageIndex = 0;
				lb3->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
				lb3->Text = "Vorsicht!";
				lb3->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
			}
#pragma endregion

#pragma region LinkLabel
			{
				LinkLabel^ ll = gcnew LinkLabel();      
				ll->Parent = tp_LinkLabel;             
				ll->Location = System::Drawing::Point(10, 20);

				ll->Text = "Die Firma.";
				ll->LinkArea = System::Windows::Forms::LinkArea(4, 5);
				ll->LinkBehavior = System::Windows::Forms::LinkBehavior::AlwaysUnderline;
				ll->LinkColor = Color::RoyalBlue;
				ll->VisitedLinkColor = Color::FromArgb(128, 0, 128);
				ll->LinkClicked += gcnew LinkLabelLinkClickedEventHandler(this, &Form1::ll_Click);
			}
#pragma endregion

#pragma region ListBox
			{
				listBox1->Items->Add("humorvoll");
				listBox1->Items->Add("intelligent");
				listBox1->Items->Add("freundlich");
				listBox1->SelectionMode = System::Windows::Forms::SelectionMode::MultiSimple;

				listBox2->DisplayMember = "Nachname";
				listBox2->Items->Add(gcnew Darsteller("Peter", "Falk", "Columbo"));
				listBox2->Items->Add(gcnew Darsteller("Judy", "Dench", "As time goes by"));
				listBox2->Items->Add(gcnew Darsteller("Victor", "Sjöström", "Wilde Erdbeeren"));
			}
#pragma endregion

#pragma region ListView

			// Einfache List
			listView1->View = System::Windows::Forms::View::List;     

			listView1->Items->Add(gcnew ListViewItem("Element 1"));
			listView1->Items->Add(gcnew ListViewItem("Element 2"));
			listView1->Items->Add(gcnew ListViewItem("Element 3"));

			// Komplexe Liste
			listView2->View = System::Windows::Forms::View::Details; 
			listView2->SmallImageList = imageList_ListViewSmall;
			listView2->LargeImageList = imageList_ListViewLarge;
			listView2->Sorting = SortOrder::Ascending;

			listView2->Columns->Add("Stadt", 100, HorizontalAlignment::Left);
			listView2->Columns->Add("Einw.", 100, HorizontalAlignment::Right);
			listView2->Columns->Add("Kennz.", -2, HorizontalAlignment::Center);

			ListViewItem^ li = gcnew ListViewItem("Berlin", 0);
			li->SubItems->Add("3.460.000");
			li->SubItems->Add("B");
			listView2->Items->Add(li);
			li = gcnew ListViewItem("Frankfurt", 1);
			li->SubItems->Add("670.000");
			li->SubItems->Add("F");
			listView2->Items->Add(li);
			li = gcnew ListViewItem("Stuttgart", 1);
			li->SubItems->Add("595.000");
			li->SubItems->Add("S");
			listView2->Items->Add(li);
			li = gcnew ListViewItem("Dresden", 1);
			li->SubItems->Add("505.000");
			li->SubItems->Add("DD");
			listView2->Items->Add(li);
			li = gcnew ListViewItem("Leipzig", 1);
			li->SubItems->Add("510.000");
			li->SubItems->Add("L");
			listView2->Items->Add(li);

			System::Windows::Forms::ContextMenuStrip ^cm = gcnew System::Windows::Forms::ContextMenuStrip();
			cm->Items->Add(
				gcnew ToolStripMenuItem("Kleine Symbole", nullptr, 
				gcnew EventHandler(this, &Form1::command_Click))); 
			cm->Items->Add(
				gcnew ToolStripMenuItem("Große Symbole", nullptr, 
				gcnew EventHandler(this, &Form1::command_Click))); 
			cm->Items->Add(
				gcnew ToolStripMenuItem("Kacheln", nullptr, 
				gcnew EventHandler(this, &Form1::command_Click))); 
			cm->Items->Add(
				gcnew ToolStripMenuItem("Liste", nullptr,  
				gcnew EventHandler(this, &Form1::command_Click))); 
			cm->Items->Add(
				gcnew ToolStripMenuItem("Details", nullptr, 
				gcnew EventHandler(this, &Form1::command_Click))); 
			listView2->ContextMenuStrip = cm;       
#pragma endregion

#pragma region MaskedTextBox
			maskedTextBox1->Mask = "00\\.00\\.0000";
#pragma endregion

#pragma region MonthCalendar
			monthCalendar1->SelectionRange 
				= gcnew System::Windows::Forms::SelectionRange( DateTime(2008, 4, 15),
				                                                DateTime(2008, 4, 18));

			monthCalendar1->BoldedDates 
				= gcnew array<DateTime> { DateTime(2008, 4, 7),
				                          DateTime(2008, 4, 22)
			                            };

			monthCalendar1->ShowWeekNumbers = true;

#pragma endregion

#pragma region NumericUpDown
			numericUpDown1->Maximum = 10;
			numericUpDown1->Minimum = 1;
			numericUpDown1->Value = 5;
#pragma endregion

#pragma region Panel
#pragma endregion

#pragma region PictureBox
			try
			{
				pictureBox1->Image = gcnew Bitmap(".\\images\\Norwegen_Runde.jpg");
			}
			catch (Exception^) 
			{
				Label^ hinweis = gcnew Label();
				hinweis->Parent = tp_PictureBox;
				hinweis->Location = System::Drawing::Point(50, 20);
				hinweis->Size = System::Drawing::Size(250, 50);
				hinweis->Text = "Die Bilddatei \n"
					+"  .\\images\\Norwegen_Runde.jpg \n"
					+"konnte nicht gefunden werden, siehe Readme.txt";
			}

			pictureBox1->SizeMode = PictureBoxSizeMode::StretchImage;
#pragma endregion

#pragma region ProgressBar
			progressBar1->Minimum = 0;
			progressBar1->Maximum = 35;
			progressBar1->Step = 1;
#pragma endregion

#pragma region RadioButton
			gp_VFarbe->Text = "Vordergrundfarbe";
			radioButton1->Text = "Schwarz";
			radioButton2->Text = "Weiß";
			radioButton3->Text = "Rot";

			radioButton1->Parent = gp_VFarbe;
			radioButton2->Parent = gp_VFarbe;
			radioButton3->Parent = gp_VFarbe;


			gp_HFarbe->Text = "Hintergrundfarbe";
			radioButton4->Text = "Control";
			radioButton5->Text = "Weiß";
			radioButton6->Text = "Schwarz";

			radioButton4->Parent = gp_HFarbe;
			radioButton5->Parent = gp_HFarbe;
			radioButton6->Parent = gp_HFarbe;
#pragma endregion

#pragma region ScrollBar (HScrollBar und VScrolLBar)
			vScrollBar1 = gcnew VScrollBar();
			vScrollBar1->Parent = pictureBox2;
			vScrollBar1->Dock = DockStyle::Right;
			vScrollBar1->Value = 0;
			vScrollBar1->Minimum = 0;
			vScrollBar1->Maximum = pictureBox2->Image->Height - 1;
			vScrollBar1->SmallChange = 1;
			vScrollBar1->LargeChange = pictureBox2->Height;
			vScrollBar1->Scroll += gcnew ScrollEventHandler(this, &Form1::vScrollBar_Scroll);  

			pictureBox2->Paint += gcnew PaintEventHandler(this, &Form1::pictureBox2_Paint);
#pragma endregion

#pragma region SplitContainer

			// Bestückung des linken Bereichs mit drei CheckBox-Instanzen,
			// die von einem FlowLayoutPanel vertikal angeordnet werden
			FlowLayoutPanel^ flp = gcnew FlowLayoutPanel();
			flp->FlowDirection = System::Windows::Forms::FlowDirection::TopDown;
			flp->Padding = System::Windows::Forms::Padding(50, 50, 50, 50);
			flp->Dock = DockStyle::Fill;
			flp->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;

			CheckBox^ cb1 = gcnew CheckBox();
			cb1->Text = "Schwarz";
			cb1->Click += gcnew EventHandler(this, &Form1::flagge1_Click);
			CheckBox^ cb2 = gcnew CheckBox();
			cb2->Text = "Rot";
			cb2->Click += gcnew EventHandler(this, &Form1::flagge2_Click);
			CheckBox^ cb3 = gcnew CheckBox();
			cb3->Text = "Gold";
			cb3->Click += gcnew EventHandler(this, &Form1::flagge3_Click);

			flp->Controls->Add(cb1);
			flp->Controls->Add(cb2);
			flp->Controls->Add(cb3);

			// Bestückung des linken Bereichs mit drei Panel-Instanzen,
			// die von einem TableLayoutPanel vertikal angeordnet werden
			TableLayoutPanel^ tlp = gcnew TableLayoutPanel();
			tlp->ColumnCount = 1;
			tlp->RowCount = 3;
			tlp->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
			tlp->CellBorderStyle = TableLayoutPanelCellBorderStyle::None;
			tlp->Dock = DockStyle::Fill;

			// Drei Panels anlegen und in Zeilen einfügen
			for (int i = 0; i < 3; ++i)
			{
				Panel^ p = gcnew Panel();
				p->Dock = DockStyle::Fill;
				p->Margin = System::Windows::Forms::Padding(0, 0, 0, 0);
				tlp->Controls->Add(p,0,i);

				RowStyle^ rs = gcnew RowStyle();
				rs->SizeType = SizeType::Percent;
				rs->Height = 33;
				tlp->RowStyles->Add(rs);
			}

			// Einrichtung des SplitContainers
			splitContainer1->Panel1->Controls->Add(flp);
			splitContainer1->Panel2->Controls->Add(tlp);
			splitContainer1->SplitterWidth = 10;
			splitContainer1->SplitterDistance = 200;
			splitContainer1->Panel1MinSize = 150;

#pragma endregion

#pragma region TextBox
			tb_Name->Text = "Vorname Nachname";
			tb_Name->MaxLength = 40;
			tb_Name->ForeColor = System::Drawing::Color::DarkGray;

			tb_Passwort->Text = "1234";
			tb_Passwort->MaxLength = 4;
			tb_Passwort->ForeColor = System::Drawing::Color::DarkGray;

			tb_Kommentar->Multiline = true;
			tb_Kommentar->AcceptsReturn = true;
			tb_Kommentar->AcceptsTab = true;
			tb_Kommentar->WordWrap = true;
			tb_Kommentar->ScrollBars = System::Windows::Forms::ScrollBars::Vertical;
#pragma endregion

#pragma region TrackBar
			trackBar1->Orientation = System::Windows::Forms::Orientation::Horizontal;
			trackBar1->Minimum = -10;
			trackBar1->Maximum = +10;
			trackBar1->Value = 0;
			trackBar1->TickFrequency = 2;
#pragma endregion

#pragma region TreeView
			treeView1->ShowPlusMinus = true;
			treeView1->ShowRootLines = true;

			// Stammknoten mit drei untergeordneten Knoten
			treeView1->Nodes->Add("Europa");
			treeView1->Nodes[0]->Nodes->Add("Deutschland");
			treeView1->Nodes[0]->Nodes->Add("Frankreich");
			treeView1->Nodes[0]->Nodes->Add("Norwegen");

			// Weiterer Stammknoten mit zwei untergeordneten Knoten
			treeView1->Nodes->Add("Afrika");
			treeView1->Nodes[1]->Nodes->Add("Senegal");
			treeView1->Nodes[1]->Nodes->Add("Elfenbeinküste");


			// Unterstützung für Knoten-Kontextmenü
			angeklickterKnoten = nullptr;
			treeView1->NodeMouseClick += gcnew TreeNodeMouseClickEventHandler(this, &Form1::treeView1_NodeMouseClick);

			// Kontextmenü aufbauen 
			System::Windows::Forms::ContextMenuStrip ^treeKontextmenue = gcnew System::Windows::Forms::ContextMenuStrip();
			ToolStripMenuItem^ menuebefehl1 = gcnew ToolStripMenuItem();
			menuebefehl1->Text = "Knoten erweitern";
			menuebefehl1->Click += gcnew EventHandler(this, &Form1::tvKontextmenue_Click);
			treeKontextmenue->Items->Add(menuebefehl1);
			ToolStripMenuItem^ menuebefehl2 = gcnew ToolStripMenuItem();
			menuebefehl2->Text = "Knoten reduzieren";
			menuebefehl2->Click += gcnew EventHandler(this, &Form1::tvKontextmenue_Click);
			treeKontextmenue->Items->Add(menuebefehl2);

			// Das Kontextmenü an die Knoten der ersten Ebene zuweisen
			for each (TreeNode^ n in treeView1->Nodes)
				n->ContextMenuStrip = treeKontextmenue;

#pragma endregion

#pragma region WebBrowser
			webBrowser1->Url = gcnew Uri("http:\\\\www.cia.gov");
#pragma endregion

		}

	protected:
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::TabControl^  tabControl1;
	private: System::Windows::Forms::TabPage^  tp_Button;
	private: System::Windows::Forms::TabPage^  tp_CheckBox;
	private: System::Windows::Forms::TabPage^  tp_CheckedListBox;
	private: System::Windows::Forms::TabPage^  tp_ComboBox;
	private: System::Windows::Forms::TabPage^  tp_DataGridView;
	private: System::Windows::Forms::TabPage^  tp_DateTimePicker;
	private: System::Windows::Forms::TabPage^  tp_ScrollBar;
	private: System::Windows::Forms::TabPage^  tp_Label;
	private: System::Windows::Forms::TabPage^  tp_LinkLabel;
	private: System::Windows::Forms::TabPage^  tp_ListBox;
	private: System::Windows::Forms::TabPage^  tp_ListView;
	private: System::Windows::Forms::TabPage^  tp_MaskedTextBox;
	private: System::Windows::Forms::TabPage^  tp_MonthCalendar;
	private: System::Windows::Forms::TabPage^  tp_NumericUpDown;
	private: System::Windows::Forms::TabPage^  tp_Panel;
	private: System::Windows::Forms::TabPage^  tp_PictureBox;
	private: System::Windows::Forms::TabPage^  tp_ProgressBar;
	private: System::Windows::Forms::TabPage^  tp_RadioButton;

	private: System::Windows::Forms::TabPage^  tp_SplitContainer;
	private: System::Windows::Forms::TabPage^  tp_TextBox;
	private: System::Windows::Forms::TabPage^  tp_TrackBar;
	private: System::Windows::Forms::TabPage^  tp_TreeView;
	private: System::Windows::Forms::TabPage^  tp_WebBrowser;
	private: System::Windows::Forms::TabPage^  tp_GroupBox;

	private: System::Windows::Forms::ImageList^  imageList1;
	private: System::Windows::Forms::Button^  btn_tbLabel;
	private: System::Windows::Forms::Button^  button2;
	private: System::Windows::Forms::Button^  button1;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::Button^  btn_tpCheckBox;
	private: System::Windows::Forms::CheckBox^  checkBox3;
	private: System::Windows::Forms::CheckBox^  checkBox2;
	private: System::Windows::Forms::CheckBox^  checkBox1;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::ListBox^  listBox2;
	private: System::Windows::Forms::ListBox^  listBox1;
	private: System::Windows::Forms::Button^  btn2_tp_ListBox;
	private: System::Windows::Forms::Button^  btn1_tp_ListBox;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::Button^  btn_tpCheckedListBox;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::CheckedListBox^  checkedListBox1;
	private: System::Windows::Forms::DataGridView^  dataGridView1;
	private: System::Windows::Forms::Button^  btn_tpDataGridView;
	private: System::Windows::Forms::ComboBox^  comboBox1;
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::Button^  btn_tpComboBox;
	private: System::Windows::Forms::DateTimePicker^  dateTimePicker1;
	private: System::Windows::Forms::GroupBox^  groupBox1;
	private: System::Windows::Forms::GroupBox^  groupBox2;
	private: System::Windows::Forms::Label^  label9;
	private: System::Windows::Forms::Label^  label8;
	private: System::Windows::Forms::Label^  label7;
	private: System::Windows::Forms::Label^  label6;
	private: System::Windows::Forms::Label^  label10;
	private: System::Windows::Forms::Label^  label11;
	private: System::Windows::Forms::Label^  label12;
	private: System::Windows::Forms::Label^  label13;
	private: System::Windows::Forms::ListView^  listView1;
	private: System::Windows::Forms::Label^  label15;
	private: System::Windows::Forms::Label^  label14;
	private: System::Windows::Forms::ListView^  listView2;
	private: System::Windows::Forms::ImageList^  imageList_ListViewLarge;
	private: System::Windows::Forms::ImageList^  imageList_ListViewSmall;
	private: System::Windows::Forms::Label^  label16;
	private: System::Windows::Forms::MaskedTextBox^  maskedTextBox1;
	private: System::Windows::Forms::MonthCalendar^  monthCalendar1;
	private: System::Windows::Forms::NumericUpDown^  numericUpDown1;
	private: System::Windows::Forms::Panel^  panel2;
	private: System::Windows::Forms::Label^  label18;
	private: System::Windows::Forms::Panel^  panel1;
	private: System::Windows::Forms::Label^  label17;
	private: System::Windows::Forms::PictureBox^  pictureBox1;
	private: System::Windows::Forms::Button^  btn_tpProgressBar;
	private: System::Windows::Forms::ProgressBar^  progressBar1;
	private: System::ComponentModel::BackgroundWorker^  backgroundWorker1;
	private: System::Windows::Forms::WebBrowser^  webBrowser1;
	private: System::Windows::Forms::GroupBox^  gp_HFarbe;

	private: System::Windows::Forms::GroupBox^  gp_VFarbe;
	private: System::Windows::Forms::RadioButton^  radioButton6;
	private: System::Windows::Forms::RadioButton^  radioButton5;
	private: System::Windows::Forms::RadioButton^  radioButton4;
	private: System::Windows::Forms::RadioButton^  radioButton3;
	private: System::Windows::Forms::RadioButton^  radioButton2;
	private: System::Windows::Forms::RadioButton^  radioButton1;
	private: System::Windows::Forms::Button^  button3;
	private: System::Windows::Forms::PictureBox^  pictureBox2;
	private: System::Windows::Forms::SplitContainer^  splitContainer1;
	private: System::Windows::Forms::TextBox^  tb_Kommentar;

	private: System::Windows::Forms::TextBox^  tb_Passwort;

	private: System::Windows::Forms::TextBox^  tb_Name;

	private: System::Windows::Forms::Button^  button4;
	private: System::Windows::Forms::Label^  label21;
	private: System::Windows::Forms::Label^  label20;
	private: System::Windows::Forms::Label^  label19;
	private: System::Windows::Forms::Button^  button5;
	private: System::Windows::Forms::TrackBar^  trackBar1;
	private: System::Windows::Forms::TreeView^  treeView1;










	private: System::ComponentModel::IContainer^  components;


	private:
		/// <summary>
		/// Erforderliche Designervariable.
		/// </summary>


#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->components = (gcnew System::ComponentModel::Container());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
			this->tp_Button = (gcnew System::Windows::Forms::TabPage());
			this->button2 = (gcnew System::Windows::Forms::Button());
			this->button1 = (gcnew System::Windows::Forms::Button());
			this->tp_CheckBox = (gcnew System::Windows::Forms::TabPage());
			this->btn_tpCheckBox = (gcnew System::Windows::Forms::Button());
			this->checkBox3 = (gcnew System::Windows::Forms::CheckBox());
			this->checkBox2 = (gcnew System::Windows::Forms::CheckBox());
			this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->tp_CheckedListBox = (gcnew System::Windows::Forms::TabPage());
			this->btn_tpCheckedListBox = (gcnew System::Windows::Forms::Button());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->checkedListBox1 = (gcnew System::Windows::Forms::CheckedListBox());
			this->tp_ComboBox = (gcnew System::Windows::Forms::TabPage());
			this->btn_tpComboBox = (gcnew System::Windows::Forms::Button());
			this->comboBox1 = (gcnew System::Windows::Forms::ComboBox());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->tp_DataGridView = (gcnew System::Windows::Forms::TabPage());
			this->btn_tpDataGridView = (gcnew System::Windows::Forms::Button());
			this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
			this->tp_DateTimePicker = (gcnew System::Windows::Forms::TabPage());
			this->dateTimePicker1 = (gcnew System::Windows::Forms::DateTimePicker());
			this->tp_GroupBox = (gcnew System::Windows::Forms::TabPage());
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			this->label9 = (gcnew System::Windows::Forms::Label());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->label7 = (gcnew System::Windows::Forms::Label());
			this->label6 = (gcnew System::Windows::Forms::Label());
			this->tp_Label = (gcnew System::Windows::Forms::TabPage());
			this->btn_tbLabel = (gcnew System::Windows::Forms::Button());
			this->tp_LinkLabel = (gcnew System::Windows::Forms::TabPage());
			this->tp_ListBox = (gcnew System::Windows::Forms::TabPage());
			this->btn2_tp_ListBox = (gcnew System::Windows::Forms::Button());
			this->btn1_tp_ListBox = (gcnew System::Windows::Forms::Button());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->listBox2 = (gcnew System::Windows::Forms::ListBox());
			this->listBox1 = (gcnew System::Windows::Forms::ListBox());
			this->tp_ListView = (gcnew System::Windows::Forms::TabPage());
			this->label15 = (gcnew System::Windows::Forms::Label());
			this->label14 = (gcnew System::Windows::Forms::Label());
			this->listView2 = (gcnew System::Windows::Forms::ListView());
			this->listView1 = (gcnew System::Windows::Forms::ListView());
			this->tp_MaskedTextBox = (gcnew System::Windows::Forms::TabPage());
			this->label16 = (gcnew System::Windows::Forms::Label());
			this->maskedTextBox1 = (gcnew System::Windows::Forms::MaskedTextBox());
			this->tp_MonthCalendar = (gcnew System::Windows::Forms::TabPage());
			this->monthCalendar1 = (gcnew System::Windows::Forms::MonthCalendar());
			this->tp_NumericUpDown = (gcnew System::Windows::Forms::TabPage());
			this->numericUpDown1 = (gcnew System::Windows::Forms::NumericUpDown());
			this->tp_Panel = (gcnew System::Windows::Forms::TabPage());
			this->panel2 = (gcnew System::Windows::Forms::Panel());
			this->label18 = (gcnew System::Windows::Forms::Label());
			this->panel1 = (gcnew System::Windows::Forms::Panel());
			this->label17 = (gcnew System::Windows::Forms::Label());
			this->tp_PictureBox = (gcnew System::Windows::Forms::TabPage());
			this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
			this->tp_ProgressBar = (gcnew System::Windows::Forms::TabPage());
			this->btn_tpProgressBar = (gcnew System::Windows::Forms::Button());
			this->progressBar1 = (gcnew System::Windows::Forms::ProgressBar());
			this->tp_RadioButton = (gcnew System::Windows::Forms::TabPage());
			this->button3 = (gcnew System::Windows::Forms::Button());
			this->gp_HFarbe = (gcnew System::Windows::Forms::GroupBox());
			this->gp_VFarbe = (gcnew System::Windows::Forms::GroupBox());
			this->tp_ScrollBar = (gcnew System::Windows::Forms::TabPage());
			this->pictureBox2 = (gcnew System::Windows::Forms::PictureBox());
			this->tp_SplitContainer = (gcnew System::Windows::Forms::TabPage());
			this->splitContainer1 = (gcnew System::Windows::Forms::SplitContainer());
			this->tp_TextBox = (gcnew System::Windows::Forms::TabPage());
			this->tb_Kommentar = (gcnew System::Windows::Forms::TextBox());
			this->tb_Passwort = (gcnew System::Windows::Forms::TextBox());
			this->tb_Name = (gcnew System::Windows::Forms::TextBox());
			this->button4 = (gcnew System::Windows::Forms::Button());
			this->label21 = (gcnew System::Windows::Forms::Label());
			this->label20 = (gcnew System::Windows::Forms::Label());
			this->label19 = (gcnew System::Windows::Forms::Label());
			this->tp_TrackBar = (gcnew System::Windows::Forms::TabPage());
			this->button5 = (gcnew System::Windows::Forms::Button());
			this->trackBar1 = (gcnew System::Windows::Forms::TrackBar());
			this->tp_TreeView = (gcnew System::Windows::Forms::TabPage());
			this->treeView1 = (gcnew System::Windows::Forms::TreeView());
			this->tp_WebBrowser = (gcnew System::Windows::Forms::TabPage());
			this->webBrowser1 = (gcnew System::Windows::Forms::WebBrowser());
			this->imageList1 = (gcnew System::Windows::Forms::ImageList(this->components));
			this->label10 = (gcnew System::Windows::Forms::Label());
			this->label11 = (gcnew System::Windows::Forms::Label());
			this->label12 = (gcnew System::Windows::Forms::Label());
			this->label13 = (gcnew System::Windows::Forms::Label());
			this->imageList_ListViewLarge = (gcnew System::Windows::Forms::ImageList(this->components));
			this->imageList_ListViewSmall = (gcnew System::Windows::Forms::ImageList(this->components));
			this->backgroundWorker1 = (gcnew System::ComponentModel::BackgroundWorker());
			this->radioButton1 = (gcnew System::Windows::Forms::RadioButton());
			this->radioButton2 = (gcnew System::Windows::Forms::RadioButton());
			this->radioButton3 = (gcnew System::Windows::Forms::RadioButton());
			this->radioButton4 = (gcnew System::Windows::Forms::RadioButton());
			this->radioButton5 = (gcnew System::Windows::Forms::RadioButton());
			this->radioButton6 = (gcnew System::Windows::Forms::RadioButton());
			this->tabControl1->SuspendLayout();
			this->tp_Button->SuspendLayout();
			this->tp_CheckBox->SuspendLayout();
			this->tp_CheckedListBox->SuspendLayout();
			this->tp_ComboBox->SuspendLayout();
			this->tp_DataGridView->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->BeginInit();
			this->tp_DateTimePicker->SuspendLayout();
			this->tp_GroupBox->SuspendLayout();
			this->groupBox1->SuspendLayout();
			this->tp_Label->SuspendLayout();
			this->tp_ListBox->SuspendLayout();
			this->tp_ListView->SuspendLayout();
			this->tp_MaskedTextBox->SuspendLayout();
			this->tp_MonthCalendar->SuspendLayout();
			this->tp_NumericUpDown->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown1))->BeginInit();
			this->tp_Panel->SuspendLayout();
			this->panel2->SuspendLayout();
			this->panel1->SuspendLayout();
			this->tp_PictureBox->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->BeginInit();
			this->tp_ProgressBar->SuspendLayout();
			this->tp_RadioButton->SuspendLayout();
			this->tp_ScrollBar->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox2))->BeginInit();
			this->tp_SplitContainer->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->splitContainer1))->BeginInit();
			this->splitContainer1->SuspendLayout();
			this->tp_TextBox->SuspendLayout();
			this->tp_TrackBar->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->trackBar1))->BeginInit();
			this->tp_TreeView->SuspendLayout();
			this->tp_WebBrowser->SuspendLayout();
			this->SuspendLayout();
			// 
			// tabControl1
			// 
			this->tabControl1->Controls->Add(this->tp_Button);
			this->tabControl1->Controls->Add(this->tp_CheckBox);
			this->tabControl1->Controls->Add(this->tp_CheckedListBox);
			this->tabControl1->Controls->Add(this->tp_ComboBox);
			this->tabControl1->Controls->Add(this->tp_DataGridView);
			this->tabControl1->Controls->Add(this->tp_DateTimePicker);
			this->tabControl1->Controls->Add(this->tp_GroupBox);
			this->tabControl1->Controls->Add(this->tp_Label);
			this->tabControl1->Controls->Add(this->tp_LinkLabel);
			this->tabControl1->Controls->Add(this->tp_ListBox);
			this->tabControl1->Controls->Add(this->tp_ListView);
			this->tabControl1->Controls->Add(this->tp_MaskedTextBox);
			this->tabControl1->Controls->Add(this->tp_MonthCalendar);
			this->tabControl1->Controls->Add(this->tp_NumericUpDown);
			this->tabControl1->Controls->Add(this->tp_Panel);
			this->tabControl1->Controls->Add(this->tp_PictureBox);
			this->tabControl1->Controls->Add(this->tp_ProgressBar);
			this->tabControl1->Controls->Add(this->tp_RadioButton);
			this->tabControl1->Controls->Add(this->tp_ScrollBar);
			this->tabControl1->Controls->Add(this->tp_SplitContainer);
			this->tabControl1->Controls->Add(this->tp_TextBox);
			this->tabControl1->Controls->Add(this->tp_TrackBar);
			this->tabControl1->Controls->Add(this->tp_TreeView);
			this->tabControl1->Controls->Add(this->tp_WebBrowser);
			this->tabControl1->Dock = System::Windows::Forms::DockStyle::Fill;
			this->tabControl1->Location = System::Drawing::Point(0, 0);
			this->tabControl1->Multiline = true;
			this->tabControl1->Name = L"tabControl1";
			this->tabControl1->SelectedIndex = 0;
			this->tabControl1->Size = System::Drawing::Size(640, 304);
			this->tabControl1->TabIndex = 0;
			// 
			// tp_Button
			// 
			this->tp_Button->Controls->Add(this->button2);
			this->tp_Button->Controls->Add(this->button1);
			this->tp_Button->Location = System::Drawing::Point(4, 58);
			this->tp_Button->Name = L"tp_Button";
			this->tp_Button->Padding = System::Windows::Forms::Padding(3);
			this->tp_Button->Size = System::Drawing::Size(632, 242);
			this->tp_Button->TabIndex = 0;
			this->tp_Button->Text = L"Button";
			this->tp_Button->UseVisualStyleBackColor = true;
			// 
			// button2
			// 
			this->button2->Location = System::Drawing::Point(223, 111);
			this->button2->Name = L"button2";
			this->button2->Size = System::Drawing::Size(186, 32);
			this->button2->TabIndex = 1;
			this->button2->Text = L"button2";
			this->button2->UseVisualStyleBackColor = true;
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(223, 73);
			this->button1->Name = L"button1";
			this->button1->Size = System::Drawing::Size(186, 23);
			this->button1->TabIndex = 0;
			this->button1->Text = L"button1";
			this->button1->UseVisualStyleBackColor = true;
			// 
			// tp_CheckBox
			// 
			this->tp_CheckBox->Controls->Add(this->btn_tpCheckBox);
			this->tp_CheckBox->Controls->Add(this->checkBox3);
			this->tp_CheckBox->Controls->Add(this->checkBox2);
			this->tp_CheckBox->Controls->Add(this->checkBox1);
			this->tp_CheckBox->Controls->Add(this->label1);
			this->tp_CheckBox->Location = System::Drawing::Point(4, 58);
			this->tp_CheckBox->Name = L"tp_CheckBox";
			this->tp_CheckBox->Padding = System::Windows::Forms::Padding(3);
			this->tp_CheckBox->Size = System::Drawing::Size(632, 242);
			this->tp_CheckBox->TabIndex = 1;
			this->tp_CheckBox->Text = L"CheckBox";
			this->tp_CheckBox->UseVisualStyleBackColor = true;
			// 
			// btn_tpCheckBox
			// 
			this->btn_tpCheckBox->Location = System::Drawing::Point(227, 173);
			this->btn_tpCheckBox->Name = L"btn_tpCheckBox";
			this->btn_tpCheckBox->Size = System::Drawing::Size(75, 23);
			this->btn_tpCheckBox->TabIndex = 4;
			this->btn_tpCheckBox->Text = L"Auswerten";
			this->btn_tpCheckBox->UseVisualStyleBackColor = true;
			this->btn_tpCheckBox->Click += gcnew System::EventHandler(this, &Form1::btn_tpCheckBox_Click);
			// 
			// checkBox3
			// 
			this->checkBox3->AutoSize = true;
			this->checkBox3->Location = System::Drawing::Point(227, 132);
			this->checkBox3->Name = L"checkBox3";
			this->checkBox3->Size = System::Drawing::Size(80, 17);
			this->checkBox3->TabIndex = 3;
			this->checkBox3->Text = L"checkBox3";
			this->checkBox3->UseVisualStyleBackColor = true;
			// 
			// checkBox2
			// 
			this->checkBox2->AutoSize = true;
			this->checkBox2->Location = System::Drawing::Point(227, 108);
			this->checkBox2->Name = L"checkBox2";
			this->checkBox2->Size = System::Drawing::Size(80, 17);
			this->checkBox2->TabIndex = 2;
			this->checkBox2->Text = L"checkBox2";
			this->checkBox2->UseVisualStyleBackColor = true;
			// 
			// checkBox1
			// 
			this->checkBox1->AutoSize = true;
			this->checkBox1->Location = System::Drawing::Point(227, 84);
			this->checkBox1->Name = L"checkBox1";
			this->checkBox1->Size = System::Drawing::Size(80, 17);
			this->checkBox1->TabIndex = 1;
			this->checkBox1->Text = L"checkBox1";
			this->checkBox1->UseVisualStyleBackColor = true;
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(177, 52);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(112, 13);
			this->label1->TabIndex = 0;
			this->label1->Text = L"Beschreiben Sie sich: ";
			// 
			// tp_CheckedListBox
			// 
			this->tp_CheckedListBox->Controls->Add(this->btn_tpCheckedListBox);
			this->tp_CheckedListBox->Controls->Add(this->label4);
			this->tp_CheckedListBox->Controls->Add(this->checkedListBox1);
			this->tp_CheckedListBox->Location = System::Drawing::Point(4, 58);
			this->tp_CheckedListBox->Name = L"tp_CheckedListBox";
			this->tp_CheckedListBox->Size = System::Drawing::Size(632, 242);
			this->tp_CheckedListBox->TabIndex = 2;
			this->tp_CheckedListBox->Text = L"CheckedListBox";
			this->tp_CheckedListBox->UseVisualStyleBackColor = true;
			// 
			// btn_tpCheckedListBox
			// 
			this->btn_tpCheckedListBox->Location = System::Drawing::Point(230, 178);
			this->btn_tpCheckedListBox->Name = L"btn_tpCheckedListBox";
			this->btn_tpCheckedListBox->Size = System::Drawing::Size(75, 23);
			this->btn_tpCheckedListBox->TabIndex = 2;
			this->btn_tpCheckedListBox->Text = L"Auswerten";
			this->btn_tpCheckedListBox->UseVisualStyleBackColor = true;
			this->btn_tpCheckedListBox->Click += gcnew System::EventHandler(this, &Form1::btn_tpCheckedListBox_Click);
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Location = System::Drawing::Point(60, 38);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(249, 13);
			this->label4->TabIndex = 1;
			this->label4->Text = L"Welche Eigenschaften beschreiben Sie am besten:";
			// 
			// checkedListBox1
			// 
			this->checkedListBox1->FormattingEnabled = true;
			this->checkedListBox1->Location = System::Drawing::Point(230, 68);
			this->checkedListBox1->Name = L"checkedListBox1";
			this->checkedListBox1->Size = System::Drawing::Size(172, 94);
			this->checkedListBox1->TabIndex = 0;
			// 
			// tp_ComboBox
			// 
			this->tp_ComboBox->Controls->Add(this->btn_tpComboBox);
			this->tp_ComboBox->Controls->Add(this->comboBox1);
			this->tp_ComboBox->Controls->Add(this->label5);
			this->tp_ComboBox->Location = System::Drawing::Point(4, 58);
			this->tp_ComboBox->Name = L"tp_ComboBox";
			this->tp_ComboBox->Size = System::Drawing::Size(632, 242);
			this->tp_ComboBox->TabIndex = 3;
			this->tp_ComboBox->Text = L"ComboBox";
			this->tp_ComboBox->UseVisualStyleBackColor = true;
			// 
			// btn_tpComboBox
			// 
			this->btn_tpComboBox->Location = System::Drawing::Point(219, 133);
			this->btn_tpComboBox->Name = L"btn_tpComboBox";
			this->btn_tpComboBox->Size = System::Drawing::Size(157, 23);
			this->btn_tpComboBox->TabIndex = 2;
			this->btn_tpComboBox->Text = L"Auswerten";
			this->btn_tpComboBox->UseVisualStyleBackColor = true;
			this->btn_tpComboBox->Click += gcnew System::EventHandler(this, &Form1::btn_tpComboBox_Click);
			// 
			// comboBox1
			// 
			this->comboBox1->FormattingEnabled = true;
			this->comboBox1->Location = System::Drawing::Point(219, 75);
			this->comboBox1->Name = L"comboBox1";
			this->comboBox1->Size = System::Drawing::Size(157, 21);
			this->comboBox1->TabIndex = 1;
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Location = System::Drawing::Point(104, 50);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(228, 13);
			this->label5->TabIndex = 0;
			this->label5->Text = L"Welche Eigenschaft beschreibt Sie am besten:";
			// 
			// tp_DataGridView
			// 
			this->tp_DataGridView->Controls->Add(this->btn_tpDataGridView);
			this->tp_DataGridView->Controls->Add(this->dataGridView1);
			this->tp_DataGridView->Location = System::Drawing::Point(4, 58);
			this->tp_DataGridView->Name = L"tp_DataGridView";
			this->tp_DataGridView->Size = System::Drawing::Size(632, 242);
			this->tp_DataGridView->TabIndex = 4;
			this->tp_DataGridView->Text = L"DataGridView";
			this->tp_DataGridView->UseVisualStyleBackColor = true;
			// 
			// btn_tpDataGridView
			// 
			this->btn_tpDataGridView->AutoSize = true;
			this->btn_tpDataGridView->Location = System::Drawing::Point(265, 193);
			this->btn_tpDataGridView->Name = L"btn_tpDataGridView";
			this->btn_tpDataGridView->Size = System::Drawing::Size(103, 23);
			this->btn_tpDataGridView->TabIndex = 1;
			this->btn_tpDataGridView->Text = L"In Datei schreiben";
			this->btn_tpDataGridView->UseVisualStyleBackColor = true;
			this->btn_tpDataGridView->Click += gcnew System::EventHandler(this, &Form1::btn_tpDataGridView_Click);
			// 
			// dataGridView1
			// 
			this->dataGridView1->Location = System::Drawing::Point(54, 24);
			this->dataGridView1->Name = L"dataGridView1";
			this->dataGridView1->Size = System::Drawing::Size(525, 150);
			this->dataGridView1->TabIndex = 0;
			// 
			// tp_DateTimePicker
			// 
			this->tp_DateTimePicker->Controls->Add(this->dateTimePicker1);
			this->tp_DateTimePicker->Location = System::Drawing::Point(4, 58);
			this->tp_DateTimePicker->Name = L"tp_DateTimePicker";
			this->tp_DateTimePicker->Size = System::Drawing::Size(632, 242);
			this->tp_DateTimePicker->TabIndex = 5;
			this->tp_DateTimePicker->Text = L"DateTimePicker";
			this->tp_DateTimePicker->UseVisualStyleBackColor = true;
			// 
			// dateTimePicker1
			// 
			this->dateTimePicker1->Location = System::Drawing::Point(216, 70);
			this->dateTimePicker1->Name = L"dateTimePicker1";
			this->dateTimePicker1->Size = System::Drawing::Size(200, 20);
			this->dateTimePicker1->TabIndex = 0;
			// 
			// tp_GroupBox
			// 
			this->tp_GroupBox->Controls->Add(this->groupBox2);
			this->tp_GroupBox->Controls->Add(this->groupBox1);
			this->tp_GroupBox->Location = System::Drawing::Point(4, 58);
			this->tp_GroupBox->Name = L"tp_GroupBox";
			this->tp_GroupBox->Size = System::Drawing::Size(632, 242);
			this->tp_GroupBox->TabIndex = 25;
			this->tp_GroupBox->Text = L"GroupBox";
			this->tp_GroupBox->UseVisualStyleBackColor = true;
			// 
			// groupBox2
			// 
			this->groupBox2->Location = System::Drawing::Point(362, 54);
			this->groupBox2->Name = L"groupBox2";
			this->groupBox2->Size = System::Drawing::Size(200, 135);
			this->groupBox2->TabIndex = 1;
			this->groupBox2->TabStop = false;
			// 
			// groupBox1
			// 
			this->groupBox1->Controls->Add(this->label9);
			this->groupBox1->Controls->Add(this->label8);
			this->groupBox1->Controls->Add(this->label7);
			this->groupBox1->Controls->Add(this->label6);
			this->groupBox1->Location = System::Drawing::Point(71, 54);
			this->groupBox1->Name = L"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(200, 135);
			this->groupBox1->TabIndex = 0;
			this->groupBox1->TabStop = false;
			this->groupBox1->Text = L"Team A";
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Location = System::Drawing::Point(22, 110);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(74, 13);
			this->label9->TabIndex = 3;
			this->label9->Text = L"William Turner";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Location = System::Drawing::Point(22, 80);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(90, 13);
			this->label8->TabIndex = 2;
			this->label8->Text = L"Toulouse Lautrec";
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Location = System::Drawing::Point(22, 50);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(79, 13);
			this->label7->TabIndex = 1;
			this->label7->Text = L"Edvard Hopper";
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Location = System::Drawing::Point(22, 20);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(93, 13);
			this->label6->TabIndex = 0;
			this->label6->Text = L"Leonardo da Vinci";
			// 
			// tp_Label
			// 
			this->tp_Label->Controls->Add(this->btn_tbLabel);
			this->tp_Label->Location = System::Drawing::Point(4, 58);
			this->tp_Label->Name = L"tp_Label";
			this->tp_Label->Size = System::Drawing::Size(632, 242);
			this->tp_Label->TabIndex = 8;
			this->tp_Label->Text = L"Label";
			this->tp_Label->UseVisualStyleBackColor = true;
			// 
			// btn_tbLabel
			// 
			this->btn_tbLabel->Location = System::Drawing::Point(395, 184);
			this->btn_tbLabel->Name = L"btn_tbLabel";
			this->btn_tbLabel->Size = System::Drawing::Size(142, 23);
			this->btn_tbLabel->TabIndex = 0;
			this->btn_tbLabel->Text = L"Rahmen einblenden";
			this->btn_tbLabel->UseVisualStyleBackColor = true;
			this->btn_tbLabel->Click += gcnew System::EventHandler(this, &Form1::btn_tbLabel_Click);
			// 
			// tp_LinkLabel
			// 
			this->tp_LinkLabel->Location = System::Drawing::Point(4, 58);
			this->tp_LinkLabel->Name = L"tp_LinkLabel";
			this->tp_LinkLabel->Size = System::Drawing::Size(632, 242);
			this->tp_LinkLabel->TabIndex = 9;
			this->tp_LinkLabel->Text = L"LinkLabel";
			this->tp_LinkLabel->UseVisualStyleBackColor = true;
			// 
			// tp_ListBox
			// 
			this->tp_ListBox->Controls->Add(this->btn2_tp_ListBox);
			this->tp_ListBox->Controls->Add(this->btn1_tp_ListBox);
			this->tp_ListBox->Controls->Add(this->label3);
			this->tp_ListBox->Controls->Add(this->label2);
			this->tp_ListBox->Controls->Add(this->listBox2);
			this->tp_ListBox->Controls->Add(this->listBox1);
			this->tp_ListBox->Location = System::Drawing::Point(4, 58);
			this->tp_ListBox->Name = L"tp_ListBox";
			this->tp_ListBox->Size = System::Drawing::Size(632, 242);
			this->tp_ListBox->TabIndex = 10;
			this->tp_ListBox->Text = L"ListBox";
			this->tp_ListBox->UseVisualStyleBackColor = true;
			// 
			// btn2_tp_ListBox
			// 
			this->btn2_tp_ListBox->Location = System::Drawing::Point(454, 169);
			this->btn2_tp_ListBox->Name = L"btn2_tp_ListBox";
			this->btn2_tp_ListBox->Size = System::Drawing::Size(75, 23);
			this->btn2_tp_ListBox->TabIndex = 5;
			this->btn2_tp_ListBox->Text = L"Auswerten";
			this->btn2_tp_ListBox->UseVisualStyleBackColor = true;
			this->btn2_tp_ListBox->Click += gcnew System::EventHandler(this, &Form1::btn2_tp_ListBox_Click);
			// 
			// btn1_tp_ListBox
			// 
			this->btn1_tp_ListBox->Location = System::Drawing::Point(141, 169);
			this->btn1_tp_ListBox->Name = L"btn1_tp_ListBox";
			this->btn1_tp_ListBox->Size = System::Drawing::Size(75, 23);
			this->btn1_tp_ListBox->TabIndex = 4;
			this->btn1_tp_ListBox->Text = L"Auswerten";
			this->btn1_tp_ListBox->UseVisualStyleBackColor = true;
			this->btn1_tp_ListBox->Click += gcnew System::EventHandler(this, &Form1::btn1_tp_ListBox_Click);
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Location = System::Drawing::Point(349, 42);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(178, 13);
			this->label3->TabIndex = 3;
			this->label3->Text = L"Wählen Sie Ihren Lieblingsdarsteller:";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(21, 42);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(249, 13);
			this->label2->TabIndex = 2;
			this->label2->Text = L"Welche Eigenschaften beschreiben Sie am besten:";
			// 
			// listBox2
			// 
			this->listBox2->FormattingEnabled = true;
			this->listBox2->Location = System::Drawing::Point(454, 67);
			this->listBox2->Name = L"listBox2";
			this->listBox2->Size = System::Drawing::Size(147, 95);
			this->listBox2->TabIndex = 1;
			// 
			// listBox1
			// 
			this->listBox1->FormattingEnabled = true;
			this->listBox1->Location = System::Drawing::Point(141, 67);
			this->listBox1->Name = L"listBox1";
			this->listBox1->Size = System::Drawing::Size(140, 95);
			this->listBox1->TabIndex = 0;
			// 
			// tp_ListView
			// 
			this->tp_ListView->Controls->Add(this->label15);
			this->tp_ListView->Controls->Add(this->label14);
			this->tp_ListView->Controls->Add(this->listView2);
			this->tp_ListView->Controls->Add(this->listView1);
			this->tp_ListView->Location = System::Drawing::Point(4, 58);
			this->tp_ListView->Name = L"tp_ListView";
			this->tp_ListView->Size = System::Drawing::Size(632, 242);
			this->tp_ListView->TabIndex = 11;
			this->tp_ListView->Text = L"ListView";
			this->tp_ListView->UseVisualStyleBackColor = true;
			// 
			// label15
			// 
			this->label15->AutoSize = true;
			this->label15->Location = System::Drawing::Point(244, 26);
			this->label15->Name = L"label15";
			this->label15->Size = System::Drawing::Size(81, 13);
			this->label15->TabIndex = 3;
			this->label15->Text = L"Komplexe Liste:";
			// 
			// label14
			// 
			this->label14->AutoSize = true;
			this->label14->Location = System::Drawing::Point(65, 26);
			this->label14->Name = L"label14";
			this->label14->Size = System::Drawing::Size(107, 13);
			this->label14->TabIndex = 2;
			this->label14->Text = L"Einfache String-Liste:";
			// 
			// listView2
			// 
			this->listView2->Location = System::Drawing::Point(247, 60);
			this->listView2->Name = L"listView2";
			this->listView2->Size = System::Drawing::Size(304, 97);
			this->listView2->TabIndex = 1;
			this->listView2->UseCompatibleStateImageBehavior = false;
			// 
			// listView1
			// 
			this->listView1->Location = System::Drawing::Point(65, 60);
			this->listView1->Name = L"listView1";
			this->listView1->Size = System::Drawing::Size(133, 97);
			this->listView1->TabIndex = 0;
			this->listView1->UseCompatibleStateImageBehavior = false;
			// 
			// tp_MaskedTextBox
			// 
			this->tp_MaskedTextBox->Controls->Add(this->label16);
			this->tp_MaskedTextBox->Controls->Add(this->maskedTextBox1);
			this->tp_MaskedTextBox->Location = System::Drawing::Point(4, 58);
			this->tp_MaskedTextBox->Name = L"tp_MaskedTextBox";
			this->tp_MaskedTextBox->Size = System::Drawing::Size(632, 242);
			this->tp_MaskedTextBox->TabIndex = 12;
			this->tp_MaskedTextBox->Text = L"MaskedTextBox";
			this->tp_MaskedTextBox->UseVisualStyleBackColor = true;
			// 
			// label16
			// 
			this->label16->AutoSize = true;
			this->label16->Location = System::Drawing::Point(217, 92);
			this->label16->Name = L"label16";
			this->label16->Size = System::Drawing::Size(161, 13);
			this->label16->TabIndex = 1;
			this->label16->Text = L"Geben Sie Ihr Geburtsdatum ein:";
			// 
			// maskedTextBox1
			// 
			this->maskedTextBox1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->maskedTextBox1->Location = System::Drawing::Point(220, 122);
			this->maskedTextBox1->Name = L"maskedTextBox1";
			this->maskedTextBox1->Size = System::Drawing::Size(158, 26);
			this->maskedTextBox1->TabIndex = 0;
			this->maskedTextBox1->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;
			// 
			// tp_MonthCalendar
			// 
			this->tp_MonthCalendar->Controls->Add(this->monthCalendar1);
			this->tp_MonthCalendar->Location = System::Drawing::Point(4, 58);
			this->tp_MonthCalendar->Name = L"tp_MonthCalendar";
			this->tp_MonthCalendar->Size = System::Drawing::Size(632, 242);
			this->tp_MonthCalendar->TabIndex = 13;
			this->tp_MonthCalendar->Text = L"MonthCalendar";
			this->tp_MonthCalendar->UseVisualStyleBackColor = true;
			// 
			// monthCalendar1
			// 
			this->monthCalendar1->Location = System::Drawing::Point(234, 44);
			this->monthCalendar1->Name = L"monthCalendar1";
			this->monthCalendar1->TabIndex = 0;
			// 
			// tp_NumericUpDown
			// 
			this->tp_NumericUpDown->Controls->Add(this->numericUpDown1);
			this->tp_NumericUpDown->Location = System::Drawing::Point(4, 58);
			this->tp_NumericUpDown->Name = L"tp_NumericUpDown";
			this->tp_NumericUpDown->Size = System::Drawing::Size(632, 242);
			this->tp_NumericUpDown->TabIndex = 14;
			this->tp_NumericUpDown->Text = L"NumericUpDown";
			this->tp_NumericUpDown->UseVisualStyleBackColor = true;
			// 
			// numericUpDown1
			// 
			this->numericUpDown1->Location = System::Drawing::Point(256, 111);
			this->numericUpDown1->Name = L"numericUpDown1";
			this->numericUpDown1->Size = System::Drawing::Size(120, 20);
			this->numericUpDown1->TabIndex = 0;
			// 
			// tp_Panel
			// 
			this->tp_Panel->Controls->Add(this->panel2);
			this->tp_Panel->Controls->Add(this->panel1);
			this->tp_Panel->Location = System::Drawing::Point(4, 58);
			this->tp_Panel->Name = L"tp_Panel";
			this->tp_Panel->Size = System::Drawing::Size(632, 242);
			this->tp_Panel->TabIndex = 15;
			this->tp_Panel->Text = L"Panel";
			this->tp_Panel->UseVisualStyleBackColor = true;
			// 
			// panel2
			// 
			this->panel2->BackColor = System::Drawing::Color::RoyalBlue;
			this->panel2->Controls->Add(this->label18);
			this->panel2->Location = System::Drawing::Point(356, 74);
			this->panel2->Name = L"panel2";
			this->panel2->Size = System::Drawing::Size(200, 100);
			this->panel2->TabIndex = 1;
			// 
			// label18
			// 
			this->label18->AutoSize = true;
			this->label18->Location = System::Drawing::Point(15, 12);
			this->label18->Name = L"label18";
			this->label18->Size = System::Drawing::Size(44, 13);
			this->label18->TabIndex = 0;
			this->label18->Text = L"Panel B";
			// 
			// panel1
			// 
			this->panel1->BackColor = System::Drawing::Color::Red;
			this->panel1->Controls->Add(this->label17);
			this->panel1->Location = System::Drawing::Point(77, 74);
			this->panel1->Name = L"panel1";
			this->panel1->Size = System::Drawing::Size(200, 100);
			this->panel1->TabIndex = 0;
			// 
			// label17
			// 
			this->label17->AutoSize = true;
			this->label17->Location = System::Drawing::Point(18, 13);
			this->label17->Name = L"label17";
			this->label17->Size = System::Drawing::Size(44, 13);
			this->label17->TabIndex = 0;
			this->label17->Text = L"Panel A";
			// 
			// tp_PictureBox
			// 
			this->tp_PictureBox->Controls->Add(this->pictureBox1);
			this->tp_PictureBox->Location = System::Drawing::Point(4, 58);
			this->tp_PictureBox->Name = L"tp_PictureBox";
			this->tp_PictureBox->Size = System::Drawing::Size(632, 242);
			this->tp_PictureBox->TabIndex = 16;
			this->tp_PictureBox->Text = L"PictureBox";
			this->tp_PictureBox->UseVisualStyleBackColor = true;
			// 
			// pictureBox1
			// 
			this->pictureBox1->Location = System::Drawing::Point(204, 58);
			this->pictureBox1->Name = L"pictureBox1";
			this->pictureBox1->Size = System::Drawing::Size(225, 127);
			this->pictureBox1->TabIndex = 0;
			this->pictureBox1->TabStop = false;
			// 
			// tp_ProgressBar
			// 
			this->tp_ProgressBar->Controls->Add(this->btn_tpProgressBar);
			this->tp_ProgressBar->Controls->Add(this->progressBar1);
			this->tp_ProgressBar->Location = System::Drawing::Point(4, 58);
			this->tp_ProgressBar->Name = L"tp_ProgressBar";
			this->tp_ProgressBar->Size = System::Drawing::Size(632, 242);
			this->tp_ProgressBar->TabIndex = 17;
			this->tp_ProgressBar->Text = L"ProgressBar";
			this->tp_ProgressBar->UseVisualStyleBackColor = true;
			// 
			// btn_tpProgressBar
			// 
			this->btn_tpProgressBar->Location = System::Drawing::Point(258, 85);
			this->btn_tpProgressBar->Name = L"btn_tpProgressBar";
			this->btn_tpProgressBar->Size = System::Drawing::Size(116, 23);
			this->btn_tpProgressBar->TabIndex = 1;
			this->btn_tpProgressBar->Text = L"Simulation starten";
			this->btn_tpProgressBar->UseVisualStyleBackColor = true;
			this->btn_tpProgressBar->Click += gcnew System::EventHandler(this, &Form1::btn_tpProgressBar_Click);
			// 
			// progressBar1
			// 
			this->progressBar1->Location = System::Drawing::Point(177, 156);
			this->progressBar1->Name = L"progressBar1";
			this->progressBar1->Size = System::Drawing::Size(279, 23);
			this->progressBar1->TabIndex = 0;
			// 
			// tp_RadioButton
			// 
			this->tp_RadioButton->Controls->Add(this->button3);
			this->tp_RadioButton->Controls->Add(this->gp_HFarbe);
			this->tp_RadioButton->Controls->Add(this->gp_VFarbe);
			this->tp_RadioButton->Location = System::Drawing::Point(4, 58);
			this->tp_RadioButton->Name = L"tp_RadioButton";
			this->tp_RadioButton->Size = System::Drawing::Size(632, 242);
			this->tp_RadioButton->TabIndex = 18;
			this->tp_RadioButton->Text = L"RadioButton";
			this->tp_RadioButton->UseVisualStyleBackColor = true;
			// 
			// button3
			// 
			this->button3->Location = System::Drawing::Point(279, 192);
			this->button3->Name = L"button3";
			this->button3->Size = System::Drawing::Size(75, 23);
			this->button3->TabIndex = 2;
			this->button3->Text = L"Auswerten";
			this->button3->UseVisualStyleBackColor = true;
			this->button3->Click += gcnew System::EventHandler(this, &Form1::btn_tpRadioButton_Click);
			// 
			// gp_HFarbe
			// 
			this->gp_HFarbe->Location = System::Drawing::Point(359, 59);
			this->gp_HFarbe->Name = L"gp_HFarbe";
			this->gp_HFarbe->Size = System::Drawing::Size(200, 100);
			this->gp_HFarbe->TabIndex = 1;
			this->gp_HFarbe->TabStop = false;
			this->gp_HFarbe->Text = L"groupBox3";
			// 
			// gp_VFarbe
			// 
			this->gp_VFarbe->Location = System::Drawing::Point(98, 59);
			this->gp_VFarbe->Name = L"gp_VFarbe";
			this->gp_VFarbe->Size = System::Drawing::Size(200, 100);
			this->gp_VFarbe->TabIndex = 0;
			this->gp_VFarbe->TabStop = false;
			this->gp_VFarbe->Text = L"groupBox3";
			// 
			// tp_ScrollBar
			// 
			this->tp_ScrollBar->Controls->Add(this->pictureBox2);
			this->tp_ScrollBar->Location = System::Drawing::Point(4, 58);
			this->tp_ScrollBar->Name = L"tp_ScrollBar";
			this->tp_ScrollBar->Size = System::Drawing::Size(632, 242);
			this->tp_ScrollBar->TabIndex = 6;
			this->tp_ScrollBar->Text = L"ScrollBar";
			this->tp_ScrollBar->UseVisualStyleBackColor = true;
			// 
			// pictureBox2
			// 
			this->pictureBox2->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox2.Image")));
			this->pictureBox2->Location = System::Drawing::Point(32, 33);
			this->pictureBox2->Name = L"pictureBox2";
			this->pictureBox2->Size = System::Drawing::Size(568, 177);
			this->pictureBox2->TabIndex = 0;
			this->pictureBox2->TabStop = false;
			// 
			// tp_SplitContainer
			// 
			this->tp_SplitContainer->Controls->Add(this->splitContainer1);
			this->tp_SplitContainer->Location = System::Drawing::Point(4, 58);
			this->tp_SplitContainer->Name = L"tp_SplitContainer";
			this->tp_SplitContainer->Size = System::Drawing::Size(632, 242);
			this->tp_SplitContainer->TabIndex = 20;
			this->tp_SplitContainer->Text = L"SplitContainer";
			this->tp_SplitContainer->UseVisualStyleBackColor = true;
			// 
			// splitContainer1
			// 
			this->splitContainer1->Dock = System::Windows::Forms::DockStyle::Fill;
			this->splitContainer1->Location = System::Drawing::Point(0, 0);
			this->splitContainer1->Name = L"splitContainer1";
			this->splitContainer1->Size = System::Drawing::Size(632, 242);
			this->splitContainer1->SplitterDistance = 210;
			this->splitContainer1->TabIndex = 0;
			// 
			// tp_TextBox
			// 
			this->tp_TextBox->Controls->Add(this->tb_Kommentar);
			this->tp_TextBox->Controls->Add(this->tb_Passwort);
			this->tp_TextBox->Controls->Add(this->tb_Name);
			this->tp_TextBox->Controls->Add(this->button4);
			this->tp_TextBox->Controls->Add(this->label21);
			this->tp_TextBox->Controls->Add(this->label20);
			this->tp_TextBox->Controls->Add(this->label19);
			this->tp_TextBox->Location = System::Drawing::Point(4, 58);
			this->tp_TextBox->Name = L"tp_TextBox";
			this->tp_TextBox->Size = System::Drawing::Size(632, 242);
			this->tp_TextBox->TabIndex = 21;
			this->tp_TextBox->Text = L"TextBox";
			this->tp_TextBox->UseVisualStyleBackColor = true;
			// 
			// tb_Kommentar
			// 
			this->tb_Kommentar->Location = System::Drawing::Point(221, 80);
			this->tb_Kommentar->Multiline = true;
			this->tb_Kommentar->Name = L"tb_Kommentar";
			this->tb_Kommentar->Size = System::Drawing::Size(348, 100);
			this->tb_Kommentar->TabIndex = 6;
			// 
			// tb_Passwort
			// 
			this->tb_Passwort->Location = System::Drawing::Point(221, 49);
			this->tb_Passwort->Name = L"tb_Passwort";
			this->tb_Passwort->Size = System::Drawing::Size(176, 20);
			this->tb_Passwort->TabIndex = 5;
			this->tb_Passwort->Leave += gcnew System::EventHandler(this, &Form1::tb_Passwort_Leave);
			this->tb_Passwort->MouseDown += gcnew System::Windows::Forms::MouseEventHandler(this, &Form1::tb_Passwort_MouseDown);
			// 
			// tb_Name
			// 
			this->tb_Name->Location = System::Drawing::Point(221, 18);
			this->tb_Name->Name = L"tb_Name";
			this->tb_Name->Size = System::Drawing::Size(176, 20);
			this->tb_Name->TabIndex = 4;
			this->tb_Name->Leave += gcnew System::EventHandler(this, &Form1::tb_Name_Leave);
			this->tb_Name->MouseDown += gcnew System::Windows::Forms::MouseEventHandler(this, &Form1::tb_Name_MouseDown);
			// 
			// button4
			// 
			this->button4->Location = System::Drawing::Point(221, 191);
			this->button4->Name = L"button4";
			this->button4->Size = System::Drawing::Size(75, 23);
			this->button4->TabIndex = 3;
			this->button4->Text = L"Abschicken";
			this->button4->UseVisualStyleBackColor = true;
			this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
			// 
			// label21
			// 
			this->label21->AutoSize = true;
			this->label21->Location = System::Drawing::Point(144, 83);
			this->label21->Name = L"label21";
			this->label21->Size = System::Drawing::Size(60, 13);
			this->label21->TabIndex = 2;
			this->label21->Text = L"Kommentar";
			// 
			// label20
			// 
			this->label20->AutoSize = true;
			this->label20->Location = System::Drawing::Point(154, 52);
			this->label20->Name = L"label20";
			this->label20->Size = System::Drawing::Size(50, 13);
			this->label20->TabIndex = 1;
			this->label20->Text = L"Passwort";
			// 
			// label19
			// 
			this->label19->AutoSize = true;
			this->label19->Location = System::Drawing::Point(169, 21);
			this->label19->Name = L"label19";
			this->label19->Size = System::Drawing::Size(35, 13);
			this->label19->TabIndex = 0;
			this->label19->Text = L"Name";
			// 
			// tp_TrackBar
			// 
			this->tp_TrackBar->Controls->Add(this->button5);
			this->tp_TrackBar->Controls->Add(this->trackBar1);
			this->tp_TrackBar->Location = System::Drawing::Point(4, 58);
			this->tp_TrackBar->Name = L"tp_TrackBar";
			this->tp_TrackBar->Size = System::Drawing::Size(632, 242);
			this->tp_TrackBar->TabIndex = 22;
			this->tp_TrackBar->Text = L"TrackBar";
			this->tp_TrackBar->UseVisualStyleBackColor = true;
			// 
			// button5
			// 
			this->button5->Location = System::Drawing::Point(279, 153);
			this->button5->Name = L"button5";
			this->button5->Size = System::Drawing::Size(75, 23);
			this->button5->TabIndex = 1;
			this->button5->Text = L"Abschicken";
			this->button5->UseVisualStyleBackColor = true;
			this->button5->Click += gcnew System::EventHandler(this, &Form1::button5_Click);
			// 
			// trackBar1
			// 
			this->trackBar1->Location = System::Drawing::Point(206, 86);
			this->trackBar1->Name = L"trackBar1";
			this->trackBar1->Size = System::Drawing::Size(221, 45);
			this->trackBar1->TabIndex = 0;
			// 
			// tp_TreeView
			// 
			this->tp_TreeView->Controls->Add(this->treeView1);
			this->tp_TreeView->Location = System::Drawing::Point(4, 58);
			this->tp_TreeView->Name = L"tp_TreeView";
			this->tp_TreeView->Size = System::Drawing::Size(632, 242);
			this->tp_TreeView->TabIndex = 23;
			this->tp_TreeView->Text = L"TreeView";
			this->tp_TreeView->UseVisualStyleBackColor = true;
			// 
			// treeView1
			// 
			this->treeView1->Location = System::Drawing::Point(206, 54);
			this->treeView1->Name = L"treeView1";
			this->treeView1->Size = System::Drawing::Size(220, 134);
			this->treeView1->TabIndex = 0;
			// 
			// tp_WebBrowser
			// 
			this->tp_WebBrowser->Controls->Add(this->webBrowser1);
			this->tp_WebBrowser->Location = System::Drawing::Point(4, 58);
			this->tp_WebBrowser->Name = L"tp_WebBrowser";
			this->tp_WebBrowser->Size = System::Drawing::Size(632, 242);
			this->tp_WebBrowser->TabIndex = 24;
			this->tp_WebBrowser->Text = L"WebBrowser";
			this->tp_WebBrowser->UseVisualStyleBackColor = true;
			// 
			// webBrowser1
			// 
			this->webBrowser1->Dock = System::Windows::Forms::DockStyle::Fill;
			this->webBrowser1->Location = System::Drawing::Point(0, 0);
			this->webBrowser1->MinimumSize = System::Drawing::Size(20, 20);
			this->webBrowser1->Name = L"webBrowser1";
			this->webBrowser1->Size = System::Drawing::Size(632, 242);
			this->webBrowser1->TabIndex = 0;
			// 
			// imageList1
			// 
			this->imageList1->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^  >(resources->GetObject(L"imageList1.ImageStream")));
			this->imageList1->TransparentColor = System::Drawing::Color::Transparent;
			this->imageList1->Images->SetKeyName(0, L"Symbol01.png");
			this->imageList1->Images->SetKeyName(1, L"Symbol02.jpg");
			// 
			// label10
			// 
			this->label10->AutoSize = true;
			this->label10->Location = System::Drawing::Point(23, 110);
			this->label10->Name = L"label10";
			this->label10->Size = System::Drawing::Size(30, 13);
			this->label10->TabIndex = 7;
			this->label10->Text = L"Marx";
			// 
			// label11
			// 
			this->label11->AutoSize = true;
			this->label11->Location = System::Drawing::Point(23, 80);
			this->label11->Name = L"label11";
			this->label11->Size = System::Drawing::Size(39, 13);
			this->label11->TabIndex = 6;
			this->label11->Text = L"Laotse";
			// 
			// label12
			// 
			this->label12->AutoSize = true;
			this->label12->Location = System::Drawing::Point(23, 50);
			this->label12->Name = L"label12";
			this->label12->Size = System::Drawing::Size(77, 13);
			this->label12->TabIndex = 5;
			this->label12->Text = L"Schopenhauer";
			// 
			// label13
			// 
			this->label13->AutoSize = true;
			this->label13->Location = System::Drawing::Point(23, 20);
			this->label13->Name = L"label13";
			this->label13->Size = System::Drawing::Size(37, 13);
			this->label13->TabIndex = 4;
			this->label13->Text = L"Platon";
			// 
			// imageList_ListViewLarge
			// 
			this->imageList_ListViewLarge->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^  >(resources->GetObject(L"imageList_ListViewLarge.ImageStream")));
			this->imageList_ListViewLarge->TransparentColor = System::Drawing::Color::Transparent;
			this->imageList_ListViewLarge->Images->SetKeyName(0, L"Capital.bmp");
			this->imageList_ListViewLarge->Images->SetKeyName(1, L"City.bmp");
			// 
			// imageList_ListViewSmall
			// 
			this->imageList_ListViewSmall->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^  >(resources->GetObject(L"imageList_ListViewSmall.ImageStream")));
			this->imageList_ListViewSmall->TransparentColor = System::Drawing::Color::Transparent;
			this->imageList_ListViewSmall->Images->SetKeyName(0, L"Capital.bmp");
			this->imageList_ListViewSmall->Images->SetKeyName(1, L"City.bmp");
			// 
			// backgroundWorker1
			// 
			this->backgroundWorker1->DoWork += gcnew System::ComponentModel::DoWorkEventHandler(this, &Form1::backgroundWorker1_DoWork);
			// 
			// radioButton1
			// 
			this->radioButton1->AutoSize = true;
			this->radioButton1->Location = System::Drawing::Point(58, 20);
			this->radioButton1->Name = L"radioButton1";
			this->radioButton1->Size = System::Drawing::Size(85, 17);
			this->radioButton1->TabIndex = 0;
			this->radioButton1->TabStop = true;
			this->radioButton1->Text = L"radioButton1";
			this->radioButton1->UseVisualStyleBackColor = true;
			// 
			// radioButton2
			// 
			this->radioButton2->AutoSize = true;
			this->radioButton2->Location = System::Drawing::Point(58, 48);
			this->radioButton2->Name = L"radioButton2";
			this->radioButton2->Size = System::Drawing::Size(85, 17);
			this->radioButton2->TabIndex = 1;
			this->radioButton2->TabStop = true;
			this->radioButton2->Text = L"radioButton2";
			this->radioButton2->UseVisualStyleBackColor = true;
			// 
			// radioButton3
			// 
			this->radioButton3->AutoSize = true;
			this->radioButton3->Location = System::Drawing::Point(58, 76);
			this->radioButton3->Name = L"radioButton3";
			this->radioButton3->Size = System::Drawing::Size(85, 17);
			this->radioButton3->TabIndex = 2;
			this->radioButton3->TabStop = true;
			this->radioButton3->Text = L"radioButton3";
			this->radioButton3->UseVisualStyleBackColor = true;
			// 
			// radioButton4
			// 
			this->radioButton4->AutoSize = true;
			this->radioButton4->Location = System::Drawing::Point(58, 20);
			this->radioButton4->Name = L"radioButton4";
			this->radioButton4->Size = System::Drawing::Size(85, 17);
			this->radioButton4->TabIndex = 0;
			this->radioButton4->TabStop = true;
			this->radioButton4->Text = L"radioButton4";
			this->radioButton4->UseVisualStyleBackColor = true;
			// 
			// radioButton5
			// 
			this->radioButton5->AutoSize = true;
			this->radioButton5->Location = System::Drawing::Point(58, 48);
			this->radioButton5->Name = L"radioButton5";
			this->radioButton5->Size = System::Drawing::Size(85, 17);
			this->radioButton5->TabIndex = 1;
			this->radioButton5->TabStop = true;
			this->radioButton5->Text = L"radioButton5";
			this->radioButton5->UseVisualStyleBackColor = true;
			// 
			// radioButton6
			// 
			this->radioButton6->AutoSize = true;
			this->radioButton6->Location = System::Drawing::Point(58, 76);
			this->radioButton6->Name = L"radioButton6";
			this->radioButton6->Size = System::Drawing::Size(85, 17);
			this->radioButton6->TabIndex = 2;
			this->radioButton6->TabStop = true;
			this->radioButton6->Text = L"radioButton6";
			this->radioButton6->UseVisualStyleBackColor = true;
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(640, 304);
			this->Controls->Add(this->tabControl1);
			this->Name = L"Form1";
			this->Text = L"Steuerelemente";
			this->tabControl1->ResumeLayout(false);
			this->tp_Button->ResumeLayout(false);
			this->tp_CheckBox->ResumeLayout(false);
			this->tp_CheckBox->PerformLayout();
			this->tp_CheckedListBox->ResumeLayout(false);
			this->tp_CheckedListBox->PerformLayout();
			this->tp_ComboBox->ResumeLayout(false);
			this->tp_ComboBox->PerformLayout();
			this->tp_DataGridView->ResumeLayout(false);
			this->tp_DataGridView->PerformLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->EndInit();
			this->tp_DateTimePicker->ResumeLayout(false);
			this->tp_GroupBox->ResumeLayout(false);
			this->groupBox1->ResumeLayout(false);
			this->groupBox1->PerformLayout();
			this->tp_Label->ResumeLayout(false);
			this->tp_ListBox->ResumeLayout(false);
			this->tp_ListBox->PerformLayout();
			this->tp_ListView->ResumeLayout(false);
			this->tp_ListView->PerformLayout();
			this->tp_MaskedTextBox->ResumeLayout(false);
			this->tp_MaskedTextBox->PerformLayout();
			this->tp_MonthCalendar->ResumeLayout(false);
			this->tp_NumericUpDown->ResumeLayout(false);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown1))->EndInit();
			this->tp_Panel->ResumeLayout(false);
			this->panel2->ResumeLayout(false);
			this->panel2->PerformLayout();
			this->panel1->ResumeLayout(false);
			this->panel1->PerformLayout();
			this->tp_PictureBox->ResumeLayout(false);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->EndInit();
			this->tp_ProgressBar->ResumeLayout(false);
			this->tp_RadioButton->ResumeLayout(false);
			this->tp_ScrollBar->ResumeLayout(false);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox2))->EndInit();
			this->tp_SplitContainer->ResumeLayout(false);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->splitContainer1))->EndInit();
			this->splitContainer1->ResumeLayout(false);
			this->tp_TextBox->ResumeLayout(false);
			this->tp_TextBox->PerformLayout();
			this->tp_TrackBar->ResumeLayout(false);
			this->tp_TrackBar->PerformLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->trackBar1))->EndInit();
			this->tp_TreeView->ResumeLayout(false);
			this->tp_WebBrowser->ResumeLayout(false);
			this->ResumeLayout(false);

		}
#pragma endregion


	private: 
		/*** Button ***/
		void btn_Click(Object^ sender, EventArgs^ e)
		{
			System::Media::SystemSounds::Beep->Play();
		}



		/*** CheckBox ***/
		void btn_tpCheckBox_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			System::Text::StringBuilder ^str = gcnew System::Text::StringBuilder("Sie sind");
			bool first = true;

			for each (Control^ c in this->tp_CheckBox->Controls)
			{
				// CheckBox-Elemente herausfiltern
				CheckBox^ cb = dynamic_cast<CheckBox^>(c);

				if (cb != nullptr && cb->Checked)  
				{
					if (first)
					{
						str->Append(" " + cb->Text);
						first = false;
					}
					else
					{
						str->Append(", " + cb->Text);
					}
				}
			}

			if (!first)
				str->Append(".");
			else
				str->Append(" eine Person ohne besondere Eigenschaften?");

			MessageBox::Show(str->ToString(), "Bestätigung");
		}



		/*** CheckedListBox ***/
		void btn_tpCheckedListBox_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			String^ str = "Sie sind ein";

			if (checkedListBox1->CheckedItems->Count > 0)
			{
				for each (String^ s in checkedListBox1->CheckedItems)
					str += " " + s + "er, ";

				str += "netter Mensch";
			}
			else
				str += " netter Mensch";

			MessageBox::Show(str, "Bestätigung");
		}


		/*** ComboBox ***/
		void btn_tpComboBox_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			String^ str = "Sie sind ein ";

			if (comboBox1->Text != nullptr && comboBox1->Text != "")
			{
				str += comboBox1->Text + "er ";
			}
			str += "Mensch";

			MessageBox::Show(str, "Bestätigung");

		}


		/*** DataGridView ***/
		void btn_tpDataGridView_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			Filmsammlung^ temp = gcnew Filmsammlung();

			String^       titel = "";
			String^       regisseur = "";
			Film::Sprache sprache = Film::Sprache::Deutsch;
			bool          backup = false;

			for each (DataGridViewRow ^zeile in dataGridView1->Rows)
			{
				if (zeile->IsNewRow)
					continue;

				if ((titel = dynamic_cast<String^>(zeile->Cells["TITEL"]->Value)) == nullptr)
					titel = "unbekannt";
				if ((regisseur = dynamic_cast<String^>(zeile->Cells["REGIE"]->Value)) == nullptr)
					regisseur = "unbekannt";
				if (zeile->Cells["SPRACHE"]->Value != nullptr)
					sprache = safe_cast<Film::Sprache>(zeile->Cells["SPRACHE"]->Value);
				else
					sprache = Film::Sprache::Deutsch;
				if (zeile->Cells["BACKUP"]->Value != nullptr)
					backup = safe_cast<bool>(zeile->Cells["BACKUP"]->Value);
				else
					backup = false;

				Film^ f = gcnew Film(titel, regisseur, sprache, backup);

				temp->filmliste->Add(f);
			}

			StreamWriter^ sw = gcnew StreamWriter("filme.xml");
			XmlSerializer^ xs = gcnew XmlSerializer(Filmsammlung::typeid);
			xs->Serialize(sw, temp);
			sw->Close();
		}


		/*** Label ***/
		void btn_tbLabel_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			for each (Control^ c in this->tp_Label->Controls)
			{
				// Label-Elemente herausfiltern
				Label^ lb = dynamic_cast<Label^>(c);

				if (lb != nullptr)  
				{
					lb->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
				}
			}
		}


		/*** LinkLabel ***/
		void ll_Click(Object ^sender,LinkLabelLinkClickedEventArgs ^e)
		{
			System::Diagnostics::Process::Start("www.thecompany.com");
			((LinkLabel^) sender)->LinkVisited = true;
		}




		/*** ListBox ***/
		void btn1_tp_ListBox_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			if (listBox1->SelectionMode == System::Windows::Forms::SelectionMode::One)
			{
				String^ str = "Sie sind ein ";

				if (listBox1->SelectedItem != nullptr)
					str += listBox1->SelectedItem + "er Mensch";
				else
					str += "netter Mensch";

				MessageBox::Show(str, "Bestätigung");
			}
			else if (listBox1->SelectionMode == System::Windows::Forms::SelectionMode::MultiSimple)
			{
				String^ str = "Sie sind ein";

				if (listBox1->SelectedItems->Count > 0)
				{
					for each (String ^s in listBox1->SelectedItems)
						str += " " + s + "er, ";

					str += "netter Mensch";
				}
				else
					str += " netter Mensch";

				MessageBox::Show(str, "Bestätigung");
			}
		}

		void btn2_tp_ListBox_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			String^ str = "";

			if (listBox2->SelectedItem != nullptr)
			{
				Darsteller^ d = dynamic_cast<Darsteller^>(listBox2->SelectedItem);

				str += "Ihr Lieblingsdarsteller ist ";
				str += d->vorname + " " + d->nachname + ", bekannt durch \'" + d->film + "\'.";
			}
			else
				str += "Sie haben keinen Lieblingsdarsteller";

			MessageBox::Show(str, "Lieblingsdarsteller");
		}







		/*** ListView ***/
		void command_Click(Object ^sender, EventArgs ^e)
		{
			ToolStripMenuItem^ mi = dynamic_cast<ToolStripMenuItem^>(sender);
			if (mi != nullptr)
			{
				if (mi->Text == "Kleine Symbole")
					listView2->View = System::Windows::Forms::View::SmallIcon;
				else if (mi->Text == "Große Symbole")
					listView2->View = System::Windows::Forms::View::LargeIcon;
				else if (mi->Text == "Kacheln")
					listView2->View = System::Windows::Forms::View::Tile;
				else if (mi->Text == "Liste")
					listView2->View = System::Windows::Forms::View::List;
				else if (mi->Text == "Details")
					listView2->View = System::Windows::Forms::View::Details;
			}
		}





		/*** ProgressBar ***/
		void backgroundWorker1_DoWork(System::Object^  sender, System::ComponentModel::DoWorkEventArgs^  e) 
		{
			simulate();
		}

		void simulate()
		{
			progressBar1->Value = 0;

			for (int i = 0; i < 35; ++i)
			{
				progressBar1->PerformStep();
				System::Threading::Thread::Sleep(200);
			}
		}

		void btn_tpProgressBar_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			simulate();
		}




		/*** RadioButton ***/
		void btn_tpRadioButton_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			// Vordergrundfarbe
			if (radioButton1->Checked)
				tp_RadioButton->ForeColor = Color::Black;
			if (radioButton2->Checked)
				tp_RadioButton->ForeColor = Color::White;
			if (radioButton3->Checked)
				tp_RadioButton->ForeColor = Color::Red;

			// Hintergrundfarbe
			if (radioButton4->Checked)
				tp_RadioButton->BackColor = SystemColors::Control;
			if (radioButton5->Checked)
				tp_RadioButton->BackColor = Color::White;
			if (radioButton6->Checked)
				tp_RadioButton->BackColor = Color::Black;
		}

		/*** ScrollBar ***/
		void vScrollBar_Scroll(System::Object^  sender, System::Windows::Forms::ScrollEventArgs^  e) 
		{
			pictureBox2->Refresh();
		}
		void pictureBox2_Paint(System::Object^  sender, System::Windows::Forms::PaintEventArgs ^e)
		{
			e->Graphics->DrawImage(pictureBox2->Image, 
				Rectangle(0, 0, pictureBox2->Right - vScrollBar1->Width, 
				pictureBox2->Height), 
				Rectangle(0, vScrollBar1->Value, 
				pictureBox2->Right - vScrollBar1->Width,
				pictureBox2->Height), 
				GraphicsUnit::Pixel);
		}

		/*** SplitContainer ***/
		void flagge1_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			TableLayoutPanel^ tlp = dynamic_cast<TableLayoutPanel^>(splitContainer1->Panel2->Controls[0]);
			CheckBox^ cb = dynamic_cast<CheckBox^>(sender);
			if (cb->Checked == true)
				tlp->Controls[0]->BackColor = Color::Black;
			else
				tlp->Controls[0]->BackColor = tlp->BackColor;
		}
		void flagge2_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			TableLayoutPanel^ tlp = dynamic_cast<TableLayoutPanel^>(splitContainer1->Panel2->Controls[0]);
			CheckBox^ cb = dynamic_cast<CheckBox^>(sender);
			if (cb->Checked == true)
				tlp->Controls[1]->BackColor = Color::Red;
			else
				tlp->Controls[1]->BackColor = tlp->BackColor;
		}
		void flagge3_Click(System::Object^  sender, System::EventArgs^  e) 
		{
			TableLayoutPanel^ tlp = dynamic_cast<TableLayoutPanel^>(splitContainer1->Panel2->Controls[0]);
			CheckBox^ cb = dynamic_cast<CheckBox^>(sender);
			if (cb->Checked == true)
				tlp->Controls[2]->BackColor = Color::Gold;
			else
				tlp->Controls[2]->BackColor = tlp->BackColor;
		}

		/*** TextBox ***/

		void tb_Name_MouseDown(Object^  sender, MouseEventArgs^  e) 
		{
			TextBox^ tb = dynamic_cast<TextBox^>(sender);

			if (tb != nullptr && tb->Text == "Vorname Nachname")
			{
				tb->ForeColor = System::Drawing::SystemColors::ControlText;
				tb->Text = "";
			}
		}
		void tb_Name_Leave(Object^  sender, EventArgs^  e) 
		{
			TextBox^ tb = dynamic_cast<TextBox^>(sender);

			if (tb != nullptr && tb->Text == "")
			{
				tb->ForeColor = System::Drawing::Color::DarkGray;
				tb->Text = "Vorname Nachname";
			}
		}

		void tb_Passwort_MouseDown(Object^  sender, MouseEventArgs^  e) 
		{
			TextBox^ tb = dynamic_cast<TextBox^>(sender);

			if (tb != nullptr && tb->Text == "1234")
			{
				tb->ForeColor = System::Drawing::SystemColors::ControlText;
				tb->Text = "";
				tb->PasswordChar = '*';
			}
		}
		void tb_Passwort_Leave(Object^  sender, EventArgs^  e) 
		{
			TextBox^ tb = dynamic_cast<TextBox^>(sender);

			if (tb != nullptr && tb->Text == "")
			{
				tb->ForeColor = System::Drawing::Color::DarkGray;
				tb->Text = "1234";
				tb->PasswordChar = '\0';
			}
		}
		void button4_Click(Object^  sender, EventArgs^  e) 
		{
			StringBuilder^ str = gcnew StringBuilder();

			str->AppendLine(" Name       : " + tb_Name->Text);
			str->AppendLine(" Passwort   : " + tb_Passwort->Text);
			str->AppendLine(" Kommentar  : \n\n" + tb_Kommentar->Text);

			MessageBox::Show(str->ToString(), "Ausspionierte Daten");
		}

		/*** TrackBar ***/

		void button5_Click(Object^  sender, EventArgs^  e) 
		{
			MessageBox::Show("Schieberegler:  " + trackBar1->Value, "Meldung");
		}

		/*** TreeView ***/

		void treeView1_NodeMouseClick(Object^  sender, TreeNodeMouseClickEventArgs^  e) 
		{
			angeklickterKnoten = e->Node;
		}
		void tvKontextmenue_Click(Object^  sender, EventArgs^  e) 
		{
			ToolStripMenuItem^ befehl = dynamic_cast<ToolStripMenuItem^>(sender);

			if (befehl == nullptr || angeklickterKnoten == nullptr)
				return;

			if (befehl->Text == "Knoten erweitern")
			{
				angeklickterKnoten->ExpandAll();
				treeView1->SelectedNode = angeklickterKnoten;
			}
			else if (befehl->Text == "Knoten reduzieren")
			{
				angeklickterKnoten->Collapse();
				treeView1->SelectedNode = angeklickterKnoten;
			}
		}

	};
}

