示例#1
0
 /// <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();
 }
示例#2
0
        /// <summary>
        /// Event handler for new message action.
        /// </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();
        }
示例#3
0
 /// <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();
 }