partial void add (NSButton sender)
{
// setup the edit sheet controller if one hasn't been setup already
if (myEditController == null)
myEditController = new EditController();
// ask our edit sheet for information on the record we want to add
NSMutableDictionary newValues = myEditController.edit(null, this);
if (!myEditController.Cancelled)
{
// add the new entry
myContentArray.AddObject(newValues);
}
}