Пример #1
0
        public override void PerformAction(AppWorkspace appWorkspace)
        {
            string email         = SystemLayer.Branding.FeedbackEmail;
            string subjectFormat = PdnResources.GetString("SendFeedback.Email.Subject.Format");
            string subject       = string.Format(subjectFormat, PdnInfo.GetFullAppName());
            string body          = PdnResources.GetString("SendFeedback.Email.Body");
            string launchMe      = GetEmailLaunchString(email, subject, body);

            launchMe = launchMe.Substring(0, Math.Min(1024, launchMe.Length));

            try
            {
                Process.Start(launchMe);
            }

            catch (Exception)
            {
                Utility.ErrorBox(appWorkspace, PdnResources.GetString("LaunchLink.Error"));
            }
        }