private void OnTerminologyChanged(DataSheetMonitorEventArgs e) { string NewTimestepsText = Convert.ToString( e.GetValue("TimestepUnits", "Timestep"), CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture); this.LabelTimesteps.Text = NewTimestepsText; }
private void OnTerminologyChanged(DataSheetMonitorEventArgs e) { this.CheckBoxSplitSecStrat.Text = string.Format(CultureInfo.InvariantCulture, "Split non-spatial runs by {0}", Convert.ToString( e.GetValue(Strings.DATASHEET_TERMINOLOGY_SECONDARY_STRATUM_LABEL_COLUMN_NAME), CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); }
protected override void OnDataSheetChanged(DataSheetMonitorEventArgs e) { base.OnDataSheetChanged(e); string psl = e.GetValue("PrimaryStratumLabel", "Stratum"); string ssl = e.GetValue("SecondaryStratumLabel", "Secondary Stratum"); string tsl = e.GetValue("TertiaryStratumLabel", "Tertiary Stratum"); this.Columns[Constants.FROM_STRATUM_ID_COLUMN_NAME].DisplayName = string.Format(CultureInfo.InvariantCulture, "From {0}", psl); this.Columns[Constants.FROM_SECONDARY_STRATUM_ID_COLUMN_NAME].DisplayName = string.Format(CultureInfo.InvariantCulture, "From {0}", ssl); this.Columns[Constants.FROM_TERTIARY_STRATUM_ID_COLUMN_NAME].DisplayName = string.Format(CultureInfo.InvariantCulture, "From {0}", tsl); this.Columns[Constants.TO_STRATUM_ID_COLUMN_NAME].DisplayName = string.Format(CultureInfo.InvariantCulture, "To {0}", psl); this.Columns[Constants.TRANSFER_TO_STRATUM_ID_COLUMN_NAME].DisplayName = string.Format(CultureInfo.InvariantCulture, "Transfer to {0}", psl); this.Columns[Constants.TRANSFER_TO_SECONDARY_STRATUM_ID_COLUMN_NAME].DisplayName = string.Format(CultureInfo.InvariantCulture, "Transfer to {0}", ssl); this.Columns[Constants.TRANSFER_TO_TERTIARY_STRATUM_ID_COLUMN_NAME].DisplayName = string.Format(CultureInfo.InvariantCulture, "Transfer to {0}", tsl); }
private void OnTerminologyChanged(DataSheetMonitorEventArgs e) { string t = Convert.ToString( e.GetValue("TimestepUnits", "Timestep"), CultureInfo.InvariantCulture). ToLower(CultureInfo.InvariantCulture); this.LabelStartTimestep.Text = string.Format(CultureInfo.InvariantCulture, "Start {0}:", t); this.LabelEndTimestep.Text = string.Format(CultureInfo.InvariantCulture, "End {0}:", t); }
private void OnTerminologyChanged(DataSheetMonitorEventArgs e) { string t = Convert.ToString( e.GetValue("PrimaryStratumLabel", "Stratum"), CultureInfo.InvariantCulture); this.DisplayName = string.Format(CultureInfo.InvariantCulture, "{0} Probability", t); }
private void OnTerminologyChanged(DataSheetMonitorEventArgs e) { string t = Convert.ToString( e.GetValue("TimestepUnits", "timestep"), CultureInfo.InvariantCulture). ToLower(CultureInfo.InvariantCulture); this.LabelSummarySTTimesteps.Text = t; this.LabelSummaryFLTimesteps.Text = t; this.LabelSpatialSTTimesteps.Text = t; this.LabelSpatialFLTimesteps.Text = t; this.LabelLateralFLTimesteps.Text = t; this.LabelAvgSpatialSTTimesteps.Text = t; this.LabelAvgSpatialFLTimesteps.Text = t; this.LabelAvgSpatialLFLTimesteps.Text = t; }