コード例 #1
0
 public ProtocolEventEditController(IProtocolEventEditView view)
 {
     this.view = view;
     this.view.SetController(this);
     this.ProtocolEvent = new ProtocolEvent();
     this.auditItems    = new List <AuditItem>();
 }
コード例 #2
0
 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>();
 }