本文整理汇总了C#中EmailComposeTask.Show方法的典型用法代码示例。如果您正苦于以下问题:C# EmailComposeTask.Show方法的具体用法?C# EmailComposeTask.Show怎么用?C# EmailComposeTask.Show使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EmailComposeTask
的用法示例。
在下文中一共展示了EmailComposeTask.Show方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: submitReturnBtn_Click
private void submitReturnBtn_Click(object sender, RoutedEventArgs e)
{
EmailComposeTask emailTask = new EmailComposeTask();
int index = 0;
string Output = "Transaction ID: " + App.transactionID;
App.transactionID++;
Output += "\nTransaction type: Return " + "\n\n";
Output += "Item returned: ";
var returnedProduct = App.ViewModel.InventoryDB.Inventory.FirstOrDefault(s => s.title == App.ViewModel.SelectedProduct.title);
foreach (Product product in App.Cart)
{
if (product.title == returnedProduct.title)
break;
index++;
}
quantity = Convert.ToInt32(quantityTxtBox.Text);
if (returnedProduct != null)
{
Output += returnedProduct.title + "\n\tPrice refunded: $" + String.Format("{0:N2}", returnedProduct.price.ToString()) + "\n\tQuantity: " + quantity;
returnedProduct.quantity += quantity;
App.ViewModel.SaveChangesToDB();
}
Output += "\n\nThank you for your business with WSUASTIS!";
emailTask.Subject = "Your WSUASTIS return transaction has been processed.";
emailTask.Body = Output;
emailTask.Show();
}
示例2: email_Click
private void email_Click(object sender, EventArgs e)
{
EmailComposeTask task = new EmailComposeTask();
task.Subject = "Have you checked this WP App: XEP Reader??";
task.Body = "Hey check out this great WP App named XEP Reader. You can find it on http://www.windowsphone.com/s?appid=6452cf16-c10d-4f2f-9412-0ecc320b6a61";
task.Show();
}
示例3: btn_Feedback_Click
private void btn_Feedback_Click(object sender, EventArgs e)
{
EmailComposeTask emailComposeTask = new EmailComposeTask();//标题
emailComposeTask.Subject = "拼图意见反馈(JigsawPuzzle Feedback) ";
emailComposeTask.To = "[email protected]";//收件人
emailComposeTask.Show();
}
示例4: Email_Click
private void Email_Click(object sender, RoutedEventArgs e)
{
EmailComposeTask emailTask = new EmailComposeTask();
emailTask.Subject = "XBMC Assist for Windows Phone";
emailTask.To = "[email protected]";
emailTask.Show();
}
示例5: advice
private void advice() {
EmailComposeTask task = new EmailComposeTask();
task.To = MY_EMAIL_ADDRESS;
task.Subject = EMAIL_SUBJECT;
task.Show();
}
示例6: Email_Click
private void Email_Click(object sender, RoutedEventArgs e)
{
EmailComposeTask email = new EmailComposeTask();
email.Subject = "WP: Chicago Code Camp";
email.To = "[email protected]";
email.Show();
}
示例7: ApplicationBarLogsButtonClicked
private void ApplicationBarLogsButtonClicked(object sender, EventArgs e)
{
// TODO : Move this to a proper command !
ILogService logService = IoC.Container.Get<ILogService>();
// TODO : Move this to a notification service
MessageBox.Show("Logging is not enabled. There are no log files available", "Logs disabled", MessageBoxButton.OK);
if (logService.IsEnabled)
{
// TODO : Move this to a notification service
string logFile = logService.GetLogFile();
logService.ClearLog();
EmailComposeTask emailComposeTask = new EmailComposeTask();
emailComposeTask.To = "[email protected]";
if (logFile.Length > 50000)
{
const string truncateDisclaimer = "This logfile has been truncated : only the last 64kbytes are shown.\r\n";
emailComposeTask.Body = truncateDisclaimer + logFile.Substring(logFile.Length - 32000 + truncateDisclaimer.Length);
}
else
{
emailComposeTask.Body = logFile;
}
emailComposeTask.Subject = "Log file";
emailComposeTask.Show();
//var result = MessageBox.Show(logFile, "Click Cancel to clear logs", MessageBoxButton.OKCancel);
//if (result == MessageBoxResult.Cancel)
}
}
示例8: Execute
public void Execute(object parameter)
{
var email = new EmailComposeTask();
email.To = "[email protected]";
email.Subject = "My App: Feedback";
email.Show();
}
示例9: Email_Click
private void Email_Click(object sender, EventArgs e)
{
EmailComposeTask email = new EmailComposeTask();
email.Subject = "豆米 v1.2.0.0 Feedback";
email.To = "[email protected]";
email.Show();
}
示例10: HyperlinkButton1Click
private void HyperlinkButton1Click(object sender, RoutedEventArgs e)
{
EmailComposeTask supportemail = new EmailComposeTask();
supportemail.To = "[email protected]";
supportemail.Subject = "Support question about Static Position Size Calculator";
supportemail.Show();
}
示例11: Contact_Click
private void Contact_Click(object sender, RoutedEventArgs e)
{
EmailComposeTask task = new EmailComposeTask();
task.Subject = string.Format("{0} {1}", AppResource.ResourceManager.GetString("ApplicationName"), AppResource.ResourceManager.GetString("FeedBack"));
task.To = "[email protected]";
task.Show();
}
示例12: SendEmail
private void SendEmail()
{
EmailComposeTask email = new EmailComposeTask();
email.Subject = "Shopping Discount Calculator - Version " + VersionNumber.Text;
email.To = "[email protected]";
email.Show();
}
示例13: btnContract_Click
private void btnContract_Click(object sender, RoutedEventArgs e)
{
EmailComposeTask ect = new EmailComposeTask();
ect.To = "[email protected]";
ect.Subject = " 7.11 FM 反馈";
ect.Show();
}
示例14: FeedbackButton_Click
private void FeedbackButton_Click(object sender, EventArgs e)
{
var task = new EmailComposeTask();
task.To = "[email protected]";
task.Subject = "Torch Lite Feedback";
task.Show();
}
示例15: SendReport
public static void SendReport(string body)
{
body += StringResources.Sharing_Thanks;
var sendType = addressType.Email;
string sendTo = String.Empty;
bool includeSig = true;
try {
string nickName = App.Settings.nickname;
body += String.Format(",\n{0}", nickName);
sendType = App.Settings.SendMethodEnum;
sendTo = App.Settings.csoEmail;
includeSig = App.Settings.shareFSApp;
} catch (Exception) {}
if (sendType == addressType.Email) {
if (includeSig) {
body += StringResources.Sharing_Signature;
}
var emailcomposer = new EmailComposeTask {Subject = StringResources.Sharing_Subject, Body = body, To = sendTo};
emailcomposer.Show();
return;
}
var composeSms = new SmsComposeTask {Body = body, To = sendTo};
composeSms.Show();
}