I am trying to replicate the functionality of Microsoft Outlooks' "To, Cc and Bcc" text fields.
These fields have the ability to:
- Type in new email addresses and check for validity (against existing contact list)
- Once click selection of an entry with right click options for properties of the contact
- Add in new addresses by selecting from the contacts form
etc.
The basics I have so far is implemented a class that inherits from System.Windows.Forms.RichT
extBox, a struct for the Recipients (Display Name, Address etc), a collection for the recipients and associated methods to add new recipients in etc. I can also underline entries pretty much although there are a few bugs in it, but It feels clunky to me.
Basically I'm wondering if I'm on a hiding to nothing. Is this more complicated than it needs to be? Is a RichTextBox the right control to use?
Has anyone ever done this before!?
Start Free Trial