namespace IStation.Win { public partial class WaitFormStyle2 : DevExpress.XtraWaitForm.WaitForm { public WaitFormStyle2() { InitializeComponent(); //if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.ru) //{ // progressPanel1.Caption = "подожди... "; //} //else if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.enUS) //{ // progressPanel1.Caption = "please waiting......"; //} //else if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.es) //{ // progressPanel1.Caption = "Por favor espere......."; //} //else if (IStation.Win.Localization.Current == Eventech.Model.eLocalizationType.ko) //{ // progressPanel1.Caption = "잠시만 기다리세요 로드 중..."; //} //this.labelControlCorpName.Text = IStation.GlobeParas.GetCorpFullName(IStation.Win.Localization.Current); //this.labelControlVersion.ForeColor = this.labelControlCorpName.ForeColor = //this.progressPanel1.AppearanceCaption.ForeColor = IStation.Win.CorpSkinStyleHelper.SkinMainColor; //this.pictureBox2.Image = IStation.Win.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); } } }