0

有人知道如何重命名表单 onLoad?我试过了:

private: System::Void General_Load(System::Object^  sender, System::EventArgs^  e) {
         String^ test = "test";
         String^ x= "General: " + test;
         this->Name = x;
         }

但它不起作用。

4

1 回答 1

1

我应该使用 this->Text = x; 不是这个->名称= x;

于 2012-07-21T17:23:16.997 回答