public MainWindow() { InitializeComponent(); ParserXML parser = new ParserXML(); parser.ParseFile(); var viewModel = new TubesheetModel(parser.diameter, parser.pitch, parser.listOfElements); this.DataContext = viewModel; }
internal void ConnectTubesheet(TubesheetModel tubesheetModel) { CollectAllTubes(tubesheetModel.Tubes); }