/// <summary> /// Get all file data and close all veiw/map tabs, so when we open them we refresh their data with the new data /// </summary> public void Getfichero(ReadFiles file) { this.Archivo = file; listaCAT10 = Archivo.GetListCAT10(); listaCAT21v21 = Archivo.GetListCAT21v21(); listaCAT21v23 = Archivo.GetListCAT21v23(); listaCATALL = Archivo.GetListCATALL(); this.TableCat10 = Archivo.GetTablaCAT10(); this.TableCat21v21 = Archivo.GetTablaCAT21v21(); this.TableCat21v23 = Archivo.GetTablaCAT21v23(); this.TableAll = Archivo.GetTablaAll(); if (mapstarted == true) { mapform = new MapView(); mapstarted = false; } if (CAT10started == true) { viewCat10 = new View(); CAT10started = false; } if (CAT21v21started == true) { viewCat21 = new View(); CAT21v21started = false; } if (CAT21v23started == true) { viewCat23 = new View(); CAT21v23started = false; } if (CATAllstarted == true) { viewAll = new View(); CATAllstarted = false; } }