public void Load(SignalModel model)
{
if (model != null)
{
foreach (SignalAttribute signalAttribute in model.Attributes)
{
DataGridViewRow row = (DataGridViewRow)dgInterfaces.RowTemplate.Clone();
row.CreateCells(dgInterfaces, signalAttribute.Name, "");
dgInterfaces.Rows.Add(row);
}
}
}