Example #1
0
        private void emailToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int    emailIndex = contactsPane.SelectedCells[0].RowIndex;
            string email      = contactsPane.Rows[emailIndex].Cells[1].Value.ToString();

            office.Email(email, NotesOrganizer.GetAndFormatSelectedNotes());
        }
Example #2
0
 private void btnExport_Click(object sender, EventArgs e)
 {
     if (NotesOrganizer.GetAndFormatSelectedNotes() != null)
     {
         office.Export(NotesOrganizer.GetAndFormatSelectedNotes());
     }
     else
     {
         InformationBox.Show("Please select at least one note by clicking on the checkbox", "Invalid Text");
     }
 }