All pastes #248069 Raw Edit

Unnamed

public cpp v1 · immutable
#248069 ·published 2006-11-14 04:06 UTC
rendered paste body
#pragma oncenamespace Sudoku3 {	using namespace System;	using namespace System::CodeDom;	using namespace System::ComponentModel;	using namespace System::Collections;	using namespace System::Windows::Forms;	using namespace System::Data;	using namespace System::Drawing;	public ref class Form1 : public System::Windows::Forms::Form	{	public:		Form1(void)		{			InitializeComponent();		}	protected:		~Form1()		{			if (components)			{				delete components;			}		}	public:		Microsoft::VisualBasic::Compatibility::VB6::TextBoxArray^ Text1;		System::Windows::Forms::TextBox^ Text1_0;		System::Windows::Forms::TextBox^ Text1_1;		System::Windows::Forms::TextBox^ Text1_2;		System::Windows::Forms::TextBox^ Text1_3;		System::Windows::Forms::TextBox^ Text1_4;		System::Windows::Forms::TextBox^ Text1_5;		System::Windows::Forms::TextBox^ Text1_6;		System::Windows::Forms::TextBox^ Text1_7;		System::Windows::Forms::TextBox^ Text1_8;		System::Windows::Forms::TextBox^ Text1_9;		System::Windows::Forms::TextBox^ Text1_10;		System::Windows::Forms::TextBox^ Text1_11;		System::Windows::Forms::TextBox^ Text1_12;		System::Windows::Forms::TextBox^ Text1_13;		System::Windows::Forms::TextBox^ Text1_14;		System::Windows::Forms::TextBox^ Text1_15;		System::Windows::Forms::TextBox^ Text1_16;		System::Windows::Forms::TextBox^ Text1_17;		System::Windows::Forms::TextBox^ Text1_18;		System::Windows::Forms::TextBox^ Text1_19;		System::Windows::Forms::TextBox^ Text1_20;		System::Windows::Forms::TextBox^ Text1_21;		System::Windows::Forms::TextBox^ Text1_22;		System::Windows::Forms::TextBox^ Text1_23;		System::Windows::Forms::TextBox^ Text1_24;		System::Windows::Forms::TextBox^ Text1_25;		System::Windows::Forms::TextBox^ Text1_26;		System::Windows::Forms::TextBox^ Text1_27;		System::Windows::Forms::TextBox^ Text1_28;		System::Windows::Forms::TextBox^ Text1_29;		System::Windows::Forms::TextBox^ Text1_30;		System::Windows::Forms::TextBox^ Text1_31;		System::Windows::Forms::TextBox^ Text1_32;		System::Windows::Forms::TextBox^ Text1_33;		System::Windows::Forms::TextBox^ Text1_34;		System::Windows::Forms::TextBox^ Text1_35;		System::Windows::Forms::TextBox^ Text1_36;		System::Windows::Forms::TextBox^ Text1_37;		System::Windows::Forms::TextBox^ Text1_38;		System::Windows::Forms::TextBox^ Text1_39;		System::Windows::Forms::TextBox^ Text1_40;		System::Windows::Forms::TextBox^ Text1_41;		System::Windows::Forms::TextBox^ Text1_42;		System::Windows::Forms::TextBox^ Text1_43;		System::Windows::Forms::TextBox^ Text1_44;		System::Windows::Forms::TextBox^ Text1_45;		System::Windows::Forms::TextBox^ Text1_46;		System::Windows::Forms::TextBox^ Text1_47;		System::Windows::Forms::TextBox^ Text1_48;		System::Windows::Forms::TextBox^ Text1_49;		System::Windows::Forms::TextBox^ Text1_50;		System::Windows::Forms::TextBox^ Text1_51;		System::Windows::Forms::TextBox^ Text1_52;		System::Windows::Forms::TextBox^ Text1_53;		System::Windows::Forms::TextBox^ Text1_54;		System::Windows::Forms::TextBox^ Text1_55;		System::Windows::Forms::TextBox^ Text1_56;		System::Windows::Forms::TextBox^ Text1_57;		System::Windows::Forms::TextBox^ Text1_58;		System::Windows::Forms::TextBox^ Text1_59;		System::Windows::Forms::TextBox^ Text1_60;		System::Windows::Forms::TextBox^ Text1_61;		System::Windows::Forms::TextBox^ Text1_62;		System::Windows::Forms::TextBox^ Text1_63;		System::Windows::Forms::TextBox^ Text1_64;		System::Windows::Forms::TextBox^ Text1_65;		System::Windows::Forms::TextBox^ Text1_66;		System::Windows::Forms::TextBox^ Text1_67;		System::Windows::Forms::TextBox^ Text1_68;		System::Windows::Forms::TextBox^ Text1_69;		System::Windows::Forms::TextBox^ Text1_70;		System::Windows::Forms::TextBox^ Text1_71;		System::Windows::Forms::TextBox^ Text1_72;		System::Windows::Forms::TextBox^ Text1_73;		System::Windows::Forms::TextBox^ Text1_74;		System::Windows::Forms::TextBox^ Text1_75;		System::Windows::Forms::TextBox^ Text1_76;		System::Windows::Forms::TextBox^ Text1_77;		System::Windows::Forms::TextBox^ Text1_78;		System::Windows::Forms::TextBox^ Text1_79;		System::Windows::Forms::TextBox^ Text1_80;		System::Windows::Forms::Button^ Button1;		System::Windows::Forms::Button^ Button2;		System::Windows::Forms::Button^ Button3;		int *taken;		int *previous;	protected: 	private:		System::ComponentModel::IContainer ^components;#pragma region Windows Form Designer generated code				void InitializeComponent(void)		{			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));			this->components = (gcnew System::ComponentModel::Container());			this->Text1 = (gcnew Microsoft::VisualBasic::Compatibility::VB6::TextBoxArray(this->components));			this->Text1_0 = (gcnew System::Windows::Forms::TextBox());			this->Text1_1 = (gcnew System::Windows::Forms::TextBox());			this->Text1_2 = (gcnew System::Windows::Forms::TextBox());			this->Text1_3 = (gcnew System::Windows::Forms::TextBox());			this->Text1_4 = (gcnew System::Windows::Forms::TextBox());			this->Text1_5 = (gcnew System::Windows::Forms::TextBox());			this->Text1_6 = (gcnew System::Windows::Forms::TextBox());			this->Text1_7 = (gcnew System::Windows::Forms::TextBox());			this->Text1_8 = (gcnew System::Windows::Forms::TextBox());			this->Text1_9 = (gcnew System::Windows::Forms::TextBox());			this->Text1_10 = (gcnew System::Windows::Forms::TextBox());			this->Text1_11 = (gcnew System::Windows::Forms::TextBox());			this->Text1_12 = (gcnew System::Windows::Forms::TextBox());			this->Text1_13 = (gcnew System::Windows::Forms::TextBox());			this->Text1_14 = (gcnew System::Windows::Forms::TextBox());			this->Text1_15 = (gcnew System::Windows::Forms::TextBox());			this->Text1_16 = (gcnew System::Windows::Forms::TextBox());			this->Text1_17 = (gcnew System::Windows::Forms::TextBox());			this->Text1_18 = (gcnew System::Windows::Forms::TextBox());			this->Text1_19 = (gcnew System::Windows::Forms::TextBox());			this->Text1_20 = (gcnew System::Windows::Forms::TextBox());			this->Text1_21 = (gcnew System::Windows::Forms::TextBox());			this->Text1_22 = (gcnew System::Windows::Forms::TextBox());			this->Text1_23 = (gcnew System::Windows::Forms::TextBox());			this->Text1_24 = (gcnew System::Windows::Forms::TextBox());			this->Text1_25 = (gcnew System::Windows::Forms::TextBox());			this->Text1_26 = (gcnew System::Windows::Forms::TextBox());			this->Text1_27 = (gcnew System::Windows::Forms::TextBox());			this->Text1_28 = (gcnew System::Windows::Forms::TextBox());			this->Text1_29 = (gcnew System::Windows::Forms::TextBox());			this->Text1_30 = (gcnew System::Windows::Forms::TextBox());			this->Text1_31 = (gcnew System::Windows::Forms::TextBox());			this->Text1_32 = (gcnew System::Windows::Forms::TextBox());			this->Text1_33 = (gcnew System::Windows::Forms::TextBox());			this->Text1_34 = (gcnew System::Windows::Forms::TextBox());			this->Text1_35 = (gcnew System::Windows::Forms::TextBox());			this->Text1_36 = (gcnew System::Windows::Forms::TextBox());			this->Text1_37 = (gcnew System::Windows::Forms::TextBox());			this->Text1_38 = (gcnew System::Windows::Forms::TextBox());			this->Text1_39 = (gcnew System::Windows::Forms::TextBox());			this->Text1_40 = (gcnew System::Windows::Forms::TextBox());			this->Text1_41 = (gcnew System::Windows::Forms::TextBox());			this->Text1_42 = (gcnew System::Windows::Forms::TextBox());			this->Text1_43 = (gcnew System::Windows::Forms::TextBox());			this->Text1_44 = (gcnew System::Windows::Forms::TextBox());			this->Text1_45 = (gcnew System::Windows::Forms::TextBox());			this->Text1_46 = (gcnew System::Windows::Forms::TextBox());			this->Text1_47 = (gcnew System::Windows::Forms::TextBox());			this->Text1_48 = (gcnew System::Windows::Forms::TextBox());			this->Text1_49 = (gcnew System::Windows::Forms::TextBox());			this->Text1_50 = (gcnew System::Windows::Forms::TextBox());			this->Text1_51 = (gcnew System::Windows::Forms::TextBox());			this->Text1_52 = (gcnew System::Windows::Forms::TextBox());			this->Text1_53 = (gcnew System::Windows::Forms::TextBox());			this->Text1_54 = (gcnew System::Windows::Forms::TextBox());			this->Text1_55 = (gcnew System::Windows::Forms::TextBox());			this->Text1_56 = (gcnew System::Windows::Forms::TextBox());			this->Text1_57 = (gcnew System::Windows::Forms::TextBox());			this->Text1_58 = (gcnew System::Windows::Forms::TextBox());			this->Text1_59 = (gcnew System::Windows::Forms::TextBox());			this->Text1_60 = (gcnew System::Windows::Forms::TextBox());			this->Text1_61 = (gcnew System::Windows::Forms::TextBox());			this->Text1_62 = (gcnew System::Windows::Forms::TextBox());			this->Text1_63 = (gcnew System::Windows::Forms::TextBox());			this->Text1_64 = (gcnew System::Windows::Forms::TextBox());			this->Text1_65 = (gcnew System::Windows::Forms::TextBox());			this->Text1_66 = (gcnew System::Windows::Forms::TextBox());			this->Text1_67 = (gcnew System::Windows::Forms::TextBox());			this->Text1_68 = (gcnew System::Windows::Forms::TextBox());			this->Text1_69 = (gcnew System::Windows::Forms::TextBox());			this->Text1_70 = (gcnew System::Windows::Forms::TextBox());			this->Text1_71 = (gcnew System::Windows::Forms::TextBox());			this->Text1_72 = (gcnew System::Windows::Forms::TextBox());			this->Text1_73 = (gcnew System::Windows::Forms::TextBox());			this->Text1_74 = (gcnew System::Windows::Forms::TextBox());			this->Text1_75 = (gcnew System::Windows::Forms::TextBox());			this->Text1_76 = (gcnew System::Windows::Forms::TextBox());			this->Text1_77 = (gcnew System::Windows::Forms::TextBox());			this->Text1_78 = (gcnew System::Windows::Forms::TextBox());			this->Text1_79 = (gcnew System::Windows::Forms::TextBox());			this->Text1_80 = (gcnew System::Windows::Forms::TextBox());			this->Button1 = (gcnew System::Windows::Forms::Button());			this->Button2 = (gcnew System::Windows::Forms::Button());			this->Button3 = (gcnew System::Windows::Forms::Button());			(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->Text1))->BeginInit();			this->SuspendLayout();			//			// Text1_0			//			this->Text1->SetIndex(this->Text1_0, 0);			this->Text1_0->Location::set(System::Drawing::Point(33, 24));			this->Text1_0->MaxLength::set(1);			this->Text1_0->Multiline::set(true);			this->Text1_0->Name::set("Text1_0");			this->Text1_0->Size::set(System::Drawing::Size(22,22));			this->Text1_0->TabIndex::set(0);			this->Text1_0->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_0->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_1			//			this->Text1->SetIndex(this->Text1_1, 1);			this->Text1_1->Location::set(System::Drawing::Point(64, 24));			this->Text1_1->MaxLength::set(1);			this->Text1_1->Multiline::set(true);			this->Text1_1->Name::set("Text1_1");			this->Text1_1->Size::set(System::Drawing::Size(22,22));			this->Text1_1->TabIndex::set(1);			this->Text1_1->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_1->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_2			//			this->Text1->SetIndex(this->Text1_2, 2);			this->Text1_2->Location::set(System::Drawing::Point(95, 24));			this->Text1_2->MaxLength::set(1);			this->Text1_2->Multiline::set(true);			this->Text1_2->Name::set("Text1_2");			this->Text1_2->Size::set(System::Drawing::Size(22,22));			this->Text1_2->TabIndex::set(2);			this->Text1_2->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_2->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_3			//			this->Text1->SetIndex(this->Text1_3, 3);			this->Text1_3->Location::set(System::Drawing::Point(140, 24));			this->Text1_3->MaxLength::set(1);			this->Text1_3->Multiline::set(true);			this->Text1_3->Name::set("Text1_3");			this->Text1_3->Size::set(System::Drawing::Size(22,22));			this->Text1_3->TabIndex::set(3);			this->Text1_3->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_3->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_4			//			this->Text1->SetIndex(this->Text1_4, 4);			this->Text1_4->Location::set(System::Drawing::Point(171, 24));			this->Text1_4->MaxLength::set(1);			this->Text1_4->Multiline::set(true);			this->Text1_4->Name::set("Text1_4");			this->Text1_4->Size::set(System::Drawing::Size(22,22));			this->Text1_4->TabIndex::set(4);			this->Text1_4->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_4->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_5			//			this->Text1->SetIndex(this->Text1_5, 5);			this->Text1_5->Location::set(System::Drawing::Point(202, 24));			this->Text1_5->MaxLength::set(1);			this->Text1_5->Multiline::set(true);			this->Text1_5->Name::set("Text1_5");			this->Text1_5->Size::set(System::Drawing::Size(22,22));			this->Text1_5->TabIndex::set(5);			this->Text1_5->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_5->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_6			//			this->Text1->SetIndex(this->Text1_6, 6);			this->Text1_6->Location::set(System::Drawing::Point(246, 24));			this->Text1_6->MaxLength::set(1);			this->Text1_6->Multiline::set(true);			this->Text1_6->Name::set("Text1_6");			this->Text1_6->Size::set(System::Drawing::Size(22,22));			this->Text1_6->TabIndex::set(6);			this->Text1_6->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_6->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_7			//			this->Text1->SetIndex(this->Text1_7, 7);			this->Text1_7->Location::set(System::Drawing::Point(277, 24));			this->Text1_7->MaxLength::set(1);			this->Text1_7->Multiline::set(true);			this->Text1_7->Name::set("Text1_7");			this->Text1_7->Size::set(System::Drawing::Size(22,22));			this->Text1_7->TabIndex::set(7);			this->Text1_7->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_7->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_8			//			this->Text1->SetIndex(this->Text1_8, 8);			this->Text1_8->Location::set(System::Drawing::Point(308, 24));			this->Text1_8->MaxLength::set(1);			this->Text1_8->Multiline::set(true);			this->Text1_8->Name::set("Text1_8");			this->Text1_8->Size::set(System::Drawing::Size(22,22));			this->Text1_8->TabIndex::set(8);			this->Text1_8->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_8->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_9			//			this->Text1->SetIndex(this->Text1_9, 9);			this->Text1_9->Location::set(System::Drawing::Point(33, 55));			this->Text1_9->MaxLength::set(1);			this->Text1_9->Multiline::set(true);			this->Text1_9->Name::set("Text1_9");			this->Text1_9->Size::set(System::Drawing::Size(22,22));			this->Text1_9->TabIndex::set(9);			this->Text1_9->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_9->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_10			//			this->Text1->SetIndex(this->Text1_10, 10);			this->Text1_10->Location::set(System::Drawing::Point(64, 55));			this->Text1_10->MaxLength::set(1);			this->Text1_10->Multiline::set(true);			this->Text1_10->Name::set("Text1_10");			this->Text1_10->Size::set(System::Drawing::Size(22,22));			this->Text1_10->TabIndex::set(10);			this->Text1_10->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_10->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_11			//			this->Text1->SetIndex(this->Text1_11, 11);			this->Text1_11->Location::set(System::Drawing::Point(95, 55));			this->Text1_11->MaxLength::set(1);			this->Text1_11->Multiline::set(true);			this->Text1_11->Name::set("Text1_11");			this->Text1_11->Size::set(System::Drawing::Size(22,22));			this->Text1_11->TabIndex::set(11);			this->Text1_11->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_11->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_12			//			this->Text1->SetIndex(this->Text1_12, 12);			this->Text1_12->Location::set(System::Drawing::Point(140, 55));			this->Text1_12->MaxLength::set(1);			this->Text1_12->Multiline::set(true);			this->Text1_12->Name::set("Text1_12");			this->Text1_12->Size::set(System::Drawing::Size(22,22));			this->Text1_12->TabIndex::set(12);			this->Text1_12->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_12->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_13			//			this->Text1->SetIndex(this->Text1_13, 13);			this->Text1_13->Location::set(System::Drawing::Point(171, 55));			this->Text1_13->MaxLength::set(1);			this->Text1_13->Multiline::set(true);			this->Text1_13->Name::set("Text1_13");			this->Text1_13->Size::set(System::Drawing::Size(22,22));			this->Text1_13->TabIndex::set(13);			this->Text1_13->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_13->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_14			//			this->Text1->SetIndex(this->Text1_14, 14);			this->Text1_14->Location::set(System::Drawing::Point(202, 55));			this->Text1_14->MaxLength::set(1);			this->Text1_14->Multiline::set(true);			this->Text1_14->Name::set("Text1_14");			this->Text1_14->Size::set(System::Drawing::Size(22,22));			this->Text1_14->TabIndex::set(14);			this->Text1_14->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_14->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_15			//			this->Text1->SetIndex(this->Text1_15, 15);			this->Text1_15->Location::set(System::Drawing::Point(246, 55));			this->Text1_15->MaxLength::set(1);			this->Text1_15->Multiline::set(true);			this->Text1_15->Name::set("Text1_15");			this->Text1_15->Size::set(System::Drawing::Size(22,22));			this->Text1_15->TabIndex::set(15);			this->Text1_15->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_15->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_16			//			this->Text1->SetIndex(this->Text1_16, 16);			this->Text1_16->Location::set(System::Drawing::Point(277, 55));			this->Text1_16->MaxLength::set(1);			this->Text1_16->Multiline::set(true);			this->Text1_16->Name::set("Text1_16");			this->Text1_16->Size::set(System::Drawing::Size(22,22));			this->Text1_16->TabIndex::set(16);			this->Text1_16->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_16->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_17			//			this->Text1->SetIndex(this->Text1_17, 17);			this->Text1_17->Location::set(System::Drawing::Point(308, 55));			this->Text1_17->MaxLength::set(1);			this->Text1_17->Multiline::set(true);			this->Text1_17->Name::set("Text1_17");			this->Text1_17->Size::set(System::Drawing::Size(22,22));			this->Text1_17->TabIndex::set(17);			this->Text1_17->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_17->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_18			//			this->Text1->SetIndex(this->Text1_18, 18);			this->Text1_18->Location::set(System::Drawing::Point(33, 86));			this->Text1_18->MaxLength::set(1);			this->Text1_18->Multiline::set(true);			this->Text1_18->Name::set("Text1_18");			this->Text1_18->Size::set(System::Drawing::Size(22,22));			this->Text1_18->TabIndex::set(18);			this->Text1_18->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_18->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_19			//			this->Text1->SetIndex(this->Text1_19, 19);			this->Text1_19->Location::set(System::Drawing::Point(64, 86));			this->Text1_19->MaxLength::set(1);			this->Text1_19->Multiline::set(true);			this->Text1_19->Name::set("Text1_19");			this->Text1_19->Size::set(System::Drawing::Size(22,22));			this->Text1_19->TabIndex::set(19);			this->Text1_19->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_19->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_20			//			this->Text1->SetIndex(this->Text1_20, 20);			this->Text1_20->Location::set(System::Drawing::Point(95, 86));			this->Text1_20->MaxLength::set(1);			this->Text1_20->Multiline::set(true);			this->Text1_20->Name::set("Text1_20");			this->Text1_20->Size::set(System::Drawing::Size(22,22));			this->Text1_20->TabIndex::set(20);			this->Text1_20->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_20->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_21			//			this->Text1->SetIndex(this->Text1_21, 21);			this->Text1_21->Location::set(System::Drawing::Point(140, 86));			this->Text1_21->MaxLength::set(1);			this->Text1_21->Multiline::set(true);			this->Text1_21->Name::set("Text1_21");			this->Text1_21->Size::set(System::Drawing::Size(22,22));			this->Text1_21->TabIndex::set(21);			this->Text1_21->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_21->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_22			//			this->Text1->SetIndex(this->Text1_22, 22);			this->Text1_22->Location::set(System::Drawing::Point(171, 86));			this->Text1_22->MaxLength::set(1);			this->Text1_22->Multiline::set(true);			this->Text1_22->Name::set("Text1_22");			this->Text1_22->Size::set(System::Drawing::Size(22,22));			this->Text1_22->TabIndex::set(22);			this->Text1_22->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_22->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_23			//			this->Text1->SetIndex(this->Text1_23, 23);			this->Text1_23->Location::set(System::Drawing::Point(202, 86));			this->Text1_23->MaxLength::set(1);			this->Text1_23->Multiline::set(true);			this->Text1_23->Name::set("Text1_23");			this->Text1_23->Size::set(System::Drawing::Size(22,22));			this->Text1_23->TabIndex::set(23);			this->Text1_23->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_23->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_24			//			this->Text1->SetIndex(this->Text1_24, 24);			this->Text1_24->Location::set(System::Drawing::Point(246, 86));			this->Text1_24->MaxLength::set(1);			this->Text1_24->Multiline::set(true);			this->Text1_24->Name::set("Text1_24");			this->Text1_24->Size::set(System::Drawing::Size(22,22));			this->Text1_24->TabIndex::set(24);			this->Text1_24->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_24->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_25			//			this->Text1->SetIndex(this->Text1_25, 25);			this->Text1_25->Location::set(System::Drawing::Point(277, 86));			this->Text1_25->MaxLength::set(1);			this->Text1_25->Multiline::set(true);			this->Text1_25->Name::set("Text1_25");			this->Text1_25->Size::set(System::Drawing::Size(22,22));			this->Text1_25->TabIndex::set(25);			this->Text1_25->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_25->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_26			//			this->Text1->SetIndex(this->Text1_26, 26);			this->Text1_26->Location::set(System::Drawing::Point(308, 86));			this->Text1_26->MaxLength::set(1);			this->Text1_26->Multiline::set(true);			this->Text1_26->Name::set("Text1_26");			this->Text1_26->Size::set(System::Drawing::Size(22,22));			this->Text1_26->TabIndex::set(26);			this->Text1_26->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_26->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_27			//			this->Text1->SetIndex(this->Text1_27, 27);			this->Text1_27->Location::set(System::Drawing::Point(33, 131));			this->Text1_27->MaxLength::set(1);			this->Text1_27->Multiline::set(true);			this->Text1_27->Name::set("Text1_27");			this->Text1_27->Size::set(System::Drawing::Size(22,22));			this->Text1_27->TabIndex::set(27);			this->Text1_27->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_27->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_28			//			this->Text1->SetIndex(this->Text1_28, 28);			this->Text1_28->Location::set(System::Drawing::Point(64, 131));			this->Text1_28->MaxLength::set(1);			this->Text1_28->Multiline::set(true);			this->Text1_28->Name::set("Text1_28");			this->Text1_28->Size::set(System::Drawing::Size(22,22));			this->Text1_28->TabIndex::set(28);			this->Text1_28->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_28->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_29			//			this->Text1->SetIndex(this->Text1_29, 29);			this->Text1_29->Location::set(System::Drawing::Point(95, 131));			this->Text1_29->MaxLength::set(1);			this->Text1_29->Multiline::set(true);			this->Text1_29->Name::set("Text1_29");			this->Text1_29->Size::set(System::Drawing::Size(22,22));			this->Text1_29->TabIndex::set(29);			this->Text1_29->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_29->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_30			//			this->Text1->SetIndex(this->Text1_30, 30);			this->Text1_30->Location::set(System::Drawing::Point(140, 131));			this->Text1_30->MaxLength::set(1);			this->Text1_30->Multiline::set(true);			this->Text1_30->Name::set("Text1_30");			this->Text1_30->Size::set(System::Drawing::Size(22,22));			this->Text1_30->TabIndex::set(30);			this->Text1_30->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_30->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_31			//			this->Text1->SetIndex(this->Text1_31, 31);			this->Text1_31->Location::set(System::Drawing::Point(171, 131));			this->Text1_31->MaxLength::set(1);			this->Text1_31->Multiline::set(true);			this->Text1_31->Name::set("Text1_31");			this->Text1_31->Size::set(System::Drawing::Size(22,22));			this->Text1_31->TabIndex::set(31);			this->Text1_31->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_31->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_32			//			this->Text1->SetIndex(this->Text1_32, 32);			this->Text1_32->Location::set(System::Drawing::Point(202, 131));			this->Text1_32->MaxLength::set(1);			this->Text1_32->Multiline::set(true);			this->Text1_32->Name::set("Text1_32");			this->Text1_32->Size::set(System::Drawing::Size(22,22));			this->Text1_32->TabIndex::set(32);			this->Text1_32->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_32->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_33			//			this->Text1->SetIndex(this->Text1_33, 33);			this->Text1_33->Location::set(System::Drawing::Point(246, 131));			this->Text1_33->MaxLength::set(1);			this->Text1_33->Multiline::set(true);			this->Text1_33->Name::set("Text1_33");			this->Text1_33->Size::set(System::Drawing::Size(22,22));			this->Text1_33->TabIndex::set(33);			this->Text1_33->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_33->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_34			//			this->Text1->SetIndex(this->Text1_34, 34);			this->Text1_34->Location::set(System::Drawing::Point(277, 131));			this->Text1_34->MaxLength::set(1);			this->Text1_34->Multiline::set(true);			this->Text1_34->Name::set("Text1_34");			this->Text1_34->Size::set(System::Drawing::Size(22,22));			this->Text1_34->TabIndex::set(34);			this->Text1_34->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_34->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_35			//			this->Text1->SetIndex(this->Text1_35, 35);			this->Text1_35->Location::set(System::Drawing::Point(308, 131));			this->Text1_35->MaxLength::set(1);			this->Text1_35->Multiline::set(true);			this->Text1_35->Name::set("Text1_35");			this->Text1_35->Size::set(System::Drawing::Size(22,22));			this->Text1_35->TabIndex::set(35);			this->Text1_35->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_35->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_36			//			this->Text1->SetIndex(this->Text1_36, 36);			this->Text1_36->Location::set(System::Drawing::Point(33, 162));			this->Text1_36->MaxLength::set(1);			this->Text1_36->Multiline::set(true);			this->Text1_36->Name::set("Text1_36");			this->Text1_36->Size::set(System::Drawing::Size(22,22));			this->Text1_36->TabIndex::set(36);			this->Text1_36->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_36->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_37			//			this->Text1->SetIndex(this->Text1_37, 37);			this->Text1_37->Location::set(System::Drawing::Point(64, 162));			this->Text1_37->MaxLength::set(1);			this->Text1_37->Multiline::set(true);			this->Text1_37->Name::set("Text1_37");			this->Text1_37->Size::set(System::Drawing::Size(22,22));			this->Text1_37->TabIndex::set(37);			this->Text1_37->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_37->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_38			//			this->Text1->SetIndex(this->Text1_38, 38);			this->Text1_38->Location::set(System::Drawing::Point(95, 162));			this->Text1_38->MaxLength::set(1);			this->Text1_38->Multiline::set(true);			this->Text1_38->Name::set("Text1_38");			this->Text1_38->Size::set(System::Drawing::Size(22,22));			this->Text1_38->TabIndex::set(38);			this->Text1_38->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_38->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_39			//			this->Text1->SetIndex(this->Text1_39, 39);			this->Text1_39->Location::set(System::Drawing::Point(140, 162));			this->Text1_39->MaxLength::set(1);			this->Text1_39->Multiline::set(true);			this->Text1_39->Name::set("Text1_39");			this->Text1_39->Size::set(System::Drawing::Size(22,22));			this->Text1_39->TabIndex::set(39);			this->Text1_39->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_39->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_40			//			this->Text1->SetIndex(this->Text1_40, 40);			this->Text1_40->Location::set(System::Drawing::Point(171, 162));			this->Text1_40->MaxLength::set(1);			this->Text1_40->Multiline::set(true);			this->Text1_40->Name::set("Text1_40");			this->Text1_40->Size::set(System::Drawing::Size(22,22));			this->Text1_40->TabIndex::set(40);			this->Text1_40->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_40->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_41			//			this->Text1->SetIndex(this->Text1_41, 41);			this->Text1_41->Location::set(System::Drawing::Point(202, 162));			this->Text1_41->MaxLength::set(1);			this->Text1_41->Multiline::set(true);			this->Text1_41->Name::set("Text1_41");			this->Text1_41->Size::set(System::Drawing::Size(22,22));			this->Text1_41->TabIndex::set(41);			this->Text1_41->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_41->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_42			//			this->Text1->SetIndex(this->Text1_42, 42);			this->Text1_42->Location::set(System::Drawing::Point(246, 162));			this->Text1_42->MaxLength::set(1);			this->Text1_42->Multiline::set(true);			this->Text1_42->Name::set("Text1_42");			this->Text1_42->Size::set(System::Drawing::Size(22,22));			this->Text1_42->TabIndex::set(42);			this->Text1_42->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_42->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_43			//			this->Text1->SetIndex(this->Text1_43, 43);			this->Text1_43->Location::set(System::Drawing::Point(277, 162));			this->Text1_43->MaxLength::set(1);			this->Text1_43->Multiline::set(true);			this->Text1_43->Name::set("Text1_43");			this->Text1_43->Size::set(System::Drawing::Size(22,22));			this->Text1_43->TabIndex::set(43);			this->Text1_43->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_43->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_44			//			this->Text1->SetIndex(this->Text1_44, 44);			this->Text1_44->Location::set(System::Drawing::Point(308, 162));			this->Text1_44->MaxLength::set(1);			this->Text1_44->Multiline::set(true);			this->Text1_44->Name::set("Text1_44");			this->Text1_44->Size::set(System::Drawing::Size(22,22));			this->Text1_44->TabIndex::set(44);			this->Text1_44->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_44->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_45			//			this->Text1->SetIndex(this->Text1_45, 45);			this->Text1_45->Location::set(System::Drawing::Point(33, 193));			this->Text1_45->MaxLength::set(1);			this->Text1_45->Multiline::set(true);			this->Text1_45->Name::set("Text1_45");			this->Text1_45->Size::set(System::Drawing::Size(22,22));			this->Text1_45->TabIndex::set(45);			this->Text1_45->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_45->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_46			//			this->Text1->SetIndex(this->Text1_46, 46);			this->Text1_46->Location::set(System::Drawing::Point(64,193));			this->Text1_46->MaxLength::set(1);			this->Text1_46->Multiline::set(true);			this->Text1_46->Name::set("Text1_46");			this->Text1_46->Size::set(System::Drawing::Size(22,22));			this->Text1_46->TabIndex::set(46);			this->Text1_46->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_46->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_47			//			this->Text1->SetIndex(this->Text1_47, 47);			this->Text1_47->Location::set(System::Drawing::Point(95, 193));			this->Text1_47->MaxLength::set(1);			this->Text1_47->Multiline::set(true);			this->Text1_47->Name::set("Text1_47");			this->Text1_47->Size::set(System::Drawing::Size(22,22));			this->Text1_47->TabIndex::set(47);			this->Text1_47->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_47->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_48			//			this->Text1->SetIndex(this->Text1_48, 48);			this->Text1_48->Location::set(System::Drawing::Point(140, 193));			this->Text1_48->MaxLength::set(1);			this->Text1_48->Multiline::set(true);			this->Text1_48->Name::set("Text1_48");			this->Text1_48->Size::set(System::Drawing::Size(22,22));			this->Text1_48->TabIndex::set(48);			this->Text1_48->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_48->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_49			//			this->Text1->SetIndex(this->Text1_49, 49);			this->Text1_49->Location::set(System::Drawing::Point(171, 193));			this->Text1_49->MaxLength::set(1);			this->Text1_49->Multiline::set(true);			this->Text1_49->Name::set("Text1_49");			this->Text1_49->Size::set(System::Drawing::Size(22,22));			this->Text1_49->TabIndex::set(49);			this->Text1_49->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_49->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_50			//			this->Text1->SetIndex(this->Text1_50, 50);			this->Text1_50->Location::set(System::Drawing::Point(202, 193));			this->Text1_50->MaxLength::set(1);			this->Text1_50->Multiline::set(true);			this->Text1_50->Name::set("Text1_50");			this->Text1_50->Size::set(System::Drawing::Size(22,22));			this->Text1_50->TabIndex::set(50);			this->Text1_50->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_50->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_51			//			this->Text1->SetIndex(this->Text1_51, 51);			this->Text1_51->Location::set(System::Drawing::Point(246, 193));			this->Text1_51->MaxLength::set(1);			this->Text1_51->Multiline::set(true);			this->Text1_51->Name::set("Text1_51");			this->Text1_51->Size::set(System::Drawing::Size(22,22));			this->Text1_51->TabIndex::set(51);			this->Text1_51->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_51->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_52			//			this->Text1->SetIndex(this->Text1_52, 52);			this->Text1_52->Location::set(System::Drawing::Point(277, 193));			this->Text1_52->MaxLength::set(1);			this->Text1_52->Multiline::set(true);			this->Text1_52->Name::set("Text1_52");			this->Text1_52->Size::set(System::Drawing::Size(22,22));			this->Text1_52->TabIndex::set(52);			this->Text1_52->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_52->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_53			//			this->Text1->SetIndex(this->Text1_53, 53);			this->Text1_53->Location::set(System::Drawing::Point(308, 193));			this->Text1_53->MaxLength::set(1);			this->Text1_53->Multiline::set(true);			this->Text1_53->Name::set("Text1_53");			this->Text1_53->Size::set(System::Drawing::Size(22,22));			this->Text1_53->TabIndex::set(53);			this->Text1_53->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_53->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_54			//			this->Text1->SetIndex(this->Text1_54, 54);			this->Text1_54->Location::set(System::Drawing::Point(33, 238));			this->Text1_54->MaxLength::set(1);			this->Text1_54->Multiline::set(true);			this->Text1_54->Name::set("Text1_54");			this->Text1_54->Size::set(System::Drawing::Size(22,22));			this->Text1_54->TabIndex::set(54);			this->Text1_54->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_54->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_55			//			this->Text1->SetIndex(this->Text1_55, 55);			this->Text1_55->Location::set(System::Drawing::Point(64, 238));			this->Text1_55->MaxLength::set(1);			this->Text1_55->Multiline::set(true);			this->Text1_55->Name::set("Text1_55");			this->Text1_55->Size::set(System::Drawing::Size(22,22));			this->Text1_55->TabIndex::set(55);			this->Text1_55->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_55->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_56			//			this->Text1->SetIndex(this->Text1_56, 56);			this->Text1_56->Location::set(System::Drawing::Point(95, 238));			this->Text1_56->MaxLength::set(1);			this->Text1_56->Multiline::set(true);			this->Text1_56->Name::set("Text1_56");			this->Text1_56->Size::set(System::Drawing::Size(22,22));			this->Text1_56->TabIndex::set(56);			this->Text1_56->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_56->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_57			//			this->Text1->SetIndex(this->Text1_57, 57);			this->Text1_57->Location::set(System::Drawing::Point(140, 238));			this->Text1_57->MaxLength::set(1);			this->Text1_57->Multiline::set(true);			this->Text1_57->Name::set("Text1_57");			this->Text1_57->Size::set(System::Drawing::Size(22,22));			this->Text1_57->TabIndex::set(57);			this->Text1_57->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_57->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_58			//			this->Text1->SetIndex(this->Text1_58, 58);			this->Text1_58->Location::set(System::Drawing::Point(171, 238));			this->Text1_58->MaxLength::set(1);			this->Text1_58->Multiline::set(true);			this->Text1_58->Name::set("Text1_58");			this->Text1_58->Size::set(System::Drawing::Size(22,22));			this->Text1_58->TabIndex::set(58);			this->Text1_58->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_58->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_59			//			this->Text1->SetIndex(this->Text1_59, 59);			this->Text1_59->Location::set(System::Drawing::Point(202, 238));			this->Text1_59->MaxLength::set(1);			this->Text1_59->Multiline::set(true);			this->Text1_59->Name::set("Text1_59");			this->Text1_59->Size::set(System::Drawing::Size(22,22));			this->Text1_59->TabIndex::set(59);			this->Text1_59->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_59->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_60			//			this->Text1->SetIndex(this->Text1_60, 60);			this->Text1_60->Location::set(System::Drawing::Point(246, 238));			this->Text1_60->MaxLength::set(1);			this->Text1_60->Multiline::set(true);			this->Text1_60->Name::set("Text1_60");			this->Text1_60->Size::set(System::Drawing::Size(22,22));			this->Text1_60->TabIndex::set(60);			this->Text1_60->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_60->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_61			//			this->Text1->SetIndex(this->Text1_61, 61);			this->Text1_61->Location::set(System::Drawing::Point(277, 238));			this->Text1_61->MaxLength::set(1);			this->Text1_61->Multiline::set(true);			this->Text1_61->Name::set("Text1_61");			this->Text1_61->Size::set(System::Drawing::Size(22,22));			this->Text1_61->TabIndex::set(61);			this->Text1_61->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_61->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_62			//			this->Text1->SetIndex(this->Text1_62, 62);			this->Text1_62->Location::set(System::Drawing::Point(308, 238));			this->Text1_62->MaxLength::set(1);			this->Text1_62->Multiline::set(true);			this->Text1_62->Name::set("Text1_62");			this->Text1_62->Size::set(System::Drawing::Size(22,22));			this->Text1_62->TabIndex::set(62);			this->Text1_62->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_62->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_63			//			this->Text1->SetIndex(this->Text1_63, 63);			this->Text1_63->Location::set(System::Drawing::Point(33, 269));			this->Text1_63->MaxLength::set(1);			this->Text1_63->Multiline::set(true);			this->Text1_63->Name::set("Text1_63");			this->Text1_63->Size::set(System::Drawing::Size(22,22));			this->Text1_63->TabIndex::set(63);			this->Text1_63->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_63->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_64			//			this->Text1->SetIndex(this->Text1_64, 64);			this->Text1_64->Location::set(System::Drawing::Point(64, 269));			this->Text1_64->MaxLength::set(1);			this->Text1_64->Multiline::set(true);			this->Text1_64->Name::set("Text1_64");			this->Text1_64->Size::set(System::Drawing::Size(22,22));			this->Text1_64->TabIndex::set(64);			this->Text1_64->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_64->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_65			//			this->Text1->SetIndex(this->Text1_65, 65);			this->Text1_65->Location::set(System::Drawing::Point(95, 269));			this->Text1_65->MaxLength::set(1);			this->Text1_65->Multiline::set(true);			this->Text1_65->Name::set("Text1_65");			this->Text1_65->Size::set(System::Drawing::Size(22,22));			this->Text1_65->TabIndex::set(65);			this->Text1_65->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_65->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_66			//			this->Text1->SetIndex(this->Text1_66, 66);			this->Text1_66->Location::set(System::Drawing::Point(140, 269));			this->Text1_66->MaxLength::set(1);			this->Text1_66->Multiline::set(true);			this->Text1_66->Name::set("Text1_66");			this->Text1_66->Size::set(System::Drawing::Size(22,22));			this->Text1_66->TabIndex::set(66);			this->Text1_66->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_66->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_67			//			this->Text1->SetIndex(this->Text1_67, 67);			this->Text1_67->Location::set(System::Drawing::Point(171, 269));			this->Text1_67->MaxLength::set(1);			this->Text1_67->Multiline::set(true);			this->Text1_67->Name::set("Text1_67");			this->Text1_67->Size::set(System::Drawing::Size(22,22));			this->Text1_67->TabIndex::set(67);			this->Text1_67->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_67->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_68			//			this->Text1->SetIndex(this->Text1_68, 68);			this->Text1_68->Location::set(System::Drawing::Point(202, 269));			this->Text1_68->MaxLength::set(1);			this->Text1_68->Multiline::set(true);			this->Text1_68->Name::set("Text1_68");			this->Text1_68->Size::set(System::Drawing::Size(22,22));			this->Text1_68->TabIndex::set(68);			this->Text1_68->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_68->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_69			//			this->Text1->SetIndex(this->Text1_69, 69);			this->Text1_69->Location::set(System::Drawing::Point(246, 269));			this->Text1_69->MaxLength::set(1);			this->Text1_69->Multiline::set(true);			this->Text1_69->Name::set("Text1_69");			this->Text1_69->Size::set(System::Drawing::Size(22,22));			this->Text1_69->TabIndex::set(69);			this->Text1_69->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_69->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_70			//			this->Text1->SetIndex(this->Text1_70, 70);			this->Text1_70->Location::set(System::Drawing::Point(277, 269));			this->Text1_70->MaxLength::set(1);			this->Text1_70->Multiline::set(true);			this->Text1_70->Name::set("Text1_70");			this->Text1_70->Size::set(System::Drawing::Size(22,22));			this->Text1_70->TabIndex::set(70);			this->Text1_70->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_70->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_71			//			this->Text1->SetIndex(this->Text1_71, 71);			this->Text1_71->Location::set(System::Drawing::Point(308, 269));			this->Text1_71->MaxLength::set(1);			this->Text1_71->Multiline::set(true);			this->Text1_71->Name::set("Text1_71");			this->Text1_71->Size::set(System::Drawing::Size(22,22));			this->Text1_71->TabIndex::set(71);			this->Text1_71->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_71->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_72			//			this->Text1->SetIndex(this->Text1_72, 72);			this->Text1_72->Location::set(System::Drawing::Point(33, 300));			this->Text1_72->MaxLength::set(1);			this->Text1_72->Multiline::set(true);			this->Text1_72->Name::set("Text1_72");			this->Text1_72->Size::set(System::Drawing::Size(22,22));			this->Text1_72->TabIndex::set(72);			this->Text1_72->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_72->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_73			//			this->Text1->SetIndex(this->Text1_73, 73);			this->Text1_73->Location::set(System::Drawing::Point(64, 300));			this->Text1_73->MaxLength::set(1);			this->Text1_73->Multiline::set(true);			this->Text1_73->Name::set("Text1_73");			this->Text1_73->Size::set(System::Drawing::Size(22,22));			this->Text1_73->TabIndex::set(73);			this->Text1_73->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_73->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_74			//			this->Text1->SetIndex(this->Text1_74, 74);			this->Text1_74->Location::set(System::Drawing::Point(95, 300));			this->Text1_74->MaxLength::set(1);			this->Text1_74->Multiline::set(true);			this->Text1_74->Name::set("Text1_74");			this->Text1_74->Size::set(System::Drawing::Size(22,22));			this->Text1_74->TabIndex::set(74);			this->Text1_74->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_74->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_75			//			this->Text1->SetIndex(this->Text1_75, 75);			this->Text1_75->Location::set(System::Drawing::Point(140, 300));			this->Text1_75->MaxLength::set(1);			this->Text1_75->Multiline::set(true);			this->Text1_75->Name::set("Text1_75");			this->Text1_75->Size::set(System::Drawing::Size(22,22));			this->Text1_75->TabIndex::set(75);			this->Text1_75->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_75->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_76			//			this->Text1->SetIndex(this->Text1_76, 76);			this->Text1_76->Location::set(System::Drawing::Point(171, 300));			this->Text1_76->MaxLength::set(1);			this->Text1_76->Multiline::set(true);			this->Text1_76->Name::set("Text1_76");			this->Text1_76->Size::set(System::Drawing::Size(22,22));			this->Text1_76->TabIndex::set(76);			this->Text1_76->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_76->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_77			//			this->Text1->SetIndex(this->Text1_77, 77);			this->Text1_77->Location::set(System::Drawing::Point(202, 300));			this->Text1_77->MaxLength::set(1);			this->Text1_77->Multiline::set(true);			this->Text1_77->Name::set("Text1_77");			this->Text1_77->Size::set(System::Drawing::Size(22,22));			this->Text1_77->TabIndex::set(77);			this->Text1_77->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_77->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_78			//			this->Text1->SetIndex(this->Text1_78, 78);			this->Text1_78->Location::set(System::Drawing::Point(246, 300));			this->Text1_78->MaxLength::set(1);			this->Text1_78->Multiline::set(true);			this->Text1_78->Name::set("Text1_78");			this->Text1_78->Size::set(System::Drawing::Size(22,22));			this->Text1_78->TabIndex::set(78);			this->Text1_78->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_78->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_79			//			this->Text1->SetIndex(this->Text1_79, 79);			this->Text1_79->Location::set(System::Drawing::Point(277, 300));			this->Text1_79->MaxLength::set(1);			this->Text1_79->Multiline::set(true);			this->Text1_79->Name::set("Text1_79");			this->Text1_79->Size::set(System::Drawing::Size(22,22));			this->Text1_79->TabIndex::set(79);			this->Text1_79->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_79->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			// Text1_80			//			this->Text1->SetIndex(this->Text1_80, 80);			this->Text1_80->Location::set(System::Drawing::Point(308, 300));			this->Text1_80->MaxLength::set(1);			this->Text1_80->Multiline::set(true);			this->Text1_80->Name::set("Text1_80");			this->Text1_80->Size::set(System::Drawing::Size(22,22));			this->Text1_80->TabIndex::set(80);			this->Text1_80->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;			this->Text1_80->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &Form1::Text1_KeyPress);			//			//Button1	        //			this->Button1->Location::set(System::Drawing::Point(369, 85));			this->Button1->Name::set("Button1");			this->Button1->Size::set(System::Drawing::Size(52, 26));			this->Button1->TabIndex::set(81);			this->Button1->Text::set("Reset");			this->Button1->Click += gcnew System::EventHandler(this, &Form1::Button1_Click);			//			//Button2	        //			this->Button2->Location::set(System::Drawing::Point(369, 149));			this->Button2->Name::set("Button1");			this->Button2->Size::set(System::Drawing::Size(52, 26));			this->Button2->TabIndex::set(83);			this->Button2->Text::set("Close");			this->Button2->Click += gcnew System::EventHandler(this, &Form1::Button2_Click);			//			//Button3	        //			this->Button3->Location::set(System::Drawing::Point(369, 117));			this->Button3->Name::set("Button1");			this->Button3->Size::set(System::Drawing::Size(52, 26));			this->Button3->TabIndex::set(82);			this->Button3->Text::set("Solve");			this->Button3->Click += gcnew System::EventHandler(this, &Form1::Button3_Click);			//			// Text1			//			// 			// Form1			// 			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;			this->ClientSize = System::Drawing::Size(450, 343);			this->Name = L"Form1";			this->Text = L"Form1";			this->Controls->Add(this->Text1_0);			this->Controls->Add(this->Text1_1);			this->Controls->Add(this->Text1_2);			this->Controls->Add(this->Text1_3);			this->Controls->Add(this->Text1_4);			this->Controls->Add(this->Text1_5);			this->Controls->Add(this->Text1_6);			this->Controls->Add(this->Text1_7);			this->Controls->Add(this->Text1_8);			this->Controls->Add(this->Text1_9);			this->Controls->Add(this->Text1_10);			this->Controls->Add(this->Text1_11);			this->Controls->Add(this->Text1_12);			this->Controls->Add(this->Text1_13);			this->Controls->Add(this->Text1_14);			this->Controls->Add(this->Text1_15);			this->Controls->Add(this->Text1_16);			this->Controls->Add(this->Text1_17);			this->Controls->Add(this->Text1_18);			this->Controls->Add(this->Text1_19);			this->Controls->Add(this->Text1_20);			this->Controls->Add(this->Text1_21);			this->Controls->Add(this->Text1_22);			this->Controls->Add(this->Text1_23);			this->Controls->Add(this->Text1_24);			this->Controls->Add(this->Text1_25);			this->Controls->Add(this->Text1_26);			this->Controls->Add(this->Text1_27);			this->Controls->Add(this->Text1_28);			this->Controls->Add(this->Text1_29);			this->Controls->Add(this->Text1_30);			this->Controls->Add(this->Text1_31);			this->Controls->Add(this->Text1_32);			this->Controls->Add(this->Text1_33);			this->Controls->Add(this->Text1_34);			this->Controls->Add(this->Text1_35);			this->Controls->Add(this->Text1_36);			this->Controls->Add(this->Text1_37);			this->Controls->Add(this->Text1_38);			this->Controls->Add(this->Text1_39);			this->Controls->Add(this->Text1_40);			this->Controls->Add(this->Text1_41);			this->Controls->Add(this->Text1_42);			this->Controls->Add(this->Text1_43);			this->Controls->Add(this->Text1_44);			this->Controls->Add(this->Text1_45);			this->Controls->Add(this->Text1_46);			this->Controls->Add(this->Text1_47);			this->Controls->Add(this->Text1_48);			this->Controls->Add(this->Text1_49);			this->Controls->Add(this->Text1_50);			this->Controls->Add(this->Text1_51);			this->Controls->Add(this->Text1_52);			this->Controls->Add(this->Text1_53);			this->Controls->Add(this->Text1_54);			this->Controls->Add(this->Text1_55);			this->Controls->Add(this->Text1_56);			this->Controls->Add(this->Text1_57);			this->Controls->Add(this->Text1_58);			this->Controls->Add(this->Text1_59);			this->Controls->Add(this->Text1_60);			this->Controls->Add(this->Text1_61);			this->Controls->Add(this->Text1_62);			this->Controls->Add(this->Text1_63);			this->Controls->Add(this->Text1_64);			this->Controls->Add(this->Text1_65);			this->Controls->Add(this->Text1_66);			this->Controls->Add(this->Text1_67);			this->Controls->Add(this->Text1_68);			this->Controls->Add(this->Text1_69);			this->Controls->Add(this->Text1_70);			this->Controls->Add(this->Text1_71);			this->Controls->Add(this->Text1_72);			this->Controls->Add(this->Text1_73);			this->Controls->Add(this->Text1_74);			this->Controls->Add(this->Text1_75);			this->Controls->Add(this->Text1_76);			this->Controls->Add(this->Text1_77);			this->Controls->Add(this->Text1_78);			this->Controls->Add(this->Text1_79);			this->Controls->Add(this->Text1_80);			this->Controls->Add(this->Button1);			this->Controls->Add(this->Button2);			this->Controls->Add(this->Button3);			(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->Text1))->EndInit();			this->ResumeLayout(false);			this->PerformLayout();			taken = new int[81];			previous = new int[81];		}#pragma endregion			int i;		int ii;		private: System::Void Button1_Click(System::Object^ sender, System::EventArgs^ e)				 {					 for (int iv=0; iv < 81; iv++)					 {						this->Text1[iv]->Text::set("");					 }				 }		private: System::Void Text1_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e)				 {					 short KeyAscii = e->KeyChar;					 if (KeyAscii < 48 || KeyAscii > 57)					 {						 if (KeyAscii != 8)						 {							 KeyAscii = 0;						 }					 }					 e->KeyChar = (int)KeyAscii;					 if (KeyAscii == 0)					 {						 e->Handled::set(true);					 }				 }		private: System::Void Button2_Click(System::Object^ sender, System::EventArgs^ e)				 {					 this->Close();				 }		private: System::Void Button3_Click(System::Object^ sender, System::EventArgs^ e)				 {					 for (int iv = 0; iv < 81; iv++)					 {						 if (this->Text1[iv]->Text != "")						 {							 this->Text1[iv]->Enabled::set(false);						 }						 taken[iv] = Microsoft::VisualBasic::Conversion::Val(this->Text1[i]->Text);					 }					 i = 0;					 ii = 1;					 RowCheck();				 }		private: System::Void RowCheck()				 {					 if (i > 80)					 {						 for (int w = 0; w < 81; w++)						 {							 this->Text1[w]->Enabled::set(true);						 }						 return;					 }					 if (this->Text1[i]->Text == "")					 {						 this->Text1[i]->Text::set(ii.ToString());						 if (i >= 0 && i <= 8)						 {							 CheckR(0,8);						 }						 else if (i >= 9 && i <= 17)						 {							 CheckR(9,17);						 }						 else if (i >= 18 && i <= 26)						 {							 CheckR(18,26);						 }						 else if (i >= 27 && i <= 35)						 {							 CheckR(27,35);						 }						 else if (i >= 36 && i <= 44)						 {							 CheckR(36,44);						 }						 else if (i >= 45 && i <= 53)						 {							 CheckR(45,53);						 }						 else if (i >= 54 && i <= 62)						 {							 CheckR(54,62);						 }						 else if (i >= 63 && i <= 71)						 {							 CheckR(63,71);						 }						 else if (i >= 72 && i <= 80)						 {							 CheckR(72,80);						 }						 else						 {							 return;						 }					 }					 else					 {						 i = i++;						 RowCheck();						 return;					 }					 if (this->Text1[i]->Text == "")					 {						 Validate();						 return;					 }					 else					 {						 CheckColumn();						 return;					 }					 i++;				 }		private: System::Void CheckColumn()				 {					 if (i % 9 == 0)					 {						 CheckC(0, 72);					 }					 else if (i % 9 == 1)					 {						 CheckC(1, 73);					 }					 else if (i % 9 == 2)					 {						 CheckC(2, 74);					 }					 else if (i % 9 == 3)					 {						 CheckC(3, 75);					 }					 else if (i % 9 == 4)					 {						 CheckC(4, 76);					 }					 else if (i % 9 == 5)					 {						 CheckC(5, 77);					 }					 else if (i % 9 == 6)					 {						 CheckC(6, 78);					 }					 else if (i % 9 == 7)					 {						 CheckC(7, 79);					 }					 else if (i % 9 == 8)					 {						 CheckC(8, 80);					 }					 if (this->Text1[i]->Text == "")					 {						 Validate();						 return;					 }					 else					 {						 CheckBox();						 return;					 }				 }		 private: System::Void CheckBox()				  {					  bool done = false;					  switch (i)					  {					  case 0: case 1: case 2: case 9: case 10: case 11: case 18:					  case 19: case 20:						  done = CheckB(0,3);						  if (done) break;						  done = CheckB(9,11);						  if (done) break;						  done = CheckB(18,20);						  break;					  case 3: case 4: case 5: case 12: case 13: case 14: case 21:					  case 22: case 23:						  done = CheckB(3,5);						  if (done) break;						  done = CheckB(12,14);						  if (done) break;						  done = CheckB(21,22);						  break;					  case 6: case 7: case 8: case 15: case 16: case 17: case 24:					  case 25: case 26:						  done = CheckB(6,8);						  if (done) break;						  done = CheckB(15,17);						  if (done) break;						  done = CheckB(24,26);						  break;					  case 27: case 28: case 29: case 36: case 37: case 38: case 45:					  case 46: case 47:						  done = CheckB(27,29);						  if (done) break;						  done = CheckB(36,38);						  if (done) break;						  done = CheckB(45,47);						  break;					  case 30: case 31: case 32: case 39: case 40: case 41: case 48:					  case 49: case 50:						  done = CheckB(30,32);						  if (done) break;						  done = CheckB(39,41);						  if (done) break;						  done = CheckB(48,50);						  break;					  case 33: case 34: case 35: case 42: case 43: case 44: case 51:					  case 52: case 53:						  done = CheckB(33,35);						  if (done) break;						  done = CheckB(42,44);						  if (done) break;						  done = CheckB(51,53);						  break;					  case 54: case 55: case 56: case 63: case 64: case 65: case 72:					  case 73: case 74:						  done = CheckB(54,56);						  if (done) break;						  done = CheckB(63,65);						  if (done) break;						  done = CheckB(72,74);						  break;					  case 57: case 58: case 59: case 66: case 67: case 68: case 75:					  case 76: case 77:						  done = CheckB(57,59);						  if (done) break;						  done = CheckB(66,68);						  if (done) break;						  done = CheckB(75,77);						  break;					  case 60: case 61: case 62: case 69: case 70: case 71: case 78:					  case 79: case 80:						  done = CheckB(60,62);						  if (done) break;						  done = CheckB(69,71);						  if (done) break;						  done = CheckB(78,80);						  break;					  }					  if (this->Text1[i]->Text == "")					  {						  Validate();						  return;					  }					  else					  {						  taken[i] = ii;						  previous[i] = ii;						  i++;						  ii = 1;						  RowCheck();						  return;					  }				  }		  private: System::Void CheckR(int start, int end)				   {					   for (int v = start; v <= end; v++)					   {						   if (taken[v] = ii)						   {							   this->Text1[i]->Text::set("");							   break;						   }					   }				   }		  private: System::Void CheckC(int start, int end)				   {					   for (int v = start; v <= end; v += 9)					   {						   if (taken[v] == i)						   {							   this->Text1[i]->Text::set("");						   }					   }				   }		  private: System::Boolean CheckB(int start, int end)				   {					  for (int a = start; a <= end; a++)					  {						  if (i != a && taken[a] == ii)						  {							  this->Text1[i]->Text::set("");							  return true;						  }					  }					  return false;				   }		   private: System::Boolean Validate()					{						if (ii == 9)						 {							 i--;							 for (int vi = 0; vi <= 9; vi++)							 {								 if (this->Text1[i]->Enabled == true && previous[i] != 9)								 {									 break;								 }								 else								 {									 if (this->Text1[i]->Enabled == false)									 {										 i--;									 }									 if (previous[i] == 9)									 {										 this->Text1[i]->Text::set("");										 i--;									 }								 }							 }							 ii = previous[i] + 1;							 this->Text1[i]->Text::set("");							 for (int vii = i; vii <= (i+10); vii++)							 {								 taken[vii] = 0;							 }							 RowCheck();							 return;						 }						 else						 {							 ii++;							 RowCheck();							 return;						 }					}	};}