namespace Verify
|
{
|
public partial class WaitFormStyle1 : DevExpress.XtraWaitForm.WaitForm
|
{
|
public WaitFormStyle1()
|
{
|
InitializeComponent();
|
this.progressPanel1.AutoHeight = true;
|
|
|
//if (Verify.Localization.Current == Eventech.Model.eLocalizationType.ru)
|
//{
|
// progressPanel1.Caption = "подожди... ";
|
//}
|
//else if (Verify.Localization.Current == Eventech.Model.eLocalizationType.enUS)
|
//{
|
// progressPanel1.Caption = "please waiting......";
|
//}
|
|
|
//this.pictureBox2.Image = Verify.CorpSettingHelper.GetWaitingFormImage();
|
//this.progressPanel1.AppearanceCaption.ForeColor = Verify.CorpSkinStyleHelper.SkinMainColor;
|
//DevExpress.XtraSplashScreen.SplashScreenManager.ShowForm(this, typeof(WaitForm), true, true, true);
|
//Verify.WaitFrmHelper.HideWaitForm();
|
//DevExpress.XtraSplashScreen.SplashScreenManager.Default.SetWaitFormCaption("正在创建销售项目");
|
//DevExpress.XtraSplashScreen.SplashScreenManager.Default.SetWaitFormDescription("请稍等待");
|
}
|
|
|
|
#region Overrides
|
|
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);
|
}
|
|
#endregion
|
|
}
|
}
|