There is a textBox1. Code:
this->textBox1->Location = System::Drawing::Point(233, 20); this->textBox1->Name = L"textBox1"; this->textBox1->Size = System::Drawing::Size(100, 20); this->textBox1->TabIndex = 4; this->textBox1->TextChanged += gcnew System::EventHandler(this, &Form1::textBox1_TextChanged);
And there is a button (that's where the type is when it is pressed). Code:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { // тут например арифметические действия с числом textBox1->TextChanged }
How to read the value of textBox1->TextChanged
and in the button convert the type of this value into an int?