CesLoadScreen - CesSolutions/Ces.WinForm.UI GitHub Wiki

Description / توضیح

"CesLoadingScreen" locate in front of control or container to show user that current operation is running and must wait.

این کنترل در جلوی یک کنترل دیگر و یا نگهدارنده کنترل‌ها قرار می‌گیرد تا به کاربر اعلام کند که عملیات در حال انجام است و باید صبر کند

  • CesTitle : Default title is "Loading..." and user can define his own title.
  • CesTitle : عنوان پیش‌فرض Loading... است و کاربر می‌تواند عنوان دلخواه خود را تعیین کند

Methods / متدها

  • Create: If you call this static method, new load screen appear and method return an "Form" as a result that developer can dispose loading screen after operation ended. This method has two parameters:
    • control: Loading screen will appear in front of this control. The control can be a form as well
    • coverParentContainer: Cover all area of parent control (container) in which current control exist
  • Dispose: Dispose loading screen.
  • Create: آگر این متد استاتیک را اجرا کنید یک صفحه loading ظاهر می شود و این متد یک مقدار از نوع Form برمیگرداند که در انتها عملیات می‌توانید آن را Dispose کنید.
    • control: صفحه Loading در مقابل این کنترل ظاهر خواهد شد. کنترلی که معرفی می‌کنید می تواند یک فرم نیز باشد
    • coverParentContainer: صفحه Loading تمام ناحیه کنترلی والد که کنترل جاری در آن وجود دارد را می پوشاند
  • Dispose: فرم Loading را Dispose خواهد کرد

Example / مثال

var loading = Ces.WinForm.UI.CesLoadingScreen.Create(this);
//await MyMethodAsync();
loading.Dispose();
⚠️ **GitHub.com Fallback** ⚠️