#include "MeineFunktionen.h"

#pragma once
namespace $safeprojectname$ {

	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>
	/// Summary for MyForm
	/// </summary>
	
	public ref class MyForm : public System::Windows::Forms::Form
	{

	public:

		MyForm(void)
		{
			InitializeComponent();
			//
			// 
            
			//TODO: Add the constructor code here

			

			//
		 


		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~MyForm()
		{
			if (components)
			{

				delete components;
			}
		}
	public: System::Windows::Forms::ComboBox^ RundungsModusHorizont;
	protected:

	protected:

	protected:

	protected:

	protected:

	private: System::Windows::Forms::Label^ label1;
	public: System::Windows::Forms::ComboBox^ RundungsModusVertikal;
	private:


	private: System::Windows::Forms::Label^ label2;
	public: System::Windows::Forms::CheckBox^ Y_Minus;
	public: System::Windows::Forms::CheckBox^ Y_Plus;
	private:

	private:

	public: System::Windows::Forms::CheckBox^ X_Plus;

	public: System::Windows::Forms::CheckBox^ X_Minus;







	public: System::Windows::Forms::CheckBox^ Pixel;
	private:



	private: System::Windows::Forms::TextBox^ DotProInch;
	private: System::Windows::Forms::Label^ label4;
	private: System::Windows::Forms::Label^ X_Dot;
	private: System::Windows::Forms::Label^ label5;
	private: System::Windows::Forms::Label^ Y_Dot;

	private: System::Windows::Forms::Label^ label7;
	private: System::Windows::Forms::Label^ label8;
	private: System::Windows::Forms::Button^ BMPDrucken;
	public: System::Windows::Forms::CheckBox^ NurBMPFile;
	private:
	public: System::Windows::Forms::CheckBox^ Dreh90Grad;


	private: System::Windows::Forms::TextBox^ LoopAnzahlE;
	private: System::Windows::Forms::Label^ label9;
	public: System::Windows::Forms::CheckBox^ LetztesFileLaden;
	private:

	private: System::Windows::Forms::Button^ SaveParameter;
	private: System::Windows::Forms::Button^ LoadParameter;
	private: System::Windows::Forms::Label^ label3;
	private: System::Windows::Forms::Label^ label10;
	private: System::Windows::Forms::TextBox^ Breite;
	private: System::Windows::Forms::TextBox^ Hoehe;
	public: System::Windows::Forms::CheckBox^ HorizontalAus;
	private:
	public: System::Windows::Forms::CheckBox^ VertikalAus;


	private: System::Windows::Forms::Label^ label11;
	private: System::Windows::Forms::Label^ label12;
	private: System::Windows::Forms::TextBox^ BrKorrekturT;

	private: System::Windows::Forms::TextBox^ HoKorrekturT;
	public: System::Windows::Forms::ComboBox^ MM_INCH;
	private:

	private: System::Windows::Forms::Label^ label13;
	private: System::Windows::Forms::Label^ label14;
	private: System::Windows::Forms::Label^ label15;
	private: System::Windows::Forms::Label^ label16;
	private: System::Windows::Forms::Label^ label17;
	private: System::Windows::Forms::Label^ label18;
	private: System::Windows::Forms::TextBox^ SauberMinTVor;
	private: System::Windows::Forms::TextBox^ MinimumPixelE;
	private: System::Windows::Forms::TextBox^ MinimumPixelAbstandE;
	private: System::Windows::Forms::TextBox^ SauberMinT;
	private: System::Windows::Forms::TextBox^ WeissePixelUebernehmenT;
	private: System::Windows::Forms::TextBox^ MinimumWeissT;
public: System::Windows::Forms::CheckBox^ SpitzenTrennen;
private:

	private:
	public: System::Windows::Forms::ComboBox^ AllePixelGlaetten;
	public: System::Windows::Forms::CheckBox^ Glaetten1;
	public: System::Windows::Forms::CheckBox^ Glaetten2;
	public: System::Windows::Forms::CheckBox^ Glaetten3;
	public: System::Windows::Forms::CheckBox^ Glaetten4;
	public: System::Windows::Forms::CheckBox^ KreisZu;
	public: System::Windows::Forms::CheckBox^ Invers;
	public: System::Windows::Forms::CheckBox^ Spiegeln;
public: System::Windows::Forms::CheckBox^ NurModulo8Pixel;

	public: System::Windows::Forms::CheckBox^ WeissLoeschen;
	public: System::Windows::Forms::CheckBox^ Genausetzen;
	public: System::Windows::Forms::Label^ Meldung1;
	public: System::Windows::Forms::Label^ Meldung2;














	private: System::Windows::Forms::OpenFileDialog^ openFileDialog1;
	private: System::Windows::Forms::PrintDialog^ printDialog1;
	private: System::Windows::Forms::SaveFileDialog^ saveFileDialog1;
	private: System::Drawing::Printing::PrintDocument^ printDocument1;
public: System::Windows::Forms::ComboBox^ PixelSetMode;
private:

private:

	private: System::Windows::Forms::Label^ label19;
	private: System::Windows::Forms::Label^ label20;
	private: System::Windows::Forms::TextBox^ AnzahlT;
private: System::Windows::Forms::Button^ TestPrinter;
private: System::Windows::Forms::TextBox^ BeiMinWeissVerbindenT;
private: System::Windows::Forms::Label^ label6;








	protected:



	protected:



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

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->RundungsModusHorizont = (gcnew System::Windows::Forms::ComboBox());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->RundungsModusVertikal = (gcnew System::Windows::Forms::ComboBox());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->Y_Minus = (gcnew System::Windows::Forms::CheckBox());
			this->Y_Plus = (gcnew System::Windows::Forms::CheckBox());
			this->X_Plus = (gcnew System::Windows::Forms::CheckBox());
			this->X_Minus = (gcnew System::Windows::Forms::CheckBox());
			this->Pixel = (gcnew System::Windows::Forms::CheckBox());
			this->DotProInch = (gcnew System::Windows::Forms::TextBox());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->X_Dot = (gcnew System::Windows::Forms::Label());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->Y_Dot = (gcnew System::Windows::Forms::Label());
			this->label7 = (gcnew System::Windows::Forms::Label());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->BMPDrucken = (gcnew System::Windows::Forms::Button());
			this->NurBMPFile = (gcnew System::Windows::Forms::CheckBox());
			this->Dreh90Grad = (gcnew System::Windows::Forms::CheckBox());
			this->LoopAnzahlE = (gcnew System::Windows::Forms::TextBox());
			this->label9 = (gcnew System::Windows::Forms::Label());
			this->LetztesFileLaden = (gcnew System::Windows::Forms::CheckBox());
			this->SaveParameter = (gcnew System::Windows::Forms::Button());
			this->LoadParameter = (gcnew System::Windows::Forms::Button());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->label10 = (gcnew System::Windows::Forms::Label());
			this->Breite = (gcnew System::Windows::Forms::TextBox());
			this->Hoehe = (gcnew System::Windows::Forms::TextBox());
			this->HorizontalAus = (gcnew System::Windows::Forms::CheckBox());
			this->VertikalAus = (gcnew System::Windows::Forms::CheckBox());
			this->label11 = (gcnew System::Windows::Forms::Label());
			this->label12 = (gcnew System::Windows::Forms::Label());
			this->BrKorrekturT = (gcnew System::Windows::Forms::TextBox());
			this->HoKorrekturT = (gcnew System::Windows::Forms::TextBox());
			this->MM_INCH = (gcnew System::Windows::Forms::ComboBox());
			this->label13 = (gcnew System::Windows::Forms::Label());
			this->label14 = (gcnew System::Windows::Forms::Label());
			this->label15 = (gcnew System::Windows::Forms::Label());
			this->label16 = (gcnew System::Windows::Forms::Label());
			this->label17 = (gcnew System::Windows::Forms::Label());
			this->label18 = (gcnew System::Windows::Forms::Label());
			this->SauberMinTVor = (gcnew System::Windows::Forms::TextBox());
			this->MinimumPixelE = (gcnew System::Windows::Forms::TextBox());
			this->MinimumPixelAbstandE = (gcnew System::Windows::Forms::TextBox());
			this->SauberMinT = (gcnew System::Windows::Forms::TextBox());
			this->WeissePixelUebernehmenT = (gcnew System::Windows::Forms::TextBox());
			this->MinimumWeissT = (gcnew System::Windows::Forms::TextBox());
			this->SpitzenTrennen = (gcnew System::Windows::Forms::CheckBox());
			this->AllePixelGlaetten = (gcnew System::Windows::Forms::ComboBox());
			this->Glaetten1 = (gcnew System::Windows::Forms::CheckBox());
			this->Glaetten2 = (gcnew System::Windows::Forms::CheckBox());
			this->Glaetten3 = (gcnew System::Windows::Forms::CheckBox());
			this->Glaetten4 = (gcnew System::Windows::Forms::CheckBox());
			this->KreisZu = (gcnew System::Windows::Forms::CheckBox());
			this->Invers = (gcnew System::Windows::Forms::CheckBox());
			this->Spiegeln = (gcnew System::Windows::Forms::CheckBox());
			this->NurModulo8Pixel = (gcnew System::Windows::Forms::CheckBox());
			this->WeissLoeschen = (gcnew System::Windows::Forms::CheckBox());
			this->Genausetzen = (gcnew System::Windows::Forms::CheckBox());
			this->Meldung1 = (gcnew System::Windows::Forms::Label());
			this->Meldung2 = (gcnew System::Windows::Forms::Label());
			this->openFileDialog1 = (gcnew System::Windows::Forms::OpenFileDialog());
			this->printDialog1 = (gcnew System::Windows::Forms::PrintDialog());
			this->saveFileDialog1 = (gcnew System::Windows::Forms::SaveFileDialog());
			this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
			this->PixelSetMode = (gcnew System::Windows::Forms::ComboBox());
			this->label19 = (gcnew System::Windows::Forms::Label());
			this->label20 = (gcnew System::Windows::Forms::Label());
			this->AnzahlT = (gcnew System::Windows::Forms::TextBox());
			this->TestPrinter = (gcnew System::Windows::Forms::Button());
			this->BeiMinWeissVerbindenT = (gcnew System::Windows::Forms::TextBox());
			this->label6 = (gcnew System::Windows::Forms::Label());
			this->SuspendLayout();
			// 
			// RundungsModusHorizont
			// 
			this->RundungsModusHorizont->ForeColor = System::Drawing::SystemColors::WindowText;
			this->RundungsModusHorizont->FormattingEnabled = true;
			this->RundungsModusHorizont->Items->AddRange(gcnew cli::array< System::Object^  >(2) { L"Nicht runden", L"Runden" });
			this->RundungsModusHorizont->Location = System::Drawing::Point(509, 25);
			this->RundungsModusHorizont->Name = L"RundungsModusHorizont";
			this->RundungsModusHorizont->Size = System::Drawing::Size(88, 21);
			this->RundungsModusHorizont->TabIndex = 1;
			this->RundungsModusHorizont->Text = L"RundenX";
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(489, 28);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(14, 13);
			this->label1->TabIndex = 2;
			this->label1->Text = L"X";
			// 
			// RundungsModusVertikal
			// 
			this->RundungsModusVertikal->FormattingEnabled = true;
			this->RundungsModusVertikal->Items->AddRange(gcnew cli::array< System::Object^  >(2) { L"Nicht runden", L"Runden" });
			this->RundungsModusVertikal->Location = System::Drawing::Point(509, 51);
			this->RundungsModusVertikal->Name = L"RundungsModusVertikal";
			this->RundungsModusVertikal->Size = System::Drawing::Size(88, 21);
			this->RundungsModusVertikal->TabIndex = 0;
			this->RundungsModusVertikal->Text = L"RundenY";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(489, 51);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(14, 13);
			this->label2->TabIndex = 4;
			this->label2->Text = L"Y";
			// 
			// Y_Minus
			// 
			this->Y_Minus->AutoSize = true;
			this->Y_Minus->Location = System::Drawing::Point(675, 26);
			this->Y_Minus->Name = L"Y_Minus";
			this->Y_Minus->Size = System::Drawing::Size(15, 14);
			this->Y_Minus->TabIndex = 5;
			this->Y_Minus->UseVisualStyleBackColor = true;
			// 
			// Y_Plus
			// 
			this->Y_Plus->AutoSize = true;
			this->Y_Plus->Location = System::Drawing::Point(675, 60);
			this->Y_Plus->Name = L"Y_Plus";
			this->Y_Plus->Size = System::Drawing::Size(15, 14);
			this->Y_Plus->TabIndex = 7;
			this->Y_Plus->UseVisualStyleBackColor = true;
			// 
			// X_Plus
			// 
			this->X_Plus->AutoSize = true;
			this->X_Plus->Location = System::Drawing::Point(696, 43);
			this->X_Plus->Name = L"X_Plus";
			this->X_Plus->Size = System::Drawing::Size(15, 14);
			this->X_Plus->TabIndex = 8;
			this->X_Plus->UseVisualStyleBackColor = true;
			// 
			// X_Minus
			// 
			this->X_Minus->AutoSize = true;
			this->X_Minus->CheckAlign = System::Drawing::ContentAlignment::MiddleRight;
			this->X_Minus->Location = System::Drawing::Point(603, 42);
			this->X_Minus->Name = L"X_Minus";
			this->X_Minus->Size = System::Drawing::Size(66, 17);
			this->X_Minus->TabIndex = 9;
			this->X_Minus->Text = L"Prüfpixel";
			this->X_Minus->UseVisualStyleBackColor = true;
			// 
			// Pixel
			// 
			this->Pixel->AutoSize = true;
			this->Pixel->Location = System::Drawing::Point(675, 43);
			this->Pixel->Name = L"Pixel";
			this->Pixel->Size = System::Drawing::Size(15, 14);
			this->Pixel->TabIndex = 10;
			this->Pixel->UseVisualStyleBackColor = true;
			this->Pixel->CheckedChanged += gcnew System::EventHandler(this, &MyForm::Pixel_CheckedChanged);
			// 
			// DotProInch
			// 
			this->DotProInch->Location = System::Drawing::Point(647, 95);
			this->DotProInch->Name = L"DotProInch";
			this->DotProInch->Size = System::Drawing::Size(43, 20);
			this->DotProInch->TabIndex = 11;
			this->DotProInch->Text = L"99999";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Location = System::Drawing::Point(580, 98);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(61, 13);
			this->label4->TabIndex = 12;
			this->label4->Text = L"DotProInch";
			// 
			// X_Dot
			// 
			this->X_Dot->AutoSize = true;
			this->X_Dot->Location = System::Drawing::Point(610, 127);
			this->X_Dot->Name = L"X_Dot";
			this->X_Dot->Size = System::Drawing::Size(31, 13);
			this->X_Dot->TabIndex = 13;
			this->X_Dot->Text = L"9999";
			this->X_Dot->Click += gcnew System::EventHandler(this, &MyForm::X_Dot_Click);
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Location = System::Drawing::Point(573, 127);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(37, 13);
			this->label5->TabIndex = 14;
			this->label5->Text = L"XDot=";
			// 
			// Y_Dot
			// 
			this->Y_Dot->AutoSize = true;
			this->Y_Dot->Location = System::Drawing::Point(610, 151);
			this->Y_Dot->Name = L"Y_Dot";
			this->Y_Dot->Size = System::Drawing::Size(31, 13);
			this->Y_Dot->TabIndex = 15;
			this->Y_Dot->Text = L"9999";
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Location = System::Drawing::Point(572, 151);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(37, 13);
			this->label7->TabIndex = 16;
			this->label7->Text = L"YDot=";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Location = System::Drawing::Point(525, 98);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(49, 13);
			this->label8->TabIndex = 17;
			this->label8->Text = L"BMPFile:";
			// 
			// BMPDrucken
			// 
			this->BMPDrucken->Location = System::Drawing::Point(530, 193);
			this->BMPDrucken->Name = L"BMPDrucken";
			this->BMPDrucken->Size = System::Drawing::Size(80, 23);
			this->BMPDrucken->TabIndex = 18;
			this->BMPDrucken->Text = L"BMPDrucken";
			this->BMPDrucken->UseVisualStyleBackColor = true;
			this->BMPDrucken->Click += gcnew System::EventHandler(this, &MyForm::BMPDrucken_Click);
			// 
			// NurBMPFile
			// 
			this->NurBMPFile->AutoSize = true;
			this->NurBMPFile->Location = System::Drawing::Point(627, 185);
			this->NurBMPFile->Name = L"NurBMPFile";
			this->NurBMPFile->Size = System::Drawing::Size(74, 17);
			this->NurBMPFile->TabIndex = 19;
			this->NurBMPFile->Text = L"InBMPFile";
			this->NurBMPFile->UseVisualStyleBackColor = true;
			// 
			// Dreh90Grad
			// 
			this->Dreh90Grad->AutoSize = true;
			this->Dreh90Grad->Location = System::Drawing::Point(627, 208);
			this->Dreh90Grad->Name = L"Dreh90Grad";
			this->Dreh90Grad->Size = System::Drawing::Size(84, 17);
			this->Dreh90Grad->TabIndex = 20;
			this->Dreh90Grad->Text = L"Dreh90Grad";
			this->Dreh90Grad->UseVisualStyleBackColor = true;
			// 
			// LoopAnzahlE
			// 
			this->LoopAnzahlE->Location = System::Drawing::Point(619, 243);
			this->LoopAnzahlE->Name = L"LoopAnzahlE";
			this->LoopAnzahlE->Size = System::Drawing::Size(41, 20);
			this->LoopAnzahlE->TabIndex = 21;
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Location = System::Drawing::Point(547, 246);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(63, 13);
			this->label9->TabIndex = 22;
			this->label9->Text = L"LoopAnzahl";
			// 
			// LetztesFileLaden
			// 
			this->LetztesFileLaden->AutoSize = true;
			this->LetztesFileLaden->CheckAlign = System::Drawing::ContentAlignment::MiddleRight;
			this->LetztesFileLaden->Location = System::Drawing::Point(512, 265);
			this->LetztesFileLaden->Name = L"LetztesFileLaden";
			this->LetztesFileLaden->Size = System::Drawing::Size(172, 17);
			this->LetztesFileLaden->TabIndex = 23;
			this->LetztesFileLaden->Text = L"Immer Letztes OUT.BMP laden";
			this->LetztesFileLaden->UseVisualStyleBackColor = true;
			// 
			// SaveParameter
			// 
			this->SaveParameter->Location = System::Drawing::Point(566, 302);
			this->SaveParameter->Name = L"SaveParameter";
			this->SaveParameter->Size = System::Drawing::Size(75, 23);
			this->SaveParameter->TabIndex = 24;
			this->SaveParameter->Text = L"DatenSave";
			this->SaveParameter->UseVisualStyleBackColor = true;
			this->SaveParameter->Click += gcnew System::EventHandler(this, &MyForm::SaveParameter_Click);
			// 
			// LoadParameter
			// 
			this->LoadParameter->Location = System::Drawing::Point(566, 345);
			this->LoadParameter->Name = L"LoadParameter";
			this->LoadParameter->Size = System::Drawing::Size(75, 23);
			this->LoadParameter->TabIndex = 25;
			this->LoadParameter->Text = L"DatenLoad";
			this->LoadParameter->UseVisualStyleBackColor = true;
			this->LoadParameter->Click += gcnew System::EventHandler(this, &MyForm::LoadParameter_Click);
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Location = System::Drawing::Point(17, 28);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(51, 13);
			this->label3->TabIndex = 26;
			this->label3->Text = L"BildBreite";
			// 
			// label10
			// 
			this->label10->AutoSize = true;
			this->label10->Location = System::Drawing::Point(12, 71);
			this->label10->Name = L"label10";
			this->label10->Size = System::Drawing::Size(56, 13);
			this->label10->TabIndex = 27;
			this->label10->Text = L"BildHoehe";
			// 
			// Breite
			// 
			this->Breite->Location = System::Drawing::Point(74, 25);
			this->Breite->Name = L"Breite";
			this->Breite->Size = System::Drawing::Size(100, 20);
			this->Breite->TabIndex = 28;
			this->Breite->TextChanged += gcnew System::EventHandler(this, &MyForm::Breite_TextChanged);
			// 
			// Hoehe
			// 
			this->Hoehe->Location = System::Drawing::Point(74, 73);
			this->Hoehe->Name = L"Hoehe";
			this->Hoehe->Size = System::Drawing::Size(100, 20);
			this->Hoehe->TabIndex = 29;
			// 
			// HorizontalAus
			// 
			this->HorizontalAus->AutoSize = true;
			this->HorizontalAus->Location = System::Drawing::Point(74, 6);
			this->HorizontalAus->Name = L"HorizontalAus";
			this->HorizontalAus->Size = System::Drawing::Size(44, 17);
			this->HorizontalAus->TabIndex = 30;
			this->HorizontalAus->Text = L"Aus";
			this->HorizontalAus->UseVisualStyleBackColor = true;
			// 
			// VertikalAus
			// 
			this->VertikalAus->AutoSize = true;
			this->VertikalAus->Location = System::Drawing::Point(74, 52);
			this->VertikalAus->Name = L"VertikalAus";
			this->VertikalAus->Size = System::Drawing::Size(44, 17);
			this->VertikalAus->TabIndex = 31;
			this->VertikalAus->Text = L"Aus";
			this->VertikalAus->UseVisualStyleBackColor = true;
			// 
			// label11
			// 
			this->label11->AutoSize = true;
			this->label11->Location = System::Drawing::Point(180, 28);
			this->label11->Name = L"label11";
			this->label11->Size = System::Drawing::Size(33, 13);
			this->label11->TabIndex = 32;
			this->label11->Text = L"*Korr.";
			// 
			// label12
			// 
			this->label12->AutoSize = true;
			this->label12->Location = System::Drawing::Point(180, 69);
			this->label12->Name = L"label12";
			this->label12->Size = System::Drawing::Size(33, 13);
			this->label12->TabIndex = 33;
			this->label12->Text = L"*Korr.";
			// 
			// BrKorrekturT
			// 
			this->BrKorrekturT->Location = System::Drawing::Point(222, 25);
			this->BrKorrekturT->Name = L"BrKorrekturT";
			this->BrKorrekturT->Size = System::Drawing::Size(100, 20);
			this->BrKorrekturT->TabIndex = 34;
			// 
			// HoKorrekturT
			// 
			this->HoKorrekturT->Location = System::Drawing::Point(221, 73);
			this->HoKorrekturT->Name = L"HoKorrekturT";
			this->HoKorrekturT->Size = System::Drawing::Size(100, 20);
			this->HoKorrekturT->TabIndex = 35;
			// 
			// MM_INCH
			// 
			this->MM_INCH->FormattingEnabled = true;
			this->MM_INCH->Items->AddRange(gcnew cli::array< System::Object^  >(2) { L"MM", L"INCH" });
			this->MM_INCH->Location = System::Drawing::Point(180, 49);
			this->MM_INCH->Name = L"MM_INCH";
			this->MM_INCH->Size = System::Drawing::Size(72, 21);
			this->MM_INCH->TabIndex = 36;
			this->MM_INCH->Text = L"MM_INCH";
			// 
			// label13
			// 
			this->label13->AutoSize = true;
			this->label13->Location = System::Drawing::Point(24, 149);
			this->label13->Name = L"label13";
			this->label13->Size = System::Drawing::Size(138, 13);
			this->label13->TabIndex = 37;
			this->label13->Text = L"Schwarz unter Min. löschen";
			// 
			// label14
			// 
			this->label14->AutoSize = true;
			this->label14->Location = System::Drawing::Point(26, 192);
			this->label14->Name = L"label14";
			this->label14->Size = System::Drawing::Size(136, 13);
			this->label14->TabIndex = 38;
			this->label14->Text = L"Schwarz ergänzen auf Min.";
			// 
			// label15
			// 
			this->label15->AutoSize = true;
			this->label15->Location = System::Drawing::Point(22, 212);
			this->label15->Name = L"label15";
			this->label15->Size = System::Drawing::Size(174, 13);
			this->label15->TabIndex = 39;
			this->label15->Text = L"bei Min.Abstand zwischen Schwarz";
			// 
			// label16
			// 
			this->label16->AutoSize = true;
			this->label16->Location = System::Drawing::Point(22, 261);
			this->label16->Name = L"label16";
			this->label16->Size = System::Drawing::Size(138, 13);
			this->label16->TabIndex = 40;
			this->label16->Text = L"Schwarz unter Min. löschen";
			// 
			// label17
			// 
			this->label17->AutoSize = true;
			this->label17->Location = System::Drawing::Point(26, 298);
			this->label17->Name = L"label17";
			this->label17->Size = System::Drawing::Size(79, 13);
			this->label17->TabIndex = 41;
			this->label17->Text = L"Kanten  glätten";
			// 
			// label18
			// 
			this->label18->AutoSize = true;
			this->label18->Location = System::Drawing::Point(26, 336);
			this->label18->Name = L"label18";
			this->label18->Size = System::Drawing::Size(124, 13);
			this->label18->TabIndex = 42;
			this->label18->Text = L"Weiss auf Min. ergänzen";
			// 
			// SauberMinTVor
			// 
			this->SauberMinTVor->Location = System::Drawing::Point(206, 149);
			this->SauberMinTVor->Name = L"SauberMinTVor";
			this->SauberMinTVor->Size = System::Drawing::Size(100, 20);
			this->SauberMinTVor->TabIndex = 43;
			// 
			// MinimumPixelE
			// 
			this->MinimumPixelE->Location = System::Drawing::Point(206, 189);
			this->MinimumPixelE->Name = L"MinimumPixelE";
			this->MinimumPixelE->Size = System::Drawing::Size(100, 20);
			this->MinimumPixelE->TabIndex = 44;
			// 
			// MinimumPixelAbstandE
			// 
			this->MinimumPixelAbstandE->Location = System::Drawing::Point(206, 214);
			this->MinimumPixelAbstandE->Name = L"MinimumPixelAbstandE";
			this->MinimumPixelAbstandE->Size = System::Drawing::Size(100, 20);
			this->MinimumPixelAbstandE->TabIndex = 45;
			// 
			// SauberMinT
			// 
			this->SauberMinT->Location = System::Drawing::Point(206, 261);
			this->SauberMinT->Name = L"SauberMinT";
			this->SauberMinT->Size = System::Drawing::Size(100, 20);
			this->SauberMinT->TabIndex = 46;
			// 
			// WeissePixelUebernehmenT
			// 
			this->WeissePixelUebernehmenT->Location = System::Drawing::Point(209, 302);
			this->WeissePixelUebernehmenT->Name = L"WeissePixelUebernehmenT";
			this->WeissePixelUebernehmenT->Size = System::Drawing::Size(100, 20);
			this->WeissePixelUebernehmenT->TabIndex = 47;
			// 
			// MinimumWeissT
			// 
			this->MinimumWeissT->Location = System::Drawing::Point(210, 338);
			this->MinimumWeissT->Name = L"MinimumWeissT";
			this->MinimumWeissT->Size = System::Drawing::Size(100, 20);
			this->MinimumWeissT->TabIndex = 48;
			// 
			// SpitzenTrennen
			// 
			this->SpitzenTrennen->AutoSize = true;
			this->SpitzenTrennen->Location = System::Drawing::Point(206, 107);
			this->SpitzenTrennen->Name = L"SpitzenTrennen";
			this->SpitzenTrennen->Size = System::Drawing::Size(100, 17);
			this->SpitzenTrennen->TabIndex = 49;
			this->SpitzenTrennen->Text = L"Spitzen trennen";
			this->SpitzenTrennen->UseVisualStyleBackColor = true;
			// 
			// AllePixelGlaetten
			// 
			this->AllePixelGlaetten->AutoCompleteCustomSource->AddRange(gcnew cli::array< System::String^  >(2) { L"Alle Pixel", L"Nur einen Pixel" });
			this->AllePixelGlaetten->FormattingEnabled = true;
			this->AllePixelGlaetten->Items->AddRange(gcnew cli::array< System::Object^  >(2) { L"Alle Pixel", L"Nur einen Pixel" });
			this->AllePixelGlaetten->Location = System::Drawing::Point(315, 304);
			this->AllePixelGlaetten->Name = L"AllePixelGlaetten";
			this->AllePixelGlaetten->Size = System::Drawing::Size(74, 21);
			this->AllePixelGlaetten->TabIndex = 50;
			this->AllePixelGlaetten->Text = L"AllePixel";
			// 
			// Glaetten1
			// 
			this->Glaetten1->AutoSize = true;
			this->Glaetten1->Location = System::Drawing::Point(429, 311);
			this->Glaetten1->Name = L"Glaetten1";
			this->Glaetten1->Size = System::Drawing::Size(15, 14);
			this->Glaetten1->TabIndex = 51;
			this->Glaetten1->UseVisualStyleBackColor = true;
			// 
			// Glaetten2
			// 
			this->Glaetten2->AutoSize = true;
			this->Glaetten2->Location = System::Drawing::Point(450, 311);
			this->Glaetten2->Name = L"Glaetten2";
			this->Glaetten2->Size = System::Drawing::Size(15, 14);
			this->Glaetten2->TabIndex = 52;
			this->Glaetten2->UseVisualStyleBackColor = true;
			// 
			// Glaetten3
			// 
			this->Glaetten3->AutoSize = true;
			this->Glaetten3->Location = System::Drawing::Point(471, 311);
			this->Glaetten3->Name = L"Glaetten3";
			this->Glaetten3->Size = System::Drawing::Size(15, 14);
			this->Glaetten3->TabIndex = 53;
			this->Glaetten3->UseVisualStyleBackColor = true;
			// 
			// Glaetten4
			// 
			this->Glaetten4->AutoSize = true;
			this->Glaetten4->Location = System::Drawing::Point(492, 311);
			this->Glaetten4->Name = L"Glaetten4";
			this->Glaetten4->Size = System::Drawing::Size(15, 14);
			this->Glaetten4->TabIndex = 54;
			this->Glaetten4->UseVisualStyleBackColor = true;
			// 
			// KreisZu
			// 
			this->KreisZu->AutoSize = true;
			this->KreisZu->Location = System::Drawing::Point(427, 330);
			this->KreisZu->Name = L"KreisZu";
			this->KreisZu->Size = System::Drawing::Size(62, 17);
			this->KreisZu->TabIndex = 55;
			this->KreisZu->Text = L"KreisZu";
			this->KreisZu->UseVisualStyleBackColor = true;
			// 
			// Invers
			// 
			this->Invers->AutoSize = true;
			this->Invers->Location = System::Drawing::Point(30, 379);
			this->Invers->Name = L"Invers";
			this->Invers->Size = System::Drawing::Size(55, 17);
			this->Invers->TabIndex = 56;
			this->Invers->Text = L"Invers";
			this->Invers->UseVisualStyleBackColor = true;
			// 
			// Spiegeln
			// 
			this->Spiegeln->AutoSize = true;
			this->Spiegeln->Location = System::Drawing::Point(116, 379);
			this->Spiegeln->Name = L"Spiegeln";
			this->Spiegeln->Size = System::Drawing::Size(67, 17);
			this->Spiegeln->TabIndex = 57;
			this->Spiegeln->Text = L"Spiegeln";
			this->Spiegeln->UseVisualStyleBackColor = true;
			// 
			// NurModulo8Pixel
			// 
			this->NurModulo8Pixel->AutoSize = true;
			this->NurModulo8Pixel->Location = System::Drawing::Point(210, 379);
			this->NurModulo8Pixel->Name = L"NurModulo8Pixel";
			this->NurModulo8Pixel->Size = System::Drawing::Size(112, 17);
			this->NurModulo8Pixel->TabIndex = 58;
			this->NurModulo8Pixel->Text = L"Nur Modulo8 Pixel";
			this->NurModulo8Pixel->UseVisualStyleBackColor = true;
			// 
			// WeissLoeschen
			// 
			this->WeissLoeschen->AutoSize = true;
			this->WeissLoeschen->Location = System::Drawing::Point(333, 379);
			this->WeissLoeschen->Name = L"WeissLoeschen";
			this->WeissLoeschen->Size = System::Drawing::Size(144, 17);
			this->WeissLoeschen->TabIndex = 59;
			this->WeissLoeschen->Text = L"Weisser Umrand löschen";
			this->WeissLoeschen->UseVisualStyleBackColor = true;
			// 
			// Genausetzen
			// 
			this->Genausetzen->AutoSize = true;
			this->Genausetzen->Location = System::Drawing::Point(483, 379);
			this->Genausetzen->Name = L"Genausetzen";
			this->Genausetzen->Size = System::Drawing::Size(89, 17);
			this->Genausetzen->TabIndex = 60;
			this->Genausetzen->Text = L"Genausetzen";
			this->Genausetzen->UseVisualStyleBackColor = true;
			// 
			// Meldung1
			// 
			this->Meldung1->AutoSize = true;
			this->Meldung1->Location = System::Drawing::Point(17, 415);
			this->Meldung1->Name = L"Meldung1";
			this->Meldung1->Size = System::Drawing::Size(54, 13);
			this->Meldung1->TabIndex = 61;
			this->Meldung1->Text = L"Meldung1";
			// 
			// Meldung2
			// 
			this->Meldung2->AutoSize = true;
			this->Meldung2->Location = System::Drawing::Point(17, 450);
			this->Meldung2->Name = L"Meldung2";
			this->Meldung2->Size = System::Drawing::Size(54, 13);
			this->Meldung2->TabIndex = 62;
			this->Meldung2->Text = L"Meldung2";
			// 
			// openFileDialog1
			// 
			this->openFileDialog1->FileName = L"openFileDialog1";
			// 
			// printDialog1
			// 
			this->printDialog1->UseEXDialog = true;
			// 
			// PixelSetMode
			// 
			this->PixelSetMode->AutoCompleteCustomSource->AddRange(gcnew cli::array< System::String^  >(2) { L"Alle Pixel", L"Nur einen Pixel" });
			this->PixelSetMode->FormattingEnabled = true;
			this->PixelSetMode->Items->AddRange(gcnew cli::array< System::Object^  >(3) { L"Vertikal", L"Horizontal", L"H-V" });
			this->PixelSetMode->Location = System::Drawing::Point(420, 189);
			this->PixelSetMode->Name = L"PixelSetMode";
			this->PixelSetMode->Size = System::Drawing::Size(74, 21);
			this->PixelSetMode->TabIndex = 63;
			this->PixelSetMode->Text = L"PixelSetMode";
			// 
			// label19
			// 
			this->label19->AutoSize = true;
			this->label19->Location = System::Drawing::Point(367, 194);
			this->label19->Name = L"label19";
			this->label19->Size = System::Drawing::Size(41, 13);
			this->label19->TabIndex = 64;
			this->label19->Text = L"Anfang";
			// 
			// label20
			// 
			this->label20->AutoSize = true;
			this->label20->Location = System::Drawing::Point(367, 217);
			this->label20->Name = L"label20";
			this->label20->Size = System::Drawing::Size(39, 13);
			this->label20->TabIndex = 65;
			this->label20->Text = L"Anzahl";
			// 
			// AnzahlT
			// 
			this->AnzahlT->Location = System::Drawing::Point(419, 216);
			this->AnzahlT->Name = L"AnzahlT";
			this->AnzahlT->Size = System::Drawing::Size(40, 20);
			this->AnzahlT->TabIndex = 66;
			this->AnzahlT->Text = L"Anzahl";
			// 
			// TestPrinter
			// 
			this->TestPrinter->Location = System::Drawing::Point(383, 87);
			this->TestPrinter->Name = L"TestPrinter";
			this->TestPrinter->Size = System::Drawing::Size(75, 23);
			this->TestPrinter->TabIndex = 67;
			this->TestPrinter->Text = L"TestPrinter";
			this->TestPrinter->UseVisualStyleBackColor = true;
			this->TestPrinter->Click += gcnew System::EventHandler(this, &MyForm::TestPrinter_Click);
			// 
			// BeiMinWeissVerbindenT
			// 
			this->BeiMinWeissVerbindenT->Location = System::Drawing::Point(369, 342);
			this->BeiMinWeissVerbindenT->Name = L"BeiMinWeissVerbindenT";
			this->BeiMinWeissVerbindenT->Size = System::Drawing::Size(37, 20);
			this->BeiMinWeissVerbindenT->TabIndex = 68;
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Location = System::Drawing::Point(312, 345);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(55, 13);
			this->label6->TabIndex = 69;
			this->label6->Text = L"Verbinden";
			// 
			// MyForm
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(716, 472);
			this->Controls->Add(this->label6);
			this->Controls->Add(this->BeiMinWeissVerbindenT);
			this->Controls->Add(this->TestPrinter);
			this->Controls->Add(this->AnzahlT);
			this->Controls->Add(this->label20);
			this->Controls->Add(this->label19);
			this->Controls->Add(this->PixelSetMode);
			this->Controls->Add(this->Meldung2);
			this->Controls->Add(this->Meldung1);
			this->Controls->Add(this->Genausetzen);
			this->Controls->Add(this->WeissLoeschen);
			this->Controls->Add(this->NurModulo8Pixel);
			this->Controls->Add(this->Spiegeln);
			this->Controls->Add(this->Invers);
			this->Controls->Add(this->KreisZu);
			this->Controls->Add(this->Glaetten4);
			this->Controls->Add(this->Glaetten3);
			this->Controls->Add(this->Glaetten2);
			this->Controls->Add(this->Glaetten1);
			this->Controls->Add(this->AllePixelGlaetten);
			this->Controls->Add(this->SpitzenTrennen);
			this->Controls->Add(this->MinimumWeissT);
			this->Controls->Add(this->WeissePixelUebernehmenT);
			this->Controls->Add(this->SauberMinT);
			this->Controls->Add(this->MinimumPixelAbstandE);
			this->Controls->Add(this->MinimumPixelE);
			this->Controls->Add(this->SauberMinTVor);
			this->Controls->Add(this->label18);
			this->Controls->Add(this->label17);
			this->Controls->Add(this->label16);
			this->Controls->Add(this->label15);
			this->Controls->Add(this->label14);
			this->Controls->Add(this->label13);
			this->Controls->Add(this->MM_INCH);
			this->Controls->Add(this->HoKorrekturT);
			this->Controls->Add(this->BrKorrekturT);
			this->Controls->Add(this->label12);
			this->Controls->Add(this->label11);
			this->Controls->Add(this->VertikalAus);
			this->Controls->Add(this->HorizontalAus);
			this->Controls->Add(this->Hoehe);
			this->Controls->Add(this->Breite);
			this->Controls->Add(this->label10);
			this->Controls->Add(this->label3);
			this->Controls->Add(this->LoadParameter);
			this->Controls->Add(this->SaveParameter);
			this->Controls->Add(this->LetztesFileLaden);
			this->Controls->Add(this->label9);
			this->Controls->Add(this->LoopAnzahlE);
			this->Controls->Add(this->Dreh90Grad);
			this->Controls->Add(this->NurBMPFile);
			this->Controls->Add(this->BMPDrucken);
			this->Controls->Add(this->label8);
			this->Controls->Add(this->label7);
			this->Controls->Add(this->Y_Dot);
			this->Controls->Add(this->label5);
			this->Controls->Add(this->X_Dot);
			this->Controls->Add(this->label4);
			this->Controls->Add(this->DotProInch);
			this->Controls->Add(this->Pixel);
			this->Controls->Add(this->X_Minus);
			this->Controls->Add(this->X_Plus);
			this->Controls->Add(this->Y_Plus);
			this->Controls->Add(this->Y_Minus);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->RundungsModusVertikal);
			this->Controls->Add(this->label1);
			this->Controls->Add(this->RundungsModusHorizont);
			this->Name = L"MyForm";
			this->Text = L"BMPinPCB";
			this->Load += gcnew System::EventHandler(this, &MyForm::MyForm_Load);
			this->ResumeLayout(false);
			this->PerformLayout();

		}

#pragma endregion
	

		
	private: System::Void MyForm_Load(System::Object^ sender, System::EventArgs^ e) {


		     
		
		
		
	}
		   

  
	
	
	private: System::Void SaveParameter_Click(System::Object^ sender, System::EventArgs^ e) {
		//Anfang
		//ENDE

	}
private: System::Void LoadParameter_Click(System::Object^ sender, System::EventArgs^ e)
{
		
	
}

private: System::Void Breite_TextChanged(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void X_Dot_Click(System::Object^ sender, System::EventArgs^ e) {

}
	   
	  

	

public:
System::Void BMPDrucken_Click(System::Object^ sender, System::EventArgs^ e) 
{


}


private: System::Void TestPrinter_Click(System::Object^ sender, System::EventArgs^ e) {

}
private: System::Void Pixel_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
	Pixel->Checked = 1;
}
};



}

