The below code seems to provide the answer I need to another problem, but I keep getting the error listed. What am I missing?
public delegate void AddEventHandlerToSPDialogEvent(object sender, PDialogEventHandler e);
public class SPDialogEventHandler : EventArgs
{
public int dialogResult { get; set; }
public string ReturnValues { get; set; }
public SPDialogEventHandler(int result, string list)
{
ReturnValues = list;
dialogResult = result;
}
}