public Task ShowMetroDialogAsync(object context, BaseMetroDialog dialog, MetroDialogSettings settings = null) { return(DialogCoordinator.GetMetroWindow(context).ShowMetroDialogAsync(dialog, settings)); }
public Task <ProgressDialogController> ShowProgressAsync(object context, string title, string message, bool isCancelable = false, MetroDialogSettings settings = null) { MetroWindow metroWindow = DialogCoordinator.GetMetroWindow(context); return(metroWindow.ShowProgressAsync(title, message, isCancelable, settings)); }
public Task <MessageDialogResult> ShowMessageAsync(object context, string title, string message, MessageDialogStyle style = 0, MetroDialogSettings settings = null) { MetroWindow metroWindow = DialogCoordinator.GetMetroWindow(context); return(metroWindow.ShowMessageAsync(title, message, style, settings)); }
public Task <LoginDialogData> ShowLoginAsync(object context, string title, string message, LoginDialogSettings settings = null) { MetroWindow metroWindow = DialogCoordinator.GetMetroWindow(context); return(metroWindow.ShowLoginAsync(title, message, settings)); }
public Task <string> ShowInputAsync(object context, string title, string message, MetroDialogSettings metroDialogSettings = null) { MetroWindow metroWindow = DialogCoordinator.GetMetroWindow(context); return(metroWindow.ShowInputAsync(title, message, metroDialogSettings)); }
public Task <TDialog> GetCurrentDialogAsync <TDialog>(object context) where TDialog : BaseMetroDialog { return(DialogCoordinator.GetMetroWindow(context).GetCurrentDialogAsync <TDialog>()); }
static DialogCoordinator() { Class6.yDnXvgqzyB5jw(); DialogCoordinator.Instance = new DialogCoordinator(); }