DocumentControlは私のユーザーコントロールであり、関数に次の行を記述しましたが、値が空白になっています。
var DocumentControl1 = new DocumentControl();
string docCode= DocumentControl1.txtDocCode.Text;
DocumentControlは私のユーザーコントロールであり、関数に次の行を記述しましたが、値が空白になっています。
var DocumentControl1 = new DocumentControl();
string docCode= DocumentControl1.txtDocCode.Text;