/// <summary> /// Button forward event handler. /// </summary> /// <param name="sender">The sender object.</param> /// <param name="e">The event arguments.</param> public void toolStripButtonForward_Click(object sender, EventArgs e) { MailSenderForm frm = new MailSenderForm(); Facade facade = Facade.GetInstance(); MessageStore messageStore = facade.GetMessageStore(); MailMessage mailMessage = messageStore.SelectedMessage; frm.LoadMessage(mailMessage, MailSenderType.Forward); frm.Show(); }
/// <summary> /// Event for new mail messages. /// </summary> /// <param name="sender">The sender object.</param> /// <param name="e">The event arguments.</param> private void mailMessageToolStripMenuItem_Click(object sender, EventArgs e) { MailSenderForm frm = new MailSenderForm(); frm.Show(); }