📜  c# 字符串来控制名称 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:23.161000             🧑  作者: Mango

代码示例1
// I want to convert a string into a control name (c#, .net)
this.Controls.Find("variableName", true)[0] 
// Change the variableName with the name of your string.
// Source: https://stackoverflow.com/questions/12055648/converting-string-to-a-control-name-in-c-sharp
// If this helped you, please leave a like :)