Esempio n. 1
0
 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();
     }
 }
Esempio n. 2
0
        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();
            }
        }