private void btnSubmit_Click(object sender, RoutedEventArgs e) { EmailComposeTask emailComposeTask = new EmailComposeTask(); emailComposeTask.Subject = "message subject"; emailComposeTask.Body = "Name:" + txtName.Text + "\n" + "Firm Name: " + txtFirmName.Text + "\n" + "Contact No.: " + txtContactNo.Text + "\n" + "Address: " + txtAddress.Text + "\n" + "City: " + txtCity.Text + "\n" + "PinCode: " + txtPincode.Text + "\n" + "State: " + txtState.Text + "\n" + "EmailId: " + txtEmailId.Text + "\n" + "Website: " + txtWebsite.Text + "\n"; emailComposeTask.To = "example@gmail.com"; emailComposeTask.Show(); WebBrowserTask webBrowserTask = new WebBrowserTask(); webBrowserTask.URL = "http://www.abc.in"; webBrowserTask.Show(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)