private void UpdateProgress(float progress) { stateBar.Fraction = progress; stateBar.ProgressText = String.Format ("{0}... {1:0.0}%", Catalog.GetString ("Rendering"), progress * 100); }