已经犯了两次这个错误,我必须拿小本本把他记下来,不然对不起我自己。使用winform时,出现无法将类型“string”隐式转换为"System.Windows.Forms.TextBox"的错误。

使用winform时,出现无法将类型“string”隐式转换为"System.Windows.Forms.TextBox"的错误。

使用winform时,出现无法将类型“string”隐式转换为"System.Windows.Forms.TextBox"的错误。

如果出现这个问题,是因为在winform中,将某个控件的名称写成了Name

哎,说多了就是泪,拿小本本记下来,以后就不会犯错了。使用winform时,出现无法将类型“string”隐式转换为"System.Windows.Forms.TextBox"的错误。

相关文章:

  • 2022-01-18
  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
  • 2021-11-12
相关资源
相似解决方案