private void InitInner(bool isNew) { UCRecordForMultiply recordForMultiply = new UCRecordForMultiply(m_NoOfFirstPage, m_Host, m_ConsultApplySn); recordForMultiply.Location = new Point(40, 10); recordForMultiply.ApplyInfoReadOnly(); panelRecord.Controls.Add(recordForMultiply); }
public void ReadOnlyControl() { foreach (Control control in panelRecord.Controls) { UCRecordForMultiply recordForMultiply = control as UCRecordForMultiply; recordForMultiply.ReadOnlyControl(); break; } }