public ProtocolEventEditController(IProtocolEventEditView view) { this.view = view; this.view.SetController(this); this.ProtocolEvent = new ProtocolEvent(); this.auditItems = new List <AuditItem>(); }
public ProtocolEventEditController(IProtocolEventEditView view, ProtocolEvent protocolEvent) { this.view = view; this.view.SetController(this); this.view.EventType = protocolEvent.Type; this.view.EventDescription = protocolEvent.Description; this.view.IsActive = protocolEvent.IsActive; this.view.SetIsActiveRadioButtonGroup_Enable(true); this.ProtocolEvent = protocolEvent; this.auditItems = new List <AuditItem>(); }