AODL.Document.Content.Tables.Table.FindControlById C# (CSharp) Method

FindControlById() public method

Looks for a specific control through all the forms by its ID
public FindControlById ( string id ) : ODFFormControl
id string Control ID
return AODL.Document.Forms.Controls.ODFFormControl
		public ODFFormControl FindControlById(string id)
		{
			foreach (ODFForm f in Forms)
			{
				ODFFormControl fc = f.FindControlById(id, true);
				if (fc !=null)
					return fc;
			}
			return null;
		}