在 asp.net 我这样使用:
gridView_Desti.Columns["CODE_DEST"].Caption = (string) HttpContext.GetGlobalResourceObject("Client", "Code_Dest");
我怎样才能在 WinForm 上做同样的事情?
Client 是资源名称文件 --> Client.resx
Code_Dest 是 Client.resx 上的字符串 --> 字符串 Code_Dest,值 Code Destinataire