这第一个代码是去form5
private: System::Void btnSend_Click(System::Object^ sender, System::EventArgs^ e) {
MessageBox::Show("Updated task was sent to project manager.");
Form5^ f5 = gcnew Form5();
f5->ShowDialog();
}
但我认为这与我想在 form5 上回到 form4 是一样的
private: System::Void btnBack_Click(System::Object^ sender, System::EventArgs^ e) {
this->Hide();
Form4^ f4 = gcnew Form4();
f4->ShowDialog();
}
但是我遇到了很多错误,请帮帮我?