public void InstallComponent(Control textBox, Label label) { InstallComponent(textBox, info.GetField(textBox.Name), label); comps.Add(textBox.Name, textBox); if (label != null) { labels.Add(textBox.Name, label); } }
public void InstallComponent(Control textBox, DataInfo info, Label label) { InstallComponent(textBox, info.GetField(textBox.Name), label); }