private void SetDropdownValues() { UIStateRoutines.SetSelectedDropdownValue(cbNotionalNozzleModel, (string)QraStateContainer.Instance.GetValueSimple <string>("NozzleModel")); //(string)QraStateContainer.Instance.GlobalData["NozzleModel"]); UIStateRoutines.SetSelectedDropdownValue(cbDeflagrationModel, (string)QraStateContainer.Instance.GetValueSimple <string>("DeflagrationModel")); //(string)QraStateContainer.Instance.GlobalData["DeflagrationModel"]); UIStateRoutines.SetSelectedDropdownValue(cbThermalProbitModel, (string)QraStateContainer.Instance.GetValueSimple <string>("ThermalProbit")); //(string)QraStateContainer.Instance.GlobalData["ThermalProbit"]); UIStateRoutines.SetSelectedDropdownValue(cbOverpressureProbitModel, (string)QraStateContainer.Instance.GetValueSimple <string>("OPPROBIT")); //(string)QraStateContainer.Instance.GlobalData["OPPROBIT"]); }
private void SetupUI() { UIStateRoutines.SetNarrative(tbNarrative, BackColor, QRA_Frontend.Resources.Narratives.harm_models); SetDropdownDefaults(); }