您好所有
我呼吁,以另一种形式的名称frmSearch
的的功能frmSearch(字符串formName,表格_for)可以接受任何形式(例如frmManagementFile,frmClient,....)frmSearch fsearch = new frmSearch("formName", this);
fsearch.Show();
public frmSearch(string formName, Form _form)
{
switch (formName)
{
case "client":
_form.txtBoxclient.Text = value; //Error can not find control
break;
case "provider":
_form.txtBoxprovidet.Text = value; //Error can not find control
}
在vb.net本funcionality执行。
如何我可以修改控制鞣花形式的价值,只有一个方法,公共frmSearch(字符串formName,表格_form),?
的问候和感谢的