RefreshAnalysisData() public method

Get Analytical data and pass them to UI controls
public RefreshAnalysisData ( TreeView treeView ) : void
treeView System.Windows.Forms.TreeView
return void
コード例 #1
0
        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();
        }