void rMail_MouseDown(object sender, MouseButtonEventArgs e) { ShellLib.ShellExecute shellExecute = new ShellLib.ShellExecute(); shellExecute.Path = LangResources.LR.ContactsEmail; if (shellExecute.Path != string.Empty) { shellExecute.Execute(); } }
private void SendErrorEmail(string error) { ShellLib.ShellExecute shellExecute = new ShellLib.ShellExecute(); shellExecute.Path = LangResources.LR.ContactsEmail; shellExecute.Path += "?subject=" + LangResources.LR.UnexpectedError + "&body=" + error.Replace("&", "%26"); //Clipboard.SetText(error); if (shellExecute.Path != string.Empty) { shellExecute.Execute(); } }