Beispiel #1
0
 /// <summary>
 /// Gets the string.
 /// </summary>
 /// <param name="className">Name of the class.</param>
 /// <param name="messageName">Name of the message.</param>
 /// <returns></returns>
 internal static string GetString(string className, string messageName)
 {
     return(MultilanguageResource.GetStringInternal(String.Format("{0}_{1}", className, messageName)));
 }
Beispiel #2
0
 /// <summary>
 /// Gets the string.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <returns></returns>
 internal static string GetString(string key)
 {
     return(MultilanguageResource.GetStringInternal(key));
 }
Beispiel #3
0
 /// <summary>
 /// Gets the string.
 /// </summary>
 /// <param name="form">The form.</param>
 /// <returns></returns>
 internal static string GetString(Form form)
 {
     return(MultilanguageResource.GetStringInternal(String.Format("{0}.Text", form.Name)));
 }