mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
23 lines
603 B
C#
23 lines
603 B
C#
using Immense.RemoteControl.Desktop.UI.Controls.Dialogs;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Immense.RemoteControl.Desktop.UI.Services;
|
|
|
|
public interface IDialogProvider
|
|
{
|
|
Task<MessageBoxResult> Show(string message, string caption, MessageBoxType type);
|
|
}
|
|
|
|
internal class DialogProvider : IDialogProvider
|
|
{
|
|
public async Task<MessageBoxResult> Show(string message, string caption, MessageBoxType type)
|
|
{
|
|
return await MessageBox.Show(message, caption, type);
|
|
}
|
|
}
|