我想在我的消息框中显示文本框文本不断出现错误。消息框中包含textbox.text
MessageBox.Show(textBox1.text + "Saved As PDF");
,误差
Error 1 'System.Windows.Forms.TextBox' does not contain a definition for
'text' and no extension method 'text' accepting a first argument of type
'System.Windows.Forms.TextBox' could be found (are you missing a using
directive or an assembly reference?)
R:\Engineer\Russell Saari\CONFIGURATOR MODELS\MLD028 Userform (C# Coding)\WindowsFormsApplication2\MLD028D Actuator Form Complete.cs 118 38 WindowsFormsApplication
什么是错误? – ChrisF
查看Brandon的回答。你应该在你的问题中包含这个。使用[编辑](http://stackoverflow.com/posts/7325662/edit)链接。 – ChrisF