add ILoadContentAsync
This commit is contained in:
@@ -21,6 +21,8 @@ public partial class RadDialogBase : RadForm
|
||||
{
|
||||
if (DialogPanel is ILoadContent iLoadContent)
|
||||
iLoadContent.LoadContent();
|
||||
else if (DialogPanel is ILoadContentAsync iLoadContentAsync)
|
||||
Task.Run(iLoadContentAsync.LoadContentAsync).Wait();
|
||||
|
||||
DialogLoading?.Invoke(new DialogLoadingEventArgs(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user