Ejemplo n.º 1
0
        CopyOperation()
        {
            emailNotifications = new EmailErrorNotification();
            targets            = new TargetCollection();

            emailNotifications.AddRecipient("*****@*****.**");
        }
Ejemplo n.º 2
0
        btnAddRecipient_Click(
            object sender,
            RoutedEventArgs e)
        {
            EmailErrorNotification een =
                configuration.CopyGroupInstance.CopyOperation.EmailErrorNotification;

            if (tbRecipientAddress.Text.Length == 0)
            {
                return;
            }

            een.AddRecipient(tbRecipientAddress.Text);
            lbRecipients.Items.Add(tbRecipientAddress.Text);
            tbRecipientAddress.Text = "";
        }