public void OpenTable(string tableName, Action <TableInter> callBack) { if (_tables.ContainsKey(tableName)) { callBack(_tables[tableName]); } else { var newTable = new TableInter(_data, tableName); _tables.Add(tableName, newTable); newTable.Open(callBack); } }
public void Dispose() { TableSelected = null; _data = null; _tables = null; }