我的表单中有 Gridview,如果我单击 Gridview 上的按钮,我会得到 Focused Row 的列值并尝试在下一个表单中使用该值。但是在这样的新形式错误中
public partial class New_Invoice : DevExpress.XtraEditors.XtraForm
{
string getOper = "A";
public New_Invoice()
{
InitializeComponent();
}
public New_Invoice(string oper, int invoiceno)
{
// TODO: Complete member initialization
textEdit5.Text = invoiceno.ToString(); // error shown in this line
textEdit5.Visible = false;
getOper = oper;
}
我的代码有什么问题?