SetTier() публичный Метод

This method converts UI selected string to EnergyAnalysisDetailModelTier enum
public SetTier ( String tierValue ) : void
tierValue String Selected string from UI
Результат 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();
        }