Beispiel #1
0
 public static void ApplyUICulture(CultureSettings culture)
 {
     // first we set the properties that Sharpdevelop awaits to change its language,
     Current.PropertyService.SetValue("CoreProperties.UILanguage", culture.NeutralCultureName);
     System.Threading.Thread.CurrentThread.CurrentUICulture = culture.Culture;
     Altaxo.Serialization.GUIConversion.CultureSettings     = culture.Culture;
 }
Beispiel #2
0
		public static void ApplyDocumentCulture(CultureSettings culture)
		{
			System.Threading.Thread.CurrentThread.CurrentCulture = culture.Culture;
		}
Beispiel #3
0
		public static void ApplyUICulture(CultureSettings culture)
		{
			// first we set the properties that Sharpdevelop awaits to change its language,
			Current.PropertyService.Set("CoreProperties.UILanguage", culture.NeutralCultureName);
			System.Threading.Thread.CurrentThread.CurrentUICulture = culture.Culture;
			Altaxo.Serialization.GUIConversion.CultureSettings = culture.Culture;
		}
Beispiel #4
0
		/// <summary>Copies from another instance.</summary>
		/// <param name="from">Other instance to copy from.</param>
		protected CultureSettings(CultureSettings from)
		{
			CopyFrom(from);
		}
Beispiel #5
0
 public static void ApplyDocumentCulture(CultureSettings culture)
 {
     System.Threading.Thread.CurrentThread.CurrentCulture = culture.Culture;
 }
Beispiel #6
0
 /// <summary>Copies from another instance.</summary>
 /// <param name="from">Other instance to copy from.</param>
 protected CultureSettings(CultureSettings from)
 {
     CopyFrom(from);
 }