using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Telerik.Windows.Controls; namespace SGSGHome { public class MyLocalizationManager : LocalizationManager { public override string GetStringOverride(string key) { switch (key) { case "UploadUpload": return "上传"; case "UploadCancel": return "取消"; case "UploadBrowse": return "浏览"; case "UploadCaptionSelect": return "选择文件"; case "UploadTotal": return "文件大小"; case "UploadBrowseAppend": return "上传多个文件"; case "UploadCaptionUploading": return "上传中..."; case "UploadPause": return "暂停"; case "UploadResume": return "继续"; case "UploadCaptionUploaded": return "上传完成"; } return base.GetStringOverride(key); } } }
private void Application_Startup(object sender, StartupEventArgs e) {
Telerik.Windows.Controls.LocalizationManager.Manager = new MyLocalizationManager(); }