private void buttonRefresh_Click(object sender, EventArgs e) { // get UI input of options m_model.SetTier(this.comboBoxTier.SelectedText); m_model.Options.ExportMullions = this.checkBoxExportMullions.Checked; m_model.Options.IncludeShadingSurfaces = this.checkBoxIncludeShadingSurfaces.Checked; m_model.Options.SimplifyCurtainSystems = this.checkBoxSimplifyCurtainSystems.Checked; m_model.Initialize(); m_model.RefreshAnalysisData(treeViewAnalyticalData); // expand all child treeViewAnalyticalData.ExpandAll(); this.Refresh(); }