namespace Verify
|
{
|
public partial class WaitFormStyle2 : DevExpress.XtraWaitForm.WaitForm
|
{
|
public WaitFormStyle2()
|
{
|
InitializeComponent();
|
|
//if (Verify.Localization.Current == Eventech.Model.eLocalizationType.ru)
|
//{
|
// progressPanel1.Caption = "подожди... ";
|
//}
|
//else if (Verify.Localization.Current == Eventech.Model.eLocalizationType.enUS)
|
//{
|
// progressPanel1.Caption = "please waiting......";
|
//}
|
//else if (Verify.Localization.Current == Eventech.Model.eLocalizationType.es)
|
//{
|
// progressPanel1.Caption = "Por favor espere.......";
|
//}
|
//else if (Verify.Localization.Current == Eventech.Model.eLocalizationType.ko)
|
//{
|
// progressPanel1.Caption = "잠시만 기다리세요 로드 중...";
|
//}
|
|
//this.labelControlCorpName.Text = IStation.GlobeParas.GetCorpFullName(Verify.Localization.Current);
|
|
//this.labelControlVersion.ForeColor = this.labelControlCorpName.ForeColor =
|
//this.progressPanel1.AppearanceCaption.ForeColor = Verify.CorpSkinStyleHelper.SkinMainColor;
|
//this.pictureBox2.Image = Verify.CorpSettingHelper.GetWaitingFormImage();
|
}
|
|
|
|
public override void SetCaption(string caption)
|
{
|
base.SetCaption(caption);
|
this.progressPanel1.Caption = caption;
|
}
|
public override void SetDescription(string description)
|
{
|
base.SetDescription(description);
|
this.progressPanel1.Description = description;
|
}
|
public override void ProcessCommand(Enum cmd, object arg)
|
{
|
if (arg != null)
|
SetCaption(arg.ToString());
|
|
base.ProcessCommand(cmd, arg);
|
}
|
}
|
}
|