Exemple #1
0
 /// <summary>
 /// Función que permite agregar una tabla al DataModelDocumentWpf.
 /// </summary>
 /// <param name="newTable">Tabla a ser agregada.</param>
 public void AddTable(TableWpf newTable)
 {
     if (newTable == null)
     {
         throw new ArgumentNullException("newTable", "newTable can not be null");
     }
     MyDataModel.AddTable(newTable);
     AttachWidgetEvent(newTable);
     canvasDraw.Children.Add(newTable.UIElement);
 }