button1->DialogResult = System::Windows::Forms::DialogResult::OK ;//Make this “OK” button
Button* button2 = new Button();
button2->Location = System::Drawing::Point(150, 100); button2->Size = System::Drawing::Size(60, 20); button2->TabIndex = 6;
button2->Text = “Cancel”;
//Left
TextBox* textBox1 = new TextBox();
textBox1->Location = System::Drawing::Point(80, 15); textBox1->Text = “10”; //pActiveDoc->nThinWidth.ToString(); textBox1->TabIndex = 1;
textBox1->Size = System::Drawing::Size(64, 20);
//Top
TextBox* textBox2 = new TextBox();
textBox2->Location = System::Drawing::Point(80, 45); textBox2->Text = “10”; //pActiveDoc->nThickWidth.ToString(); textBox2->TabIndex = 2;
textBox2->Size = System::Drawing::Size(64, 20);
Label* label1 = new Label();
label1->Location = System::Drawing::Point(15, 20); label1->Text = “Point1-X:”;
label1->Size = System::Drawing::Size(55, 16); label1->TabIndex = 3;
Label* label2 = new Label();
label2->Location = System::Drawing::Point(15, 50); label2->Text = “Point1-Y:”;
label2->Size = System::Drawing::Size(55, 16); label2->TabIndex = 4;
//PSK START
TextBox* textBox3 = new TextBox();
textBox3->Location = System::Drawing::Point(220, 15);