Работаю с формами в VisualStudio C++.
Создала TextBox1 и Button1. Хочу, чтобы при нажатии на Button1 в переменную perem считывалось значение из TextBox1.
В Form1.h:
private: System::Void button1_Click_1(System::Object^ sender, System::EventArgs^ e) {
float perem;
TextBox->???
}
Что писать после TextBox->?