Beispiel #1
0
 private void buttonApply_Click(object sender, EventArgs e)
 {
     buttonApply.Enabled   = false;
     buttonPreview.Enabled = false;
     OutlookHelperTool.setMailText(mailitem, tempMessage);
     OutlookHelperTool.cutCryptedSubject(mailitem);
     mailitem.Save();
     this.Close();
 }
Beispiel #2
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     buttonApply.Enabled   = false;
     buttonPreview.Enabled = false;
     OutlookHelperTool.setMailText(tempMessage);
     if (cryption)
     {
         OutlookHelperTool.setCryptedSubject();
     }
     else
     {
         OutlookHelperTool.cutCryptedSubject();
     }
     this.Close();
 }