ab56a9bcf7
SVN-Revision: r240
30 lines
859 B
C#
30 lines
859 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using DevExpress.XtraEditors.Controls;
|
|
|
|
namespace Lskj.Control.Model
|
|
{
|
|
public class MessboxClass : Localizer
|
|
{
|
|
public override string GetLocalizedString(DevExpress.XtraEditors.Controls.StringId id)
|
|
{
|
|
switch (id)
|
|
{
|
|
case StringId.XtraMessageBoxCancelButtonText:
|
|
return "取消";
|
|
case StringId.XtraMessageBoxOkButtonText:
|
|
return "确定";
|
|
case StringId.XtraMessageBoxYesButtonText:
|
|
return "是";
|
|
case StringId.XtraMessageBoxNoButtonText:
|
|
return "显示报错信息";
|
|
default:
|
|
return base.GetLocalizedString(id);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|