想在窗口中做个按钮,将文本控件的值加入到全局代码中,代码要怎么写?
比如全局代码中已经写入 Public wo As String
窗口文本控件中的值为"未知|已知" ,点下按纽后 全局代码中 Public wo As String = "未知|已知" 并永久保存在 全局代码中
这个代码要怎么写