mirror of
https://github.com/DevExpress/netcore-winforms-demos.git
synced 2026-01-07 01:03:58 +00:00
#Outlook - 19.1
This commit is contained in:
@@ -74,13 +74,8 @@ namespace DevExpress.DevAV.ViewModels {
|
||||
this.RaiseCanExecuteChanged(x => x.MailTo());
|
||||
}
|
||||
public static void ExecuteMailTo(IMessageBoxService messageBoxService, string email) {
|
||||
try {
|
||||
Process.Start("mailto://" + email);
|
||||
}
|
||||
catch {
|
||||
if(messageBoxService != null)
|
||||
messageBoxService.Show("Mail To: " + email);
|
||||
}
|
||||
if(Data.Utils.SafeProcess.Start("mailto://" + email) == null && messageBoxService != null)
|
||||
messageBoxService.Show("Mail To: " + email);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user