private DialogResult ShowPopup(ProtocolEvent item) { ProtocolEventEditView popup = new ProtocolEventEditView(); ProtocolEventEditController popupController = new ProtocolEventEditController(popup, item); DialogResult dialogResult = popup.ShowDialog(view.ParentControl); popup.Dispose(); return(dialogResult); }
public void SetController(ProtocolEventEditController controller) { this.controller = controller; }