Ejemplo n.º 1
0
 private void ShowHideProgress(bool ShowHide)
 {
     if (ShowHide)
     {
         PnlProg.Invoke(new MethodInvoker(() => { PnlProg.Show(); layoutControlItemPnlProg.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always; }));
     }
     else
     {
         PnlProg.Invoke(new MethodInvoker(() => { PnlProg.Hide(); layoutControlItemPnlProg.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; }));
     }
     Application.DoEvents();
 }
Ejemplo n.º 2
0
 private void ChangeProgressCaption(string Caption)
 {
     PnlProg.Invoke(new MethodInvoker(() => { PnlProg.Caption = Caption; }));
     Application.DoEvents();
 }