示例#1
0
 internal FieldEventDescriptions(EventHandlerDescription clickAfterOriginal, CancelEventHandlerDescription clickBeforeOriginal, EventHandlerDescription change, EventHandlerDescription enterAfterOriginal, CancelEventHandlerDescription enterBeforeOriginal, EventHandlerDescription leaveAfterOriginal, CancelEventHandlerDescription leaveBeforeOriginal, EventHandlerDescription validateAfterOriginal, CancelEventHandlerDescription validateBeforeOriginal)
 {
     ClickAfterOriginal  = clickAfterOriginal ?? EventHandlerDescription.Empty;
     ClickBeforeOriginal = clickBeforeOriginal ?? CancelEventHandlerDescription.Empty;
     Change                 = change ?? EventHandlerDescription.Empty;
     EnterAfterOriginal     = enterAfterOriginal ?? EventHandlerDescription.Empty;
     EnterBeforeOriginal    = enterBeforeOriginal ?? CancelEventHandlerDescription.Empty;
     LeaveAfterOriginal     = leaveAfterOriginal ?? EventHandlerDescription.Empty;
     LeaveBeforeOriginal    = leaveBeforeOriginal ?? CancelEventHandlerDescription.Empty;
     ValidateAfterOriginal  = validateAfterOriginal ?? EventHandlerDescription.Empty;
     ValidateBeforeOriginal = validateBeforeOriginal ?? CancelEventHandlerDescription.Empty;
 }
示例#2
0
 public WindowsEventDescriptions(EventHandlerDescription activateAfterOriginal, CancelEventHandlerDescription activateBeforeOriginal, EventHandlerDescription <AfterModalDialogEventArgs> afterModalDialog, EventHandlerDescription <BeforeModalDialogEventArgs> beforeModalDialog, EventHandlerDescription closeAfterOriginal, CancelEventHandlerDescription closeBeforeOriginal, EventHandlerDescription openAfterOriginal, CancelEventHandlerDescription openBeforeOriginal, EventHandlerDescription printAfterOriginal, CancelEventHandlerDescription printBeforeOriginal)
 {
     ActivateAfterOriginal  = activateAfterOriginal ?? EventHandlerDescription.Empty;
     ActivateBeforeOriginal = activateBeforeOriginal ?? CancelEventHandlerDescription.Empty;
     AfterModalDialog       = afterModalDialog ?? EventHandlerDescription <AfterModalDialogEventArgs> .Empty;
     BeforeModalDialog      = beforeModalDialog ?? EventHandlerDescription <BeforeModalDialogEventArgs> .Empty;
     CloseAfterOriginal     = closeAfterOriginal ?? EventHandlerDescription.Empty;
     CloseBeforeOriginal    = closeBeforeOriginal ?? CancelEventHandlerDescription.Empty;
     OpenAfterOriginal      = openAfterOriginal ?? EventHandlerDescription.Empty;
     OpenBeforeOriginal     = openBeforeOriginal ?? CancelEventHandlerDescription.Empty;
     PrintAfterOriginal     = printAfterOriginal ?? EventHandlerDescription.Empty;
     PrintBeforeOriginal    = printBeforeOriginal ?? CancelEventHandlerDescription.Empty;
 }